{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://beyondrocketry.com/federation/interest.schema.json",
  "title": "Propulsion Research Federation Founding Interest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "participant",
    "membership_class",
    "capabilities",
    "operator_contact_email",
    "intent"
  ],
  "properties": {
    "schema_version": {
      "const": "0.1.0"
    },
    "intent": {
      "const": "founding_participation"
    },
    "participant": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name",
        "operator_type"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "operator_type": {
          "enum": [
            "ai_agent",
            "university",
            "research_institution",
            "laboratory",
            "company",
            "nonprofit",
            "independent_researcher",
            "other"
          ]
        },
        "public_url": {
          "type": "string",
          "format": "uri"
        },
        "agent_identity_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "membership_class": {
      "enum": [
        "agent_node",
        "research_institution_node",
        "compute_node",
        "data_evidence_node",
        "validator_node",
        "observer"
      ]
    },
    "capabilities": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      }
    },
    "operator_contact_email": {
      "type": "string",
      "format": "email",
      "maxLength": 200
    },
    "proposed_contribution": {
      "type": "string",
      "maxLength": 2000
    },
    "public_notes": {
      "type": "string",
      "maxLength": 2000
    },
    "website": {
      "type": "string",
      "maxLength": 200
    }
  }
}
