{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-twinmaker/json-schema/amazon-iot-twinmaker-get-property-value-request-schema.json",
  "title": "GetPropertyValueRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-twinmaker-entity-properties-api-openapi.yml#/components/schemas/GetPropertyValueRequest",
  "type": "object",
  "properties": {
    "componentName": {
      "type": "string",
      "description": "The name of the component whose property values the operation returns."
    },
    "componentPath": {
      "type": "string",
      "description": "This string specifies the path to the composite component, starting from the top-level component."
    },
    "componentTypeId": {
      "type": "string",
      "description": "The ID of the component type whose property values the operation returns."
    },
    "entityId": {
      "type": "string",
      "description": "The ID of the entity whose property values the operation returns."
    },
    "selectedProperties": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The properties whose values the operation returns."
    },
    "workspaceId": {
      "type": "string",
      "description": "The ID of the workspace whose values the operation returns."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return at one time. The default is 25. Valid Range: Minimum value of 1. Maximum value of 250."
    },
    "nextToken": {
      "type": "string",
      "description": "The string that specifies the next page of results."
    },
    "propertyGroupName": {
      "type": "string",
      "description": "The property group name."
    },
    "tabularConditions": {
      "$ref": "#/$defs/TabularConditions"
    }
  },
  "required": [
    "selectedProperties",
    "workspaceId"
  ],
  "$defs": {
    "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."
        }
      }
    },
    "OrderBy": {
      "type": "object",
      "properties": {
        "order": {
          "type": "string",
          "description": "The set order that filters results."
        },
        "propertyName": {
          "type": "string",
          "description": "The property name."
        }
      },
      "required": [
        "propertyName"
      ]
    },
    "PropertyFilter": {
      "type": "object",
      "properties": {
        "propertyName": {
          "type": "string",
          "description": "The property name associated with this property filter."
        },
        "operator": {
          "type": "string",
          "description": "The operator associated with this property filter."
        },
        "value": {
          "$ref": "#/$defs/DataValue"
        }
      }
    },
    "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."
        }
      }
    },
    "TabularConditions": {
      "type": "object",
      "properties": {
        "orderBy": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OrderBy"
          },
          "description": "Filter criteria that orders the output. It can be sorted in ascending or descending order."
        },
        "propertyFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PropertyFilter"
          },
          "description": "You can filter the request using various logical operators and a key-value format. For example: {\"key\": \"serverType\", \"value\": \"webServer\"}"
        }
      }
    }
  }
}