{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-amplifyuibuilder-component.json",
  "title": "AWSAmplifyUIBuilderComponentProperties",
  "description": "Definition of AWS::AmplifyUIBuilder::Component Resource Type. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-amplifyuibuilder-component.json",
    "sourceSha256": "06b4405654bc153b9606dbe2e68f1350e36a5627f35870affd243f88f0c5352c"
  },
  "type": "object",
  "properties": {
    "AppId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "BindingProperties": {
      "$ref": "#/$defs/ComponentBindingProperties"
    },
    "Children": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComponentChild"
      }
    },
    "CollectionProperties": {
      "$ref": "#/$defs/ComponentCollectionProperties"
    },
    "ComponentType": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "EnvironmentName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Events": {
      "$ref": "#/$defs/ComponentEvents"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Overrides": {
      "$ref": "#/$defs/ComponentOverrides"
    },
    "Properties": {
      "$ref": "#/$defs/ComponentProperties"
    },
    "SchemaVersion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SourceId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    },
    "Variants": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ComponentVariant"
      }
    }
  },
  "typeName": "AWS::AmplifyUIBuilder::Component",
  "$defs": {
    "ActionParameters": {
      "type": "object",
      "properties": {
        "Type": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Url": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Anchor": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Target": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Global": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Model": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Id": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Fields": {
          "$ref": "#/$defs/ComponentProperties"
        },
        "State": {
          "$ref": "#/$defs/MutationActionSetStateParameter"
        }
      },
      "title": "AWSAmplifyUIBuilderComponentActionParametersDefinition",
      "additionalProperties": false
    },
    "ComponentBindingProperties": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentBindingPropertiesDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/ComponentBindingPropertiesValue"
        }
      }
    },
    "ComponentBindingPropertiesValue": {
      "type": "object",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BindingProperties": {
          "$ref": "#/$defs/ComponentBindingPropertiesValueProperties"
        },
        "DefaultValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentBindingPropertiesValueDefinition",
      "additionalProperties": false
    },
    "ComponentBindingPropertiesValueProperties": {
      "type": "object",
      "properties": {
        "Model": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Predicates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Predicate"
          }
        },
        "UserAttribute": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Bucket": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DefaultValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentBindingPropertiesValuePropertiesDefinition",
      "additionalProperties": false
    },
    "ComponentChild": {
      "type": "object",
      "properties": {
        "ComponentType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Properties": {
          "$ref": "#/$defs/ComponentProperties"
        },
        "Children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ComponentChild"
          }
        },
        "Events": {
          "$ref": "#/$defs/ComponentEvents"
        }
      },
      "required": [
        "ComponentType",
        "Name",
        "Properties"
      ],
      "title": "AWSAmplifyUIBuilderComponentComponentChildDefinition",
      "additionalProperties": false
    },
    "ComponentCollectionProperties": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentCollectionPropertiesDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/ComponentDataConfiguration"
        }
      }
    },
    "ComponentConditionProperty": {
      "type": "object",
      "properties": {
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Operator": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Operand": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Then": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "Else": {
          "$ref": "#/$defs/ComponentProperty"
        },
        "OperandType": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentConditionPropertyDefinition",
      "additionalProperties": false
    },
    "ComponentDataConfiguration": {
      "type": "object",
      "properties": {
        "Model": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Sort": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SortProperty"
          }
        },
        "Predicate": {
          "$ref": "#/$defs/Predicate"
        },
        "Identifiers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "Model"
      ],
      "title": "AWSAmplifyUIBuilderComponentComponentDataConfigurationDefinition",
      "additionalProperties": false
    },
    "ComponentEvent": {
      "type": "object",
      "properties": {
        "Action": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Parameters": {
          "$ref": "#/$defs/ActionParameters"
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentEventDefinition",
      "additionalProperties": false
    },
    "ComponentEvents": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentEventsDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/ComponentEvent"
        }
      }
    },
    "ComponentOverrides": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentOverridesDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/ComponentOverridesValue"
        }
      }
    },
    "ComponentOverridesValue": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentOverridesValueDefinition",
      "patternProperties": {
        ".+": {
          "type": "string"
        }
      }
    },
    "ComponentProperties": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentPropertiesDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/ComponentProperty"
        }
      }
    },
    "ComponentProperty": {
      "type": "object",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "BindingProperties": {
          "$ref": "#/$defs/ComponentPropertyBindingProperties"
        },
        "CollectionBindingProperties": {
          "$ref": "#/$defs/ComponentPropertyBindingProperties"
        },
        "DefaultValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Model": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Bindings": {
          "$ref": "#/$defs/FormBindings"
        },
        "Event": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "UserAttribute": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Concat": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ComponentProperty"
          }
        },
        "Condition": {
          "$ref": "#/$defs/ComponentConditionProperty"
        },
        "Configured": {
          "type": "boolean"
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ImportedValue": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ComponentName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentPropertyDefinition",
      "additionalProperties": false
    },
    "ComponentPropertyBindingProperties": {
      "type": "object",
      "properties": {
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Property"
      ],
      "title": "AWSAmplifyUIBuilderComponentComponentPropertyBindingPropertiesDefinition",
      "additionalProperties": false
    },
    "ComponentVariant": {
      "type": "object",
      "properties": {
        "VariantValues": {
          "$ref": "#/$defs/ComponentVariantValues"
        },
        "Overrides": {
          "$ref": "#/$defs/ComponentOverrides"
        }
      },
      "title": "AWSAmplifyUIBuilderComponentComponentVariantDefinition",
      "additionalProperties": false
    },
    "ComponentVariantValues": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentComponentVariantValuesDefinition",
      "patternProperties": {
        ".+": {
          "type": "string"
        }
      }
    },
    "FormBindingElement": {
      "type": "object",
      "properties": {
        "Element": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Element",
        "Property"
      ],
      "title": "AWSAmplifyUIBuilderComponentFormBindingElementDefinition",
      "additionalProperties": false
    },
    "FormBindings": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentFormBindingsDefinition",
      "patternProperties": {
        ".+": {
          "$ref": "#/$defs/FormBindingElement"
        }
      }
    },
    "MutationActionSetStateParameter": {
      "type": "object",
      "properties": {
        "ComponentName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Set": {
          "$ref": "#/$defs/ComponentProperty"
        }
      },
      "required": [
        "ComponentName",
        "Property",
        "Set"
      ],
      "title": "AWSAmplifyUIBuilderComponentMutationActionSetStateParameterDefinition",
      "additionalProperties": false
    },
    "Predicate": {
      "type": "object",
      "properties": {
        "Or": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Predicate"
          }
        },
        "And": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Predicate"
          }
        },
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Operator": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Operand": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSAmplifyUIBuilderComponentPredicateDefinition",
      "additionalProperties": false
    },
    "SortDirection": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ASC",
            "DESC"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSAmplifyUIBuilderComponentSortDirectionDefinition"
    },
    "SortProperty": {
      "type": "object",
      "properties": {
        "Field": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Direction": {
          "$ref": "#/$defs/SortDirection"
        }
      },
      "required": [
        "Direction",
        "Field"
      ],
      "title": "AWSAmplifyUIBuilderComponentSortPropertyDefinition",
      "additionalProperties": false
    },
    "Tags": {
      "type": "object",
      "additionalProperties": false,
      "title": "AWSAmplifyUIBuilderComponentTagsDefinition",
      "patternProperties": {
        "^(?!aws:)[a-zA-Z+-=._:/]+$": {
          "type": "string",
          "maxLength": 256,
          "minLength": 1
        }
      }
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-amplifyuibuilder",
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false,
    "tagProperty": "#/properties/Tags"
  },
  "required": [
    "BindingProperties",
    "ComponentType",
    "Name",
    "Overrides",
    "Properties",
    "Variants"
  ],
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "createOnlyProperties": [
    "/properties/Tags"
  ],
  "primaryIdentifier": [
    "/properties/AppId",
    "/properties/EnvironmentName",
    "/properties/Id"
  ]
}
