{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-location-placeindex.json",
  "title": "AWSLocationPlaceIndexProperties",
  "description": "Definition of AWS::Location::PlaceIndex Resource Type. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-location-placeindex.json",
    "sourceSha256": "45a4e6f89b58307c7ea05858c3e0bc0eff7e27389fe9a1e4a9dd6ea7b1980c26"
  },
  "type": "object",
  "properties": {
    "DataSource": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DataSourceConfiguration": {
      "$ref": "#/$defs/DataSourceConfiguration"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 1000,
          "minLength": 0
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "IndexName": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[-._\\w]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "PricingPlan": {
      "$ref": "#/$defs/PricingPlan"
    }
  },
  "typeName": "AWS::Location::PlaceIndex",
  "$defs": {
    "DataSourceConfiguration": {
      "type": "object",
      "properties": {
        "IntendedUse": {
          "$ref": "#/$defs/IntendedUse"
        }
      },
      "title": "AWSLocationPlaceIndexDataSourceConfigurationDefinition",
      "additionalProperties": false
    },
    "IntendedUse": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "SingleUse",
            "Storage"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSLocationPlaceIndexIntendedUseDefinition"
    },
    "PricingPlan": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "RequestBasedUsage"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSLocationPlaceIndexPricingPlanDefinition"
    },
    "iso8601UTC": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^([0-2]\\d{3})-(0[0-9]|1[0-2])-([0-2]\\d|3[01])T([01]\\d|2[0-4]):([0-5]\\d):([0-6]\\d)((\\.\\d{3})?)Z$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The datetime value in ISO 8601 format. The timezone is always UTC. (YYYY-MM-DDThh:mm:ss.sssZ)",
      "title": "AWSLocationPlaceIndexiso8601UTCDefinition"
    }
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/IndexName"
  ],
  "readOnlyProperties": [
    "/properties/CreateTime",
    "/properties/IndexArn",
    "/properties/Arn",
    "/properties/UpdateTime"
  ],
  "createOnlyProperties": [
    "/properties/IndexName",
    "/properties/DataSource",
    "/properties/DataSourceConfiguration",
    "/properties/Description",
    "/properties/PricingPlan"
  ],
  "required": [
    "IndexName",
    "DataSource"
  ]
}
