{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-personalize/json-schema/amazon-personalize-create-schema-request-schema.json",
  "title": "CreateSchemaRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-personalize-schema-api-openapi.yml#/components/schemas/CreateSchemaRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name for the schema."
    },
    "schema": {
      "type": "string",
      "description": "A schema in Avro JSON format."
    },
    "domain": {
      "type": "string",
      "enum": [
        "ECOMMERCE",
        "VIDEO_ON_DEMAND"
      ],
      "description": "The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group."
    }
  },
  "required": [
    "name",
    "schema"
  ]
}