{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://aiep.dev/schemas/aiep.issuer.schema.v1.json",
    "title": "AIEP Issuer Public Key Record v1",
    "description": "Public key record for a certificate issuer in the AIEP registry (/.well-known/aiep/registry/issuers/*.json).",
    "type": "object",
    "required": [
        "issuer_id",
        "key_type",
        "public_key"
    ],
    "properties": {
        "issuer_id": {
            "type": "string",
            "minLength": 1
        },
        "key_type": {
            "type": "string",
            "enum": [
                "ed25519",
                "rsa",
                "ecdsa",
                "DEMO_ONLY"
            ]
        },
        "public_key": {
            "type": "string",
            "minLength": 1
        },
        "status": {
            "type": "string"
        },
        "revoked_at_utc": {
            "type": "string"
        }
    },
    "additionalProperties": true
}