Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 71 additions & 29 deletions schemas/2020-01-01/Microsoft.Marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,52 +134,37 @@
}
},
"definitions": {
"Icon": {
"OfferProperties": {
"type": "object",
"properties": {
"iconKind": {
"eTag": {
"type": "string",
"description": "Identifier for purposes of race condition"
},
"iconFileUris": {
"oneOf": [
{
"type": "string",
"enum": [
"Small",
"Medium",
"Large",
"Wide",
"Hero"
]
"$ref": "#/definitions/OfferPropertiesIconFileUris"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Icon size."
"description": "Icon File Uris"
},
"uri": {
"type": "string",
"description": "Icon uri"
}
}
},
"OfferProperties": {
"type": "object",
"properties": {
"eTag": {
"type": "string",
"description": "Identifier for purposes of race condition"
},
"iconFileUris": {
"plans": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Icon"
"$ref": "#/definitions/Plan"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
],
"description": "Offer plans"
},
"specificPlanIdsLimitation": {
"oneOf": [
Expand All @@ -196,11 +181,68 @@
"description": "Plan ids limitation for this offer"
},
"updateSuppressedDueIdempotence": {
"type": "string",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated."
}
}
},
"OfferPropertiesIconFileUris": {
"type": "object",
"properties": {
"iconKind": {
"oneOf": [
{
"type": "string",
"enum": [
"Small",
"Medium",
"Large",
"Wide",
"Hero"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Icon size."
},
"uri": {
"type": "string",
"description": "Icon uri"
}
},
"description": "Icon File Uris"
},
"Plan": {
"type": "object",
"properties": {
"accessibility": {
"oneOf": [
{
"type": "string",
"enum": [
"Unknown",
"Public",
"PrivateTenantOnLevel",
"PrivateSubscriptionOnLevel"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Plan accessibility."
}
}
},
"PrivateStoreProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -328,4 +370,4 @@
"description": "Microsoft.Marketplace/privateStores/offers"
}
}
}
}