{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-lookout-for-vision/refs/heads/main/json-schema/amazon-lookout-for-vision-create-dataset-request-schema.json",
"title": "CreateDatasetRequest",
"description": "CreateDatasetRequest schema from Amazon Lookout for Vision API",
"type": "object",
"properties": {
"DatasetType": {
"allOf": [
{
"$ref": "#/components/schemas/DatasetType"
},
{
"description": "The type of the dataset. Specify train for a training dataset. Specify test for a test dataset."
}
]
},
"DatasetSource": {
"allOf": [
{
"$ref": "#/components/schemas/DatasetSource"
},
{
"description": "
The location of the manifest file that Amazon Lookout for Vision uses to create the dataset.
If you don't specify DatasetSource, an empty dataset is created and the operation synchronously returns. Later, you can add JSON Lines by calling UpdateDatasetEntries.
If you specify a value for DataSource, the manifest at the S3 location is validated and used to create the dataset. The call to CreateDataset is asynchronous and might take a while to complete. To find out the current status, Check the value of Status returned in a call to DescribeDataset.