{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/continuous-delivery-foundation/json-schema/continuous-delivery-foundation-account-details-schema.json",
  "title": "AccountDetails",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/continuous-delivery-foundation-credentials-controller-api-openapi.yml#/components/schemas/AccountDetails",
  "properties": {
    "accountId": {
      "type": "string"
    },
    "accountType": {
      "type": "string"
    },
    "challengeDestructiveActions": {
      "type": "boolean"
    },
    "cloudProvider": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "permissions": {
      "additionalProperties": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": "object"
    },
    "primaryAccount": {
      "type": "boolean"
    },
    "requiredGroupMembership": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "type": {
      "type": "string"
    }
  },
  "type": "object"
}