Response body schema for GET /v1/metadata-schemas/{resource}
.
Name | Type | Description | Notes |
---|---|---|---|
id | str | Unique identifier of the metadata schema. | [optional] |
related_object | str | The resource type. You can define custom metadata schemas, which have a custom `"related_object"` resource type. The standard metadata schemas are: `"campaign"`, `"customer"`, `"earning_rule"`, `"loyalty_tier"`, `"order"`, `"order_item"`, `"product"`, `"promotion_tier"`, `"publication"`, `"redemption"`, `"reward"`, `"voucher"`. | [optional] |
properties | object | Contains metadata definitions. | [optional] |
allow_defined_only | bool | Restricts the creation of metadata fields when set to `true`. It indicates whether or not you can create new metadata definitions, e.g. in the campaign or publication manager. If set to `true`, then only the defined fields are available for assigning values. | [optional] |
created_at | datetime | Timestamp representing the date and time when the metadata schema was created. The value for this parameter is shown in the ISO 8601 format. | [optional] |
updated_at | datetime | Timestamp representing the date and time when the metadata schema was updated. The value for this parameter is shown in the ISO 8601 format. | [optional] |
object | str | The type of the object represented by the JSON. This object stores information about the metadata schema. | [optional] [default to 'metadata_schema'] |