{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "get_master_data_schema tool input",
  "description": "Input for the free discovery tool that describes the published master-data schema: entity domains, identifiers, attributes, and relationships. Every property is optional: an empty object returns the full schema for all v1 entity domains.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "entity_type": {
      "$ref": "#/$defs/entityType",
      "description": "Describe only this entity domain. Omitted means all v1 entity domains."
    },
    "include_identifiers": {
      "type": "boolean",
      "default": true,
      "description": "When false, the identifiers member is omitted from each described entity type. primary_identifier is always present."
    },
    "include_attributes": {
      "type": "boolean",
      "default": true,
      "description": "When false, the attributes member is omitted from each described entity type."
    },
    "include_relationships": {
      "type": "boolean",
      "default": true,
      "description": "When false, the relationships member is omitted from each described entity type."
    }
  },
  "$defs": {
    "entityType": {
      "description": "One of the v1 entity domains. customer, asset, and person are closed Operator decisions, not gaps; reference data is served by get_reference_data.",
      "enum": [
        "supplier",
        "location",
        "organization"
      ]
    }
  }
}
