{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beyond-identity/json-schema/beyond-identity-scimresource-type-schema.json",
  "title": "ResourceType",
  "description": "A resource type specifies the metadata about a resource type, as defined in [RFC 7643 Section 6](https://www.rfc-editor.org/rfc/rfc7643#section-6).\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beyond-identity-scim-api-openapi.yml#/components/schemas/SCIMResourceType",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "array",
      "description": "The list of schemas used to define the resource type. This only contains the core ResourceType schema (\"urn:ietf:params:scim:schemas:core:2.0:ResourceType\").\n",
      "items": {
        "type": "string"
      }
    },
    "id": {
      "type": "string",
      "description": "ID of the resource type. This corresponds to the name of the type.\n",
      "minLength": 1,
      "readOnly": true
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Name of the resource type.",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "description": "Description of the resource type.",
      "readOnly": true
    },
    "endpoint": {
      "type": "string",
      "description": "The relative base URL of the resource type.",
      "readOnly": true
    },
    "schema": {
      "type": "string",
      "description": "The schema defining the resource type.",
      "readOnly": true
    },
    "schemaExtensions": {
      "type": "array",
      "description": "Schema extensions for the resource type.",
      "items": {
        "type": "object",
        "properties": {
          "required": {
            "type": "boolean",
            "description": "Indicator specifying whether the extension is required for the resource type. If true, the extension is required.\n",
            "readOnly": true
          },
          "schema": {
            "type": "string",
            "description": "URN of the schema extension.",
            "readOnly": true
          }
        },
        "required": [
          "required",
          "schema"
        ]
      },
      "readOnly": true
    }
  },
  "required": [
    "schemas",
    "id",
    "name",
    "description",
    "endpoint",
    "schema",
    "schemaExtensions"
  ]
}