{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-greengrass-coredefinition.json",
  "title": "AWSGreengrassCoreDefinitionProperties",
  "description": "Resource Type definition for AWS::Greengrass::CoreDefinition. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-greengrass-coredefinition.json",
    "sourceSha256": "a75f8750d1544c27d8030135aa9ea35b26a44715bb584c478fcf7a52686e4a82"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "InitialVersion": {
      "$ref": "#/$defs/CoreDefinitionVersion"
    },
    "Tags": {
      "type": "object"
    }
  },
  "typeName": "AWS::Greengrass::CoreDefinition",
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "$defs": {
    "CoreDefinitionVersion": {
      "type": "object",
      "title": "AWSGreengrassCoreDefinitionCoreDefinitionVersionDefinition",
      "properties": {
        "Cores": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/Core"
          }
        }
      },
      "required": [
        "Cores"
      ],
      "additionalProperties": false
    },
    "Core": {
      "type": "object",
      "title": "AWSGreengrassCoreDefinitionCoreDefinition",
      "properties": {
        "SyncShadow": {
          "type": "boolean"
        },
        "ThingArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Id": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CertificateArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "ThingArn",
        "Id",
        "CertificateArn"
      ],
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/InitialVersion"
  ],
  "additionalProperties": false,
  "required": [
    "Name"
  ],
  "readOnlyProperties": [
    "/properties/LatestVersionArn",
    "/properties/Arn",
    "/properties/Id"
  ]
}
