{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iotsitewise-project.json",
  "title": "AWSIoTSiteWiseProjectProperties",
  "description": "Resource schema for AWS::IoTSiteWise::Project. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iotsitewise-project.json",
    "sourceSha256": "4fae0ad31549f6c475bd8d7ace7c6e1a27ab2f9daedebcc6f2ee8dfdf012331d"
  },
  "type": "object",
  "properties": {
    "PortalId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the portal in which to create the project."
    },
    "ProjectName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A friendly name for the project."
    },
    "ProjectDescription": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A description for the project."
    },
    "AssetIds": {
      "description": "The IDs of the assets to be associated to the project.",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/AssetId"
      }
    },
    "Tags": {
      "description": "A list of key-value pairs that contain metadata for the project.",
      "type": "array",
      "uniqueItems": false,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::IoTSiteWise::Project",
  "primaryIdentifier": [
    "/properties/ProjectId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-IoTSiteWise.git",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/PortalId"
  ],
  "$defs": {
    "AssetId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the asset",
      "title": "AWSIoTSiteWiseProjectAssetIdDefinition"
    },
    "Tag": {
      "description": "To add or update tag, provide both key and value. To delete tag, provide only tag key to be deleted",
      "type": "object",
      "title": "AWSIoTSiteWiseProjectTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "taggable": true,
  "required": [
    "PortalId",
    "ProjectName"
  ],
  "readOnlyProperties": [
    "/properties/ProjectId",
    "/properties/ProjectArn"
  ]
}
