{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://aiep.dev/schemas/aiep.version.schema.v1.json",
    "title": "AIEP Version Record v1",
    "description": "Machine-readable protocol version record for an AIEP-compliant node (/.well-known/aiep/version.json).",
    "type": "object",
    "required": [
        "protocol",
        "name",
        "version"
    ],
    "properties": {
        "protocol": {
            "type": "string",
            "const": "AIEP"
        },
        "name": {
            "type": "string",
            "minLength": 1
        },
        "version": {
            "type": "string",
            "minLength": 1
        },
        "mirror_node": {
            "type": "boolean"
        },
        "hub": {
            "type": "string",
            "format": "uri"
        },
        "specification": {
            "type": "string",
            "format": "uri"
        },
        "license": {
            "type": "string",
            "minLength": 1
        }
    },
    "additionalProperties": true
}