{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-federation-peer-create-schema.json",
  "title": "FederationPeerCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-federation-api-openapi.yml#/components/schemas/FederationPeerCreate",
  "properties": {
    "base_url": {
      "type": "string",
      "title": "Base Url"
    },
    "node_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Id"
    },
    "did": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Did"
    },
    "trust_level": {
      "type": "string",
      "enum": [
        "untrusted",
        "peer",
        "trusted"
      ],
      "title": "Trust Level",
      "default": "peer"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "base_url"
  ]
}