{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vertesiahq/json-schema/vertesiahq-account-api-key-with-value-schema.json",
  "title": "AccountApiKeyWithValue",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vertesiahq-account-api-openapi.yml#/components/schemas/AccountApiKeyWithValue",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "account": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "maskedValue": {
      "type": "string"
    },
    "created_by": {
      "type": "string"
    },
    "updated_by": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "scope": {
      "type": "string",
      "const": "account"
    },
    "profile": {
      "type": "string",
      "const": "account_admin_v1"
    },
    "last_used_at": {
      "type": "string",
      "format": "date-time"
    },
    "value": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "account",
    "enabled",
    "created_by",
    "updated_by",
    "created_at",
    "updated_at",
    "scope",
    "profile",
    "value"
  ],
  "additionalProperties": false
}