{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://tenantpilot.local/contracts/inventory-selection.schema.json",
  "title": "Inventory Selection Payload",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "policy_types": {
      "type": "array",
      "items": { "type": "string" },
      "default": []
    },
    "categories": {
      "type": "array",
      "items": { "type": "string" },
      "default": []
    },
    "include_foundations": {
      "type": "boolean",
      "default": true,
      "description": "When true, the sync run includes all configured foundation types in addition to selected policy types."
    },
    "include_dependencies": {
      "type": "boolean",
      "default": true
    }
  },
  "required": ["policy_types", "categories", "include_foundations", "include_dependencies"]
}
