Adobe Captivate · Schema

CatalogListResponse

Paginated list of catalogs

AuthoringEducationeLearningLMSSCORMTrainingxAPI

Properties

Name Type Description
data array
links object Pagination links following JSON:API conventions
View JSON Schema on GitHub

JSON Schema

prime-api-catalog-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adobe-captivate/refs/heads/main/json-schema/prime-api-catalog-list-response-schema.json",
  "title": "CatalogListResponse",
  "description": "Paginated list of catalogs",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "A catalog that organizes and controls access to learning objects",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique catalog identifier"
          },
          "type": {
            "type": "string",
            "const": "catalog"
          },
          "attributes": {
            "type": "object",
            "properties": {
              "dateCreated": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the catalog was created"
              },
              "dateUpdated": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp of the last update"
              },
              "description": {
                "type": "string",
                "description": "Catalog description"
              },
              "isDefault": {
                "type": "boolean",
                "description": "Whether this is the default catalog"
              },
              "isInternallySearchable": {
                "type": "boolean",
                "description": "Whether learning objects in this catalog appear in search"
              },
              "name": {
                "type": "string",
                "description": "Catalog name"
              },
              "state": {
                "type": "string",
                "description": "Catalog state",
                "enum": [
                  "Enabled",
                  "Disabled"
                ]
              }
            }
          },
          "relationships": {
            "type": "object",
            "properties": {
              "learningObjects": {
                "type": "object",
                "description": "A JSON:API relationship object",
                "properties": {
                  "data": {
                    "oneOf": [
                      {
                        "type": "object",
                        "description": "JSON:API resource identifier",
                        "required": [
                          "id",
                          "type"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Resource identifier"
                          },
                          "type": {
                            "type": "string",
                            "description": "Resource type name"
                          }
                        }
                      },
                      {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "description": "JSON:API resource identifier",
                          "required": [
                            "id",
                            "type"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "Resource identifier"
                            },
                            "type": {
                              "type": "string",
                              "description": "Resource type name"
                            }
                          }
                        }
                      }
                    ]
                  },
                  "links": {
                    "type": "object",
                    "properties": {
                      "related": {
                        "type": "string",
                        "format": "uri",
                        "description": "URL to fetch the related resource"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "links": {
      "type": "object",
      "description": "Pagination links following JSON:API conventions",
      "properties": {
        "self": {
          "type": "string",
          "format": "uri",
          "description": "URL for the current page"
        },
        "next": {
          "type": "string",
          "format": "uri",
          "description": "URL for the next page"
        },
        "prev": {
          "type": "string",
          "format": "uri",
          "description": "URL for the previous page"
        }
      }
    }
  }
}