{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CAMP Organization Metadata",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the organization"
    },
    "name": {
      "type": "string",
      "description": "Optional display name of the organization"
    },
    "env": {
      "type": "string",
      "enum": [
        "prod",
        "dev"
      ],
      "description": "Optional environment. If set, must be either 'prod' or 'dev'."
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the organization"
    },
    "labels": {
      "type": "object",
      "description": "Labels assigned to the organization, grouped by label category",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    },
    "annotations": {
      "type": "object",
      "description": "Arbitrary metadata key-value pairs for the organization",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "additionalProperties": false
}
