{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/physea-ai/json-schema/physea-ai-define-request-schema.json",
  "title": "DefineRequest",
  "description": "Canonical DEFINE input.\n\n``object`` remains accepted as a compatibility spelling for the former\nmotherboard-local endpoint; new callers should send ``subject``.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/physea-ai-openapi.json#/components/schemas/DefineRequest",
  "properties": {
    "subject": {
      "title": "Subject"
    },
    "object": {
      "title": "Object"
    },
    "namespace": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Namespace"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    },
    "reference_ref": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reference Ref"
    },
    "attributes": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attributes"
    },
    "leaf": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Leaf"
    },
    "associations": {
      "title": "Associations"
    },
    "aliases": {
      "title": "Aliases"
    },
    "roles": {
      "title": "Roles"
    }
  },
  "type": "object"
}