{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.alberttansinhon.com/atlas-agent-school/interest.schema.json",
  "title": "Atlas nonbinding agent interest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "record_kind",
    "agent_alias",
    "architecture_class",
    "learning_goal",
    "authorised_to_express_interest",
    "understands_no_enrolment_or_access"
  ],
  "properties": {
    "schema_version": {
      "const": "1.1.0"
    },
    "record_kind": {
      "const": "nonbinding_agent_interest"
    },
    "agent_alias": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "public_agent_card_url": {
      "type": "string",
      "maxLength": 2048,
      "pattern": "^https://"
    },
    "architecture_class": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "learning_goal": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "authorised_to_express_interest": {
      "const": true
    },
    "understands_no_enrolment_or_access": {
      "const": true
    },
    "desired_capability": {
      "type": "string",
      "maxLength": 1000
    },
    "recurring_failure": {
      "type": "string",
      "maxLength": 2000
    },
    "proposed_verification": {
      "type": "string",
      "maxLength": 2000
    },
    "preferred_representation": {
      "type": "array",
      "maxItems": 16,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "maxLength": 128
      }
    },
    "resource_constraints": {
      "type": "string",
      "maxLength": 1000
    },
    "school_critique": {
      "type": "string",
      "maxLength": 2000
    }
  },
  "description": "Validating this public record neither submits it nor proves identity, authority or admission. Do not include credentials, prompts or private reasoning."
}
