{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-content-fragment-model-list-result-schema.json",
  "title": "ContentFragmentModelListResult",
  "description": "Paginated collection of content fragment models.\n",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-aem-content-fragments-delivery-openapi.yml#/components/schemas/ContentFragmentModelListResult",
  "type": "object",
  "properties": {
    "items": {
      "description": "List of Content Fragment Models",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContentFragmentModel"
      }
    },
    "cursor": {
      "$ref": "#/$defs/Cursor"
    }
  },
  "required": [
    "items"
  ],
  "$defs": {
    "Base64URLId": {
      "type": "string",
      "minLength": 1,
      "description": "The `base64url` encoded representation of the resource path.\n\nThis should be encoded using base64url (URL-safe base64), without padding (no `=` at the end), and using `-`\nand `_` instead of `+` and `/`.\n",
      "pattern": "^[A-Za-z0-9_-]+$"
    },
    "ContentFragmentModel": {
      "type": "object",
      "properties": {
        "id": {
          "$ref": "#/$defs/Base64URLId"
        },
        "path": {
          "$ref": "#/$defs/ContentFragmentModelPath",
          "description": "The path where this model is currently stored."
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "The name of the Content Fragment Model Resource."
        },
        "title": {
          "type": "string",
          "minLength": 1,
          "description": "The title of the Content Fragment Model."
        },
        "description": {
          "type": "string",
          "description": "A human-readable description for this model."
        },
        "tags": {
          "type": "array",
          "description": "List of tags associated with this model.",
          "items": {
            "$ref": "#/$defs/Tag"
          }
        }
      },
      "required": [
        "id",
        "path",
        "name",
        "title",
        "tags"
      ]
    },
    "ContentFragmentModelPath": {
      "type": "string",
      "minLength": 1,
      "description": "A valid path to a Content Fragment Model resource.",
      "pattern": "^\\/conf(\\/.*)?$"
    },
    "Cursor": {
      "description": "A cursor is an opaque string that can be used in API calls which support paginating the response. A non-existent cursor\nsignifies that the returned list does not have more elements.\n",
      "type": "string",
      "minLength": 1
    },
    "Tag": {
      "description": "A representation of a tag.",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "description": "Short tag ID."
        },
        "title": {
          "type": "string",
          "description": "Title that should be displayed instead of the tag name or tag id."
        },
        "i18n": {
          "description": "Localised title and title path variants.",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "locale": {
                "type": "string",
                "minLength": 2,
                "description": "A RFC 5646 locale tag."
              },
              "title": {
                "type": "string",
                "description": "The localised title"
              },
              "titlePath": {
                "type": "string",
                "description": "The localised title variant."
              }
            }
          }
        },
        "titlePath": {
          "type": "string",
          "description": "Title variant of the tag ID."
        },
        "name": {
          "type": "string",
          "description": "Represents the node name."
        },
        "path": {
          "type": "string",
          "description": "Full absolute path of a tag."
        },
        "description": {
          "type": "string",
          "description": "Optional description for a tag."
        }
      },
      "required": [
        "id",
        "i18n"
      ]
    }
  }
}