{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-structure/ampersand-api-org-structure.json",
  "name": "Org",
  "description": "Org schema from Ampersand API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The organization ID.",
      "example": "9f7c3e2a-61b8-4f5c-8d1a-eb24f3b05d79"
    },
    "label": {
      "type": "string",
      "description": "The organization label.",
      "example": "Acme Inc"
    },
    "defaultTeamId": {
      "type": "string",
      "description": "The ID of the Everyone team for the org."
    },
    "createTime": {
      "type": "datetime",
      "description": "The time the organization was created."
    },
    "updateTime": {
      "type": "datetime",
      "description": "The time the organization was updated."
    }
  },
  "required": [
    "id",
    "label",
    "createTime",
    "defaultTeamId"
  ]
}