{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-resource-type-information-dto-ienumerable-response-schema.json",
  "title": "ResourceTypeInformationDtoIEnumerableResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-projectresourcetype-api-openapi.yml#/components/schemas/ResourceTypeInformationDtoIEnumerableResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/ResourceTypeInformationDto"
      }
    },
    "isSuccess": {
      "type": "boolean",
      "readOnly": true
    },
    "statusCode": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ResourceContentPageColumnsDto": {
      "type": "object",
      "properties": {
        "always": {
          "uniqueItems": true,
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Set of columns that should always be displayed in the content view."
        }
      },
      "additionalProperties": false,
      "description": "Represents a set of columns to be displayed in the content view."
    },
    "ResourceContentPageDto": {
      "type": "object",
      "properties": {
        "readOnly": {
          "type": "boolean",
          "description": "Indicates whether the resource is read-only."
        },
        "metadataView": {
          "$ref": "#/$defs/ResourceContentPageMetadataViewDto"
        },
        "entriesView": {
          "$ref": "#/$defs/ResourceContentPageEntriesViewDto"
        }
      },
      "additionalProperties": false,
      "description": "Represents the content page details for a resource."
    },
    "ResourceContentPageEntriesViewDto": {
      "type": "object",
      "properties": {
        "columns": {
          "$ref": "#/$defs/ResourceContentPageColumnsDto"
        }
      },
      "additionalProperties": false,
      "description": "Represents information about the resource type for the columns within the entries view Vue component."
    },
    "ResourceContentPageMetadataViewDto": {
      "type": "object",
      "properties": {
        "editableDataUrl": {
          "type": "boolean",
          "description": "Indicates if a data URL can be provided and is editable."
        },
        "editableKey": {
          "type": "boolean",
          "description": "Indicates if a key can be provided and is editable."
        }
      },
      "additionalProperties": false,
      "description": "Represents the metadata view for a resource's content page."
    },
    "ResourceCreationPageDto": {
      "type": "object",
      "properties": {
        "components": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": "List of Lists containing all the resource type specific components for the steps in the resource creation page."
        }
      },
      "additionalProperties": false,
      "description": "Represents the structure of resource type-specific components for steps in the resource creation page."
    },
    "ResourceTypeInformationDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier of the resource type.",
          "format": "uuid"
        },
        "generalType": {
          "type": [
            "string",
            "null"
          ],
          "description": "The general type of the resource."
        },
        "specificType": {
          "type": [
            "string",
            "null"
          ],
          "description": "The specific type of the resource."
        },
        "status": {
          "$ref": "#/$defs/ResourceTypeStatus"
        },
        "canCreate": {
          "type": "boolean",
          "description": "Indicates if the resource type supports creation."
        },
        "canRead": {
          "type": "boolean",
          "description": "Indicates if the resource type supports reading."
        },
        "canSetResourceReadonly": {
          "type": "boolean",
          "description": "Indicates if the resource type supports read-only."
        },
        "canUpdate": {
          "type": "boolean",
          "description": "Indicates if the resource type supports updating."
        },
        "canUpdateResource": {
          "type": "boolean",
          "description": "Indicates if the resource type supports updating (not an Object)."
        },
        "canDelete": {
          "type": "boolean",
          "description": "Indicates if the resource type supports deletion."
        },
        "canDeleteResource": {
          "type": "boolean",
          "description": "Indicates if the resource type supports deletion (not an Object)."
        },
        "canList": {
          "type": "boolean",
          "description": "Indicates if the resource type supports listing."
        },
        "canCreateLinks": {
          "type": "boolean",
          "description": "Indicates if the resource type supports linking."
        },
        "canCopyLocalMetadata": {
          "type": "boolean",
          "description": "Indicates whether local backup of metadata is supported."
        },
        "isArchived": {
          "type": "boolean",
          "description": "Indicates if the resource type is archived."
        },
        "isQuotaAvailable": {
          "type": "boolean",
          "description": "Indicates if the resource type supports quota."
        },
        "isQuotaAdjustable": {
          "type": "boolean",
          "description": "Indicates if the resource type quota can be changed."
        },
        "supportsVersioning": {
          "type": "boolean",
          "description": "Indicates if the resource type supports versioning."
        },
        "isEnabled": {
          "type": "boolean",
          "description": "Indicates if the resource type is enabled.",
          "readOnly": true
        },
        "resourceCreation": {
          "$ref": "#/$defs/ResourceCreationPageDto"
        },
        "resourceContent": {
          "$ref": "#/$defs/ResourceContentPageDto"
        }
      },
      "additionalProperties": false,
      "description": "Represents information about a resource type."
    },
    "ResourceTypeStatus": {
      "enum": [
        "hidden",
        "active"
      ],
      "type": "string",
      "description": "Specifies the status of a resource type."
    }
  }
}