Response body schema for POST management/v1/projects/{projectId}/metadata-schemas
.
Name | Type | Description |
---|---|---|
id | String | Unique identifier of the metadata schema. |
relatedObject | String | 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"`. |
properties | Map<String, ManagementProjectsMetadataSchemaDefinition> | Contains metadata definitions. |
allowDefinedOnly | Boolean | 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. |
createdAt | OffsetDateTime | Timestamp representing the date and time when the metadata schema was created. The value for this parameter is shown in the ISO 8601 format. |
updatedAt | OffsetDateTime | Timestamp representing the date and time when the metadata schema was updated. The value for this parameter is shown in the ISO 8601 format. |
_object | String | The type of the object represented by the JSON. This object stores information about the metadata schema. |