{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iotfleetwise-decodermanifest.json",
  "title": "AWSIoTFleetWiseDecoderManifestProperties",
  "description": "Definition of AWS::IoTFleetWise::DecoderManifest 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-iotfleetwise-decodermanifest.json",
    "sourceSha256": "94ab497a38f5259d6e1c86460d82d3966d3e2593811c4d66bf15bdd7e0611187"
  },
  "type": "object",
  "properties": {
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 1,
          "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ModelManifestArn": {
      "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",
          "maxLength": 100,
          "minLength": 1,
          "pattern": "^[a-zA-Z0-9\\-_:]+$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "NetworkInterfaces": {
      "insertionOrder": false,
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/CanNetworkInterface"
          },
          {
            "$ref": "#/$defs/ObdNetworkInterface"
          }
        ]
      },
      "maxItems": 500,
      "minItems": 1
    },
    "SignalDecoders": {
      "insertionOrder": false,
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/CanSignalDecoder"
          },
          {
            "$ref": "#/$defs/ObdSignalDecoder"
          }
        ]
      },
      "maxItems": 500,
      "minItems": 1
    },
    "Status": {
      "$ref": "#/$defs/ManifestStatus"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "maxItems": 50,
      "minItems": 0,
      "insertionOrder": false,
      "uniqueItems": true
    }
  },
  "typeName": "AWS::IoTFleetWise::DecoderManifest",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "additionalProperties": false,
  "$defs": {
    "CanInterface": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ProtocolName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ProtocolVersion": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Name"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestCanInterfaceDefinition",
      "additionalProperties": false
    },
    "CanSignal": {
      "type": "object",
      "properties": {
        "MessageId": {
          "type": [
            "integer",
            "string"
          ]
        },
        "IsBigEndian": {
          "type": [
            "boolean",
            "string"
          ]
        },
        "IsSigned": {
          "type": [
            "boolean",
            "string"
          ]
        },
        "StartBit": {
          "type": [
            "integer",
            "string"
          ]
        },
        "Offset": {
          "type": [
            "number",
            "string"
          ]
        },
        "Factor": {
          "type": [
            "number",
            "string"
          ]
        },
        "Length": {
          "type": [
            "integer",
            "string"
          ]
        },
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Factor",
        "IsBigEndian",
        "IsSigned",
        "Length",
        "MessageId",
        "Offset",
        "StartBit"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestCanSignalDefinition",
      "additionalProperties": false
    },
    "ManifestStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ACTIVE",
            "DRAFT"
          ],
          "default": "DRAFT"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSIoTFleetWiseDecoderManifestManifestStatusDefinition"
    },
    "CanNetworkInterface": {
      "type": "object",
      "properties": {
        "InterfaceId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "CAN_INTERFACE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CanInterface": {
          "$ref": "#/$defs/CanInterface"
        }
      },
      "required": [
        "InterfaceId",
        "Type",
        "CanInterface"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestCanNetworkInterfaceDefinition",
      "additionalProperties": false
    },
    "ObdNetworkInterface": {
      "type": "object",
      "properties": {
        "InterfaceId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "OBD_INTERFACE"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ObdInterface": {
          "$ref": "#/$defs/ObdInterface"
        }
      },
      "required": [
        "InterfaceId",
        "Type",
        "ObdInterface"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestObdNetworkInterfaceDefinition",
      "additionalProperties": false
    },
    "ObdInterface": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "RequestMessageId": {
          "type": [
            "integer",
            "string"
          ]
        },
        "ObdStandard": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "PidRequestIntervalSeconds": {
          "type": [
            "integer",
            "string"
          ]
        },
        "DtcRequestIntervalSeconds": {
          "type": [
            "integer",
            "string"
          ]
        },
        "UseExtendedIds": {
          "type": [
            "boolean",
            "string"
          ]
        },
        "HasTransmissionEcu": {
          "type": [
            "boolean",
            "string"
          ]
        }
      },
      "required": [
        "Name",
        "RequestMessageId"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestObdInterfaceDefinition",
      "additionalProperties": false
    },
    "ObdSignal": {
      "type": "object",
      "properties": {
        "PidResponseLength": {
          "type": [
            "integer",
            "string"
          ]
        },
        "ServiceMode": {
          "type": [
            "integer",
            "string"
          ]
        },
        "Pid": {
          "type": [
            "integer",
            "string"
          ]
        },
        "Scaling": {
          "type": [
            "number",
            "string"
          ]
        },
        "Offset": {
          "type": [
            "number",
            "string"
          ]
        },
        "StartByte": {
          "type": [
            "integer",
            "string"
          ]
        },
        "ByteLength": {
          "type": [
            "integer",
            "string"
          ]
        },
        "BitRightShift": {
          "type": [
            "integer",
            "string"
          ]
        },
        "BitMaskLength": {
          "type": [
            "integer",
            "string"
          ]
        }
      },
      "required": [
        "ByteLength",
        "Offset",
        "Pid",
        "PidResponseLength",
        "Scaling",
        "ServiceMode",
        "StartByte"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestObdSignalDefinition",
      "additionalProperties": false
    },
    "CanSignalDecoder": {
      "type": "object",
      "properties": {
        "FullyQualifiedName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 150,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "CAN_SIGNAL"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "InterfaceId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CanSignal": {
          "$ref": "#/$defs/CanSignal"
        }
      },
      "required": [
        "FullyQualifiedName",
        "InterfaceId",
        "Type",
        "CanSignal"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestCanSignalDecoderDefinition",
      "additionalProperties": false
    },
    "ObdSignalDecoder": {
      "type": "object",
      "properties": {
        "FullyQualifiedName": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 150,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "OBD_SIGNAL"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "InterfaceId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 50,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "ObdSignal": {
          "$ref": "#/$defs/ObdSignal"
        }
      },
      "required": [
        "FullyQualifiedName",
        "InterfaceId",
        "Type",
        "ObdSignal"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestObdSignalDecoderDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 0
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSIoTFleetWiseDecoderManifestTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Name",
    "ModelManifestArn"
  ],
  "readOnlyProperties": [
    "/properties/Arn",
    "/properties/CreationTime",
    "/properties/LastModificationTime"
  ],
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/ModelManifestArn"
  ],
  "primaryIdentifier": [
    "/properties/Name"
  ]
}
