{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://zeons.org/Forge/SDK/153/153.1/schemas/destination.schema.json",
  "title": "ZEON Destination",
  "type": "object",
  "required": [
    "id",
    "label",
    "type",
    "capabilities"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "type": {
      "enum": [
        "agent",
        "human",
        "service",
        "workflow",
        "repository",
        "tool",
        "router"
      ]
    },
    "description": {
      "type": "string"
    },
    "capabilities": {
      "type": "array",
      "items": {
        "$ref": "capability.schema.json"
      }
    },
    "accepts_confidentiality": {
      "type": "array",
      "items": {
        "enum": [
          "public",
          "internal",
          "confidential"
        ]
      }
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "available": {
      "type": "boolean"
    },
    "human_review": {
      "type": "boolean"
    }
  }
}