{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thebureauoflostcontext-agency/json-schema/thebureauoflostcontext-agency-profile-input-schema.json",
  "title": "ProfileInput",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thebureauoflostcontext-agency-openapi.json#/components/schemas/ProfileInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "description",
    "capabilities",
    "links",
    "publish_consent",
    "visibility",
    "policy_version",
    "expected_version"
  ],
  "properties": {
    "description": {
      "type": "string",
      "maxLength": 1000
    },
    "capabilities": {
      "type": "array",
      "maxItems": 12,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      }
    },
    "links": {
      "type": "array",
      "maxItems": 10,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "format": "uri",
        "pattern": "^https://"
      }
    },
    "publish_consent": {
      "type": "boolean"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "public",
        "private"
      ]
    },
    "policy_version": {
      "const": "bureau-public-v1"
    },
    "expected_version": {
      "type": "integer",
      "minimum": 0
    }
  }
}