UC3 Garment Model Creation Service

The Metail Garment Model Creation service generates an OBI garment from an input Browzwear file. It will be invoked by starting an AWS Step Function execution.

The StartExecution API endpoint is documented here. The parameters of interest are:

Field Description
input JSON input data for the execution
name The name of the execution (a random UUID)
stateMachineArn ARN of the step function - will be known once the endpoint is in place

Input

The step function input JSON (serialized to a string in the input field above) must conform to the following schema:

{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://etryon-h2020.eu/schema/metail/uc3-garment-model-creation-service.json",
    "title": "Metail Garment Model Creation Service",
    "description": "Step function input for creating garment models",
    "type": "object",
    "properties": {
        "browzwearGarment": {
            "description": "Presigned GET URL for Browzwear file in Google Cloud Storage",
            "type": "string",
            "format": "uri"
        },
        "obiGarment": {
            "description": "Presigned PUT URL for the output OBI garment in Google Cloud Storage",
            "type": "string",
            "format": "uri"
        }
    },
    "required": ["browzwearGarment", "obiGarment"],
    "examples": [
        {
	        "browzwearGarment": "https://storage.googleapis.com/see-adr-0021",
            "obiGarment": "https://storage.googleapis.com/see-adr-0021"
        }
    ]
}