{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "actor": {
      "type": "string"
    },
    "organization": {
      "type": "string"
    },
    "agentMode": {
      "type": "string",
      "enum": ["unattended", "interactive"],
      "description": "unattended when the agent's launcher set DOMINO_AGENT_MODE=unattended."
    },
    "projects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "project": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organization": {
            "type": "string"
          },
          "environments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": ["project", "environments"],
        "additionalProperties": {}
      }
    }
  },
  "required": ["actor", "organization", "projects"],
  "additionalProperties": {},
  "title": "Access",
  "description": "Identity and accessible projects."
}
