{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigateway-documentationpart.json",
  "title": "AWSApiGatewayDocumentationPartProperties",
  "description": "Resource Type definition for AWS::ApiGateway::DocumentationPart. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigateway-documentationpart.json",
    "sourceSha256": "1eaf6b4d35367d169bdfb08f4393b8bea00da619b3f2c75f93e6d4eb635ec93b"
  },
  "type": "object",
  "properties": {
    "Location": {
      "description": "The location of the API entity that the documentation applies to.",
      "$ref": "#/$defs/Location"
    },
    "Properties": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The documentation content map of the targeted API entity."
    },
    "RestApiId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Identifier of the targeted API entity"
    }
  },
  "typeName": "AWS::ApiGateway::DocumentationPart",
  "readOnlyProperties": [
    "/properties/DocumentationPartId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway",
  "$defs": {
    "Location": {
      "type": "object",
      "title": "AWSApiGatewayDocumentationPartLocationDefinition",
      "properties": {
        "Method": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The HTTP verb of a method."
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the targeted API entity."
        },
        "Path": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The URL path of the target."
        },
        "StatusCode": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The HTTP status code of a response."
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "API",
                "AUTHORIZER",
                "MODEL",
                "RESOURCE",
                "METHOD",
                "PATH_PARAMETER",
                "QUERY_PARAMETER",
                "REQUEST_HEADER",
                "REQUEST_BODY",
                "RESPONSE",
                "RESPONSE_HEADER",
                "RESPONSE_BODY"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The type of API entity that the documentation content applies to."
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/DocumentationPartId",
    "/properties/RestApiId"
  ],
  "additionalProperties": false,
  "required": [
    "Location",
    "Properties",
    "RestApiId"
  ],
  "createOnlyProperties": [
    "/properties/Location",
    "/properties/RestApiId"
  ]
}
