{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:junexis:schema:sdk-signature:0.1",
  "title": "Podpis kryptograficzny zestawu wydania Junexis SDK 0.1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schemaVersion", "algorithm", "keyId", "releaseVersion",
    "releaseManifest", "releaseManifestSha256", "provenance",
    "provenanceSha256", "signature"
  ],
  "properties": {
    "schemaVersion": { "const": "junexis.sdk.signature/0.1" },
    "algorithm": { "const": "ecdsa-p256-sha256-der" },
    "keyId": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{2,63}$" },
    "releaseVersion": { "type": "string", "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+(?:[-+][0-9A-Za-z.-]+)?$" },
    "releaseManifest": { "const": "junexis.sdk.json" },
    "releaseManifestSha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
    "provenance": { "const": "junexis.sdk.provenance.json" },
    "provenanceSha256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },
    "signature": { "type": "string", "minLength": 1, "contentEncoding": "base64" }
  }
}
