ProductVariantUpdated
v0.0.1

ProductVariantUpdated

This event is triggered when a ProductVariant is updated

ProductVariantUpdated Schema (json)
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "ProductVariantUpdated",
  "required": ["detail-type", "resources", "detail", "id", "source", "time", "region", "version", "account"],
  "type": "object",
  "x-amazon-events-detail-type": "ProductVariantUpdated",
  "x-amazon-events-source": "brink.external.v1",
  "properties": {
    "account": {
      "type": "string"
    },
    "detail": {
      "$ref": "#/definitions/Detail"
    },
    "detail-type": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "resources": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "source": {
      "type": "string"
    },
    "time": {
      "format": "date-time",
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "definitions": {
    "Data": {
      "properties": {
        "id": {
          "type": "string"
        },
        "customAttributes": {
          "$ref": "#/definitions/CustomAttributes"
        },
        "tags": {
          "$ref": "#/definitions/Tags"
        },
        "revision": {
          "description": "the revision number of the ProductVariant",
          "type": "integer"
        }
      },
      "required": ["id", "customAttributes", "tags"],
      "type": "object"
    },
    "Metadata": {
      "properties": {
        "awsRequestId": {
          "type": "string"
        }
      },
      "required": ["awsRequestId"],
      "type": "object"
    },
    "Detail": {
      "properties": {
        "data": {
          "$ref": "#/definitions/Data"
        },
        "metadata": {
          "$ref": "#/definitions/Metadata"
        }
      },
      "required": ["metadata", "data"],
      "type": "object"
    },
    "Tags": {
      "patternProperties": {
        "^[A-Za-z0-9_-]{1,20}$": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^[^
\t]+$",
            "maxLength": 40,
            "uniqueItems": true
          },
          "minItems": 1,
          "maxItems": 10,
          "uniqueItems": true
        }
      },
      "additionalProperties": false,
      "maxProperties": 20,
      "type": "object"
    },
    "CustomAttributes": {
      "patternProperties": {
        "^[A-Za-z0-9_-]{1,20}$": {
          "type": "string",
          "maxLength": 500
        }
      },
      "additionalProperties": false,
      "maxProperties": 50,
      "type": "object"
    }
  }
}
Last updated on 2024/11/15