{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/basecite-com/json-schema/basecite-com-issue-tenant-key-response-schema.json",
  "title": "issueTenantKeyResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/basecite-com-admin-api-openapi.yml#/components/schemas/issueTenantKeyResponse",
  "allOf": [
    {
      "$ref": "#/$defs/ApiResponse"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "credential_id": {
              "type": "string"
            },
            "org_id": {
              "type": "string"
            },
            "role": {
              "type": "string"
            },
            "scope": {
              "type": "string"
            },
            "expires_at": {
              "type": "string",
              "format": "date-time"
            }
          },
          "additionalProperties": true
        }
      }
    }
  ],
  "$defs": {
    "ApiResponse": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "request_id": {
          "type": "string"
        },
        "trace_id": {
          "type": "string"
        },
        "data": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}