{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forecall-dev/json-schema/forecall-dev-me-schema.json",
  "title": "Me",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forecall-dev-me-api-openapi.yml#/components/schemas/Me",
  "type": "object",
  "properties": {
    "org": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "plan": {
          "type": "string",
          "enum": [
            "free",
            "pro",
            "team"
          ]
        }
      },
      "required": [
        "id",
        "plan"
      ]
    },
    "key": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "kind": {
          "type": "string",
          "enum": [
            "ci",
            "vendor"
          ]
        },
        "scopes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "id",
        "kind",
        "scopes"
      ]
    }
  },
  "required": [
    "org",
    "key"
  ]
}