{
  "openapi": "3.1.0",
  "info": {
    "title": "TCA API",
    "version": "1.0.0"
  },
  "paths": {
    "/_api/headless_navigation/{uid}": {
      "parameters": [
        {
          "name": "uid",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "get": {
        "summary": "Get single HeadlessNavigation",
        "operationId": "showHeadless_navigation",
        "tags": [
          "HeadlessNavigation"
        ],
        "x-typo3-access-role": "PUBLIC",
        "parameters": [
          {
            "name": "fields",
            "in": "query",
            "description": "Sparse fieldset: only return the specified columns and virtual properties (plus @type, @id, uid)",
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "Number of page levels below the page. Defaults to the site setting tca_api_headless.navigation.depth; values above tca_api_headless.navigation.maxDepth are capped.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HeadlessNavigationRead"
                }
              }
            }
          },
          "400": {
            "description": "The depth is not a positive integer",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/_api/headless_pages": {
      "get": {
        "summary": "Look up a page by its path",
        "operationId": "listHeadless_pages",
        "tags": [
          "HeadlessPages"
        ],
        "x-typo3-access-role": "PUBLIC",
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "required": true,
            "description": "Page path below the base of the request language, e.g. \"/about\".",
            "schema": {
              "type": "string",
              "minLength": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HeadlessPagesCollection"
                }
              }
            }
          },
          "400": {
            "description": "The path is missing",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          }
        },
        "security": [],
        "description": "Resolves the path like the frontend in the request language. An unknown path answers an empty collection. A redirect of EXT:redirects for the path comes first: the collection is then empty and carries the redirect."
      }
    },
    "/_api/headless_pages/{uid}": {
      "parameters": [
        {
          "name": "uid",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "get": {
        "summary": "Get single HeadlessPages",
        "operationId": "showHeadless_pages",
        "tags": [
          "HeadlessPages"
        ],
        "x-typo3-access-role": "PUBLIC",
        "parameters": [
          {
            "name": "fields",
            "in": "query",
            "description": "Sparse fieldset: only return the specified columns and virtual properties (plus @type, @id, uid)",
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HeadlessPagesRead"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/ld+json": {
                "schema": {
                  "$ref": "#/components/schemas/HydraError"
                }
              }
            }
          }
        },
        "security": []
      }
    }
  },
  "components": {
    "schemas": {
      "RelationStub": {
        "type": "object",
        "properties": {
          "@id": {
            "type": "string"
          },
          "@type": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          }
        },
        "required": [
          "@id",
          "@type",
          "uid"
        ]
      },
      "FileObject": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "publicUrl": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "mimeType": {
            "type": "string"
          },
          "fileSize": {
            "type": "integer"
          },
          "metadata": {
            "type": "object",
            "properties": {
              "title": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "alternative": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "copyright": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "width": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          },
          "cropVariants": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "publicUrl": {
                  "type": "string"
                },
                "width": {
                  "type": "integer"
                },
                "height": {
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "HydraError": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string",
            "example": "http://www.w3.org/ns/hydra/context.jsonld"
          },
          "@type": {
            "type": "string",
            "example": "hydra:Error"
          },
          "hydra:title": {
            "type": "string"
          },
          "hydra:description": {
            "type": "string"
          }
        },
        "required": [
          "@type",
          "hydra:title",
          "hydra:description"
        ]
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string",
            "example": "http://www.w3.org/ns/hydra/context.jsonld"
          },
          "@type": {
            "type": "string",
            "example": "hydra:Error"
          },
          "hydra:title": {
            "type": "string",
            "example": "Validation Failed"
          },
          "hydra:description": {
            "type": "string"
          },
          "violations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "propertyPath": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "code": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "HeadlessContentTextRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "text"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "bodytext": {
            "$ref": "#/components/schemas/PortableText"
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentTextmediaRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "textmedia"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "bodytext": {
            "$ref": "#/components/schemas/PortableText"
          },
          "assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileObject"
            }
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentTextpicRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "textpic"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "bodytext": {
            "$ref": "#/components/schemas/PortableText"
          },
          "image": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileObject"
            }
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentImageRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "image"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "image": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileObject"
            }
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentHeaderRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "header"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentBulletsRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "bullets"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "bullets_type": {
            "type": "integer"
          },
          "bodytext": {
            "$ref": "#/components/schemas/HeadlessBulletList"
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentTableRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "table"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "bodytext": {
            "$ref": "#/components/schemas/HeadlessTable"
          },
          "table_caption": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          },
          "table_header_position": {
            "type": "integer"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentUploadsRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "uploads"
            ]
          },
          "header": {
            "type": "string"
          },
          "header_layout": {
            "type": "integer"
          },
          "header_position": {
            "type": "string"
          },
          "header_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "subheader": {
            "type": "string"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileObject"
            }
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentHtmlRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "html"
            ]
          },
          "header": {
            "type": "string"
          },
          "bodytext": {
            "$ref": "#/components/schemas/HeadlessHtml"
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          }
        },
        "required": [
          "CType"
        ]
      },
      "HeadlessContentShortcutRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessContent"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "shortcut"
            ]
          },
          "header": {
            "type": "string"
          },
          "layout": {
            "type": "integer"
          },
          "frame_class": {
            "type": "string"
          },
          "space_before_class": {
            "type": "string"
          },
          "space_after_class": {
            "type": "string"
          },
          "records": {
            "type": "array",
            "description": "The referenced content elements a visitor may see, in the order of the records field.",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/HeadlessContentRead"
                },
                {
                  "$ref": "#/components/schemas/HeadlessContentFallbackRead"
                }
              ]
            }
          }
        },
        "required": [
          "CType",
          "records"
        ]
      },
      "HeadlessContentRead": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/HeadlessContentTextRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentTextmediaRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentTextpicRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentImageRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentHeaderRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentBulletsRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentTableRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentUploadsRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentHtmlRead"
          },
          {
            "$ref": "#/components/schemas/HeadlessContentShortcutRead"
          }
        ],
        "discriminator": {
          "propertyName": "CType",
          "mapping": {
            "text": "#/components/schemas/HeadlessContentTextRead",
            "textmedia": "#/components/schemas/HeadlessContentTextmediaRead",
            "textpic": "#/components/schemas/HeadlessContentTextpicRead",
            "image": "#/components/schemas/HeadlessContentImageRead",
            "header": "#/components/schemas/HeadlessContentHeaderRead",
            "bullets": "#/components/schemas/HeadlessContentBulletsRead",
            "table": "#/components/schemas/HeadlessContentTableRead",
            "uploads": "#/components/schemas/HeadlessContentUploadsRead",
            "html": "#/components/schemas/HeadlessContentHtmlRead",
            "shortcut": "#/components/schemas/HeadlessContentShortcutRead"
          }
        }
      },
      "HeadlessContentCollection": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string"
          },
          "@type": {
            "type": "string",
            "example": "hydra:Collection"
          },
          "@id": {
            "type": "string"
          },
          "hydra:totalItems": {
            "type": "integer"
          },
          "hydra:member": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HeadlessContentRead"
            }
          },
          "hydra:view": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string"
              },
              "hydra:first": {
                "type": "string"
              },
              "hydra:last": {
                "type": "string"
              },
              "hydra:previous": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hydra:next": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "hydra:search": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string",
                "example": "hydra:IriTemplate"
              },
              "hydra:template": {
                "type": "string"
              },
              "hydra:variableRepresentation": {
                "type": "string",
                "example": "BasicRepresentation"
              },
              "hydra:mapping": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "@type": {
                      "type": "string",
                      "example": "IriTemplateMapping"
                    },
                    "variable": {
                      "type": "string"
                    },
                    "property": {
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "HeadlessNavigationRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessNavigation"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "nav_title": {
            "type": "string"
          },
          "slug": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "doktype": {
            "type": "integer",
            "enum": [
              1,
              3,
              4
            ]
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Absolute URL of the page in the request language."
          },
          "children": {
            "type": "array",
            "description": "Subpages shown in menus, in their order in the page tree.",
            "items": {
              "$ref": "#/components/schemas/HeadlessNavigationRead"
            }
          }
        },
        "required": [
          "uid",
          "url",
          "children"
        ]
      },
      "HeadlessNavigationCollection": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string"
          },
          "@type": {
            "type": "string",
            "example": "hydra:Collection"
          },
          "@id": {
            "type": "string"
          },
          "hydra:totalItems": {
            "type": "integer"
          },
          "hydra:member": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HeadlessNavigationRead"
            }
          },
          "hydra:view": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string"
              },
              "hydra:first": {
                "type": "string"
              },
              "hydra:last": {
                "type": "string"
              },
              "hydra:previous": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hydra:next": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "hydra:search": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string",
                "example": "hydra:IriTemplate"
              },
              "hydra:template": {
                "type": "string"
              },
              "hydra:variableRepresentation": {
                "type": "string",
                "example": "BasicRepresentation"
              },
              "hydra:mapping": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "@type": {
                      "type": "string",
                      "example": "IriTemplateMapping"
                    },
                    "variable": {
                      "type": "string"
                    },
                    "property": {
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "HeadlessPagesRead": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string",
            "example": "HeadlessPages"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "slug": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "seo_title": {
            "type": "string"
          },
          "description": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "no_index": {
            "type": "integer"
          },
          "no_follow": {
            "type": "integer"
          },
          "canonical_link": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessLink"
              },
              {
                "type": "null"
              }
            ]
          },
          "og_title": {
            "type": "string"
          },
          "og_description": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "og_image": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileObject"
            }
          },
          "breadcrumbs": {
            "type": "array",
            "description": "The pages from the site root down to this page that the frontend shows to the visitor, including pages hidden in menus.",
            "items": {
              "$ref": "#/components/schemas/HeadlessPagesBreadcrumb"
            }
          },
          "languages": {
            "type": "array",
            "description": "The page in every language of the site, for a language switcher.",
            "items": {
              "$ref": "#/components/schemas/HeadlessPagesLanguage"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/HeadlessPagesMeta"
          },
          "regions": {
            "type": "object",
            "description": "Content elements by region, in their order on the page.",
            "additionalProperties": {
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/HeadlessContentRead"
                  },
                  {
                    "$ref": "#/components/schemas/HeadlessContentFallbackRead"
                  }
                ]
              }
            }
          },
          "shortcut": {
            "description": "Only on shortcut pages (doktype 4): the page the frontend redirects to, or null when this site does not deliver it.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/HeadlessPagesShortcut"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "breadcrumbs",
          "languages",
          "meta",
          "regions"
        ]
      },
      "HeadlessPagesCollection": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string"
          },
          "@type": {
            "type": "string",
            "example": "hydra:Collection"
          },
          "@id": {
            "type": "string"
          },
          "hydra:totalItems": {
            "type": "integer"
          },
          "hydra:member": {
            "type": "array",
            "maxItems": 1,
            "items": {
              "$ref": "#/components/schemas/HeadlessPagesLookup"
            }
          },
          "hydra:view": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string"
              },
              "hydra:first": {
                "type": "string"
              },
              "hydra:last": {
                "type": "string"
              },
              "hydra:previous": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "hydra:next": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          },
          "hydra:search": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string",
                "example": "hydra:IriTemplate"
              },
              "hydra:template": {
                "type": "string"
              },
              "hydra:variableRepresentation": {
                "type": "string",
                "example": "BasicRepresentation"
              },
              "hydra:mapping": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "@type": {
                      "type": "string",
                      "example": "IriTemplateMapping"
                    },
                    "variable": {
                      "type": "string"
                    },
                    "property": {
                      "type": "string"
                    },
                    "required": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "redirect": {
            "$ref": "#/components/schemas/HeadlessPagesRedirect"
          }
        }
      },
      "PortableText": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/PortableTextBlock"
        },
        "description": "Rich text as Portable Text, see https://www.portabletext.org/specification/"
      },
      "PortableTextBlock": {
        "type": "object",
        "properties": {
          "_type": {
            "type": "string",
            "const": "block"
          },
          "_key": {
            "type": "string"
          },
          "style": {
            "type": "string",
            "enum": [
              "normal",
              "h1",
              "h2",
              "h3",
              "h4",
              "h5",
              "h6",
              "blockquote"
            ]
          },
          "markDefs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PortableTextLink"
            }
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PortableTextSpan"
            }
          },
          "listItem": {
            "type": "string",
            "enum": [
              "bullet",
              "number"
            ]
          },
          "level": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "_type",
          "_key",
          "style",
          "markDefs",
          "children"
        ],
        "additionalProperties": false
      },
      "PortableTextSpan": {
        "type": "object",
        "properties": {
          "_type": {
            "type": "string",
            "const": "span"
          },
          "_key": {
            "type": "string"
          },
          "marks": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Decorators (strong, em, underline, strike-through, code) and markDef keys."
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "_type",
          "_key",
          "marks",
          "text"
        ],
        "additionalProperties": false
      },
      "PortableTextLink": {
        "type": "object",
        "properties": {
          "_type": {
            "type": "string",
            "const": "link"
          },
          "_key": {
            "type": "string"
          },
          "href": {
            "type": "string",
            "format": "uri",
            "description": "Absolute http(s), mailto or tel URL."
          },
          "target": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link target such as \"_blank\"; null when not set."
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link title; null when not set."
          }
        },
        "required": [
          "_type",
          "_key",
          "href",
          "target",
          "title"
        ],
        "additionalProperties": false
      },
      "HeadlessHtml": {
        "type": "string",
        "description": "HTML as entered by the editor, neither escaped nor sanitized."
      },
      "HeadlessBulletList": {
        "description": "One entry per line; terms and definitions for a definition list (bullets_type 2).",
        "anyOf": [
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "term": {
                  "type": "string"
                },
                "definition": {
                  "type": "string"
                }
              },
              "required": [
                "term",
                "definition"
              ],
              "additionalProperties": false
            }
          }
        ]
      },
      "HeadlessTable": {
        "type": "object",
        "properties": {
          "head": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Header row; empty without one."
          },
          "body": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "foot": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Footer row; empty without one."
          }
        },
        "required": [
          "head",
          "body",
          "foot"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesBreadcrumb": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "nav_title": {
            "type": "string",
            "description": "Navigation title; empty when the page has none."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Absolute URL of the page in the request language."
          },
          "doktype": {
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "title",
          "nav_title",
          "url",
          "doktype"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesLanguage": {
        "type": "object",
        "properties": {
          "languageId": {
            "type": "integer"
          },
          "locale": {
            "type": "string",
            "description": "Locale of the site language, e.g. \"de-DE\"."
          },
          "hreflang": {
            "type": "string"
          },
          "title": {
            "type": "string",
            "description": "Title of the site language."
          },
          "url": {
            "description": "Absolute URL of the page in this language; null when it is not available.",
            "oneOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "available": {
            "type": "boolean",
            "description": "Whether the frontend serves the page in this language, translated or as a fallback."
          },
          "active": {
            "type": "boolean",
            "description": "Whether this is the request language."
          }
        },
        "required": [
          "languageId",
          "locale",
          "hreflang",
          "title",
          "url",
          "available",
          "active"
        ],
        "additionalProperties": false
      },
      "HeadlessLink": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "format": "uri",
            "description": "Absolute http(s), mailto or tel URL."
          },
          "target": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link target such as \"_blank\"; null when not set."
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link title; null when not set."
          }
        },
        "required": [
          "href",
          "target",
          "title"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesMeta": {
        "type": "object",
        "properties": {
          "robots": {
            "type": "string",
            "enum": [
              "index,follow",
              "index,nofollow",
              "noindex,follow",
              "noindex,nofollow"
            ]
          },
          "canonical": {
            "description": "Absolute canonical URL; null when the page must not be indexed.",
            "oneOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "schema": {
            "type": "object",
            "description": "schema.org WebPage as JSON-LD.",
            "properties": {
              "@context": {
                "const": "https://schema.org"
              },
              "@type": {
                "const": "WebPage"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "name": {
                "type": "string"
              },
              "inLanguage": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "required": [
              "@context",
              "@type",
              "url",
              "name",
              "inLanguage"
            ],
            "additionalProperties": false
          },
          "alternates": {
            "type": "array",
            "description": "hreflang alternates as the frontend renders them with EXT:seo: the translated versions and x-default for the default language; none for a single one.",
            "items": {
              "type": "object",
              "properties": {
                "hreflang": {
                  "type": "string",
                  "description": "hreflang of a site language, or \"x-default\"."
                },
                "href": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "required": [
                "hreflang",
                "href"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "robots",
          "canonical",
          "schema",
          "alternates"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesLookup": {
        "type": "object",
        "description": "The page found at the path; fetch the page itself by its uid.",
        "properties": {
          "@type": {
            "type": "string"
          },
          "@id": {
            "type": "string"
          },
          "uid": {
            "type": "integer",
            "description": "uid of the page in the default language."
          }
        },
        "required": [
          "@type",
          "@id",
          "uid"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesRedirect": {
        "type": "object",
        "description": "The redirect of EXT:redirects for the path.",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Absolute URL of the redirect target."
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code of the redirect, e.g. 301."
          }
        },
        "required": [
          "url",
          "statusCode"
        ],
        "additionalProperties": false
      },
      "HeadlessContentFallbackRead": {
        "type": "object",
        "description": "A content type the site allows without its columns.",
        "properties": {
          "uid": {
            "type": "integer"
          },
          "CType": {
            "type": "string",
            "enum": [
              "menu_subpages"
            ]
          },
          "header": {
            "type": "string"
          }
        },
        "required": [
          "uid",
          "CType",
          "header"
        ],
        "additionalProperties": false
      },
      "HeadlessPagesShortcut": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer",
            "description": "uid of the target page in the default language."
          },
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Absolute URL of the target page in the request language."
          }
        },
        "required": [
          "uid",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "FrontendSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "fe_typo_user",
        "description": "TYPO3 frontend user session."
      },
      "BackendSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "be_typo_user",
        "description": "TYPO3 backend user session."
      }
    }
  },
  "tags": [
    {
      "name": "HeadlessContent"
    },
    {
      "name": "HeadlessNavigation"
    },
    {
      "name": "HeadlessPages"
    }
  ]
}