{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/signicat/main/json-schema/signicat-group-custom-attribute-definition-resource-schema.json",
  "title": "GroupCustomAttributeDefinitionResource",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/signicat-siam-openapi.yml#/components/schemas/GroupCustomAttributeDefinitionResource",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true
    },
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalId": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 36,
      "minLength": 0
    },
    "name": {
      "type": "string",
      "maxLength": 256,
      "minLength": 0
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": "string",
      "maxLength": 256,
      "minLength": 0
    },
    "type": {
      "type": "string"
    },
    "required": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "editableByAdmin": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "defaultValue": {
      "type": [
        "string",
        "null"
      ]
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "required": [
    "displayName",
    "externalId",
    "name"
  ],
  "$defs": {
    "Meta": {
      "type": "null",
      "properties": {
        "resourceType": {
          "type": [
            "string",
            "null"
          ]
        },
        "created": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastModified": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "location": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "createdMillis": {
          "$ref": "#/$defs/Meta",
          "writeOnly": true
        },
        "lastModifiedMillis": {
          "$ref": "#/$defs/Meta",
          "writeOnly": true
        }
      }
    }
  }
}