CreateComponentTypeRequest

Amazon Web Services3D VisualizationDigital TwinIndustrial IoTIoT

Properties

Name Type Description
workspaceId string The ID of the workspace that contains the component type.
isSingleton boolean A Boolean value that specifies whether an entity can have more than one component of this type.
componentTypeId string The ID of the component type.
description string The description of the component type.
propertyDefinitions object An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
extendsFrom array Specifies the parent component type to extend.
functions object An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
tags object Metadata that you can use to manage the component type.
propertyGroups object
componentTypeName string A friendly name for the component type.
compositeComponentTypes object This is an object that maps strings to compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId.
View JSON Schema on GitHub

JSON Schema

amazon-iot-twinmaker-create-component-type-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-twinmaker/json-schema/amazon-iot-twinmaker-create-component-type-request-schema.json",
  "title": "CreateComponentTypeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-twinmaker-component-types-api-openapi.yml#/components/schemas/CreateComponentTypeRequest",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "The ID of the workspace that contains the component type."
    },
    "isSingleton": {
      "type": "boolean",
      "description": "A Boolean value that specifies whether an entity can have more than one component of this type."
    },
    "componentTypeId": {
      "type": "string",
      "description": "The ID of the component type."
    },
    "description": {
      "type": "string",
      "description": "The description of the component type."
    },
    "propertyDefinitions": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/PropertyDefinitionRequest"
      },
      "description": "An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object."
    },
    "extendsFrom": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Specifies the parent component type to extend."
    },
    "functions": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/FunctionRequest"
      },
      "description": "An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata that you can use to manage the component type."
    },
    "propertyGroups": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/PropertyGroupRequest"
      }
    },
    "componentTypeName": {
      "type": "string",
      "description": "A friendly name for the component type."
    },
    "compositeComponentTypes": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/CompositeComponentTypeRequest"
      },
      "description": "This is an object that maps strings to compositeComponentTypes of the componentType. CompositeComponentType is referenced by componentTypeId."
    }
  },
  "required": [
    "workspaceId",
    "componentTypeId"
  ],
  "$defs": {
    "CompositeComponentTypeRequest": {
      "type": "object",
      "properties": {
        "componentTypeId": {
          "type": "string",
          "description": "This is the componentTypeId that the compositeComponentType refers to."
        }
      }
    },
    "DataConnector": {
      "type": "object",
      "properties": {
        "lambda": {
          "$ref": "#/$defs/LambdaFunction"
        },
        "isNative": {
          "type": "boolean",
          "description": "A Boolean value that specifies whether the data connector is native to IoT TwinMaker."
        }
      }
    },
    "DataType": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The underlying type of the data type."
        },
        "nestedType": {
          "$ref": "#/$defs/DataType"
        },
        "allowedValues": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DataValue"
          },
          "description": "The allowed values for this data type."
        },
        "unitOfMeasure": {
          "type": "string",
          "description": "The unit of measure used in this data type."
        },
        "relationship": {
          "$ref": "#/$defs/Relationship"
        }
      },
      "required": [
        "type"
      ]
    },
    "DataValue": {
      "type": "object",
      "properties": {
        "booleanValue": {
          "type": "boolean",
          "description": "A Boolean value."
        },
        "doubleValue": {
          "type": "number",
          "description": "A double value."
        },
        "integerValue": {
          "type": "integer",
          "description": "An integer value."
        },
        "longValue": {
          "type": "integer",
          "description": "A long value."
        },
        "stringValue": {
          "type": "string",
          "description": "A string value."
        },
        "listValue": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DataValue"
          },
          "description": "A list of multiple values."
        },
        "mapValue": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/DataValue"
          },
          "description": "An object that maps strings to multiple DataValue objects."
        },
        "relationshipValue": {
          "$ref": "#/$defs/RelationshipValue"
        },
        "expression": {
          "type": "string",
          "description": "An expression that produces the value."
        }
      }
    },
    "FunctionRequest": {
      "type": "object",
      "properties": {
        "requiredProperties": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The required properties of the function."
        },
        "scope": {
          "type": "string",
          "description": "The scope of the function."
        },
        "implementedBy": {
          "$ref": "#/$defs/DataConnector"
        }
      }
    },
    "LambdaFunction": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The ARN of the Lambda function."
        }
      },
      "required": [
        "arn"
      ]
    },
    "PropertyDefinitionRequest": {
      "type": "object",
      "properties": {
        "dataType": {
          "$ref": "#/$defs/DataType"
        },
        "isRequiredInEntity": {
          "type": "boolean",
          "description": "A Boolean value that specifies whether the property is required."
        },
        "isExternalId": {
          "type": "boolean",
          "description": "A Boolean value that specifies whether the property ID comes from an external data store."
        },
        "isStoredExternally": {
          "type": "boolean",
          "description": "A Boolean value that specifies whether the property is stored externally."
        },
        "isTimeSeries": {
          "type": "boolean",
          "description": "A Boolean value that specifies whether the property consists of time series data."
        },
        "defaultValue": {
          "$ref": "#/$defs/DataValue"
        },
        "configuration": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source."
        },
        "displayName": {
          "type": "string",
          "description": "A friendly name for the property."
        }
      }
    },
    "PropertyGroupRequest": {
      "type": "object",
      "properties": {
        "groupType": {
          "type": "string",
          "description": "The group type."
        },
        "propertyNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The names of properties."
        }
      }
    },
    "Relationship": {
      "type": "object",
      "properties": {
        "targetComponentTypeId": {
          "type": "string",
          "description": "The ID of the target component type associated with this relationship."
        },
        "relationshipType": {
          "type": "string",
          "description": "The type of the relationship."
        }
      }
    },
    "RelationshipValue": {
      "type": "object",
      "properties": {
        "targetEntityId": {
          "type": "string",
          "description": "The ID of the target entity associated with this relationship value."
        },
        "targetComponentName": {
          "type": "string",
          "description": "The name of the target component associated with the relationship value."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-iot-twinmaker-create-component-type-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.