Skip to content
Draft
Show file tree
Hide file tree
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
103 changes: 103 additions & 0 deletions schemas/2015-06-01/Microsoft.MarketplaceOrdering.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"id": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.MarketplaceOrdering.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.MarketplaceOrdering",
"description": "Microsoft MarketplaceOrdering Resource Types",
"resourceDefinitions": {},
"subscription_resourceDefinitions": {
"offerTypes_publishers_offers_plans_agreements": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2015-06-01"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^.*/current$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AgreementProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Agreement Terms definition"
},
"type": {
"type": "string",
"enum": [
"Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
}
},
"definitions": {
"AgreementProperties": {
"type": "object",
"properties": {
"accepted": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If any version of the terms have been accepted, otherwise false."
},
"licenseTextLink": {
"type": "string",
"description": "Link to HTML with Microsoft and Publisher terms."
},
"plan": {
"type": "string",
"description": "Plan identifier string of image being deployed."
},
"privacyPolicyLink": {
"type": "string",
"description": "Link to the privacy policy of the publisher."
},
"product": {
"type": "string",
"description": "Offer identifier string of image being deployed."
},
"publisher": {
"type": "string",
"description": "Publisher identifier string of image being deployed."
},
"retrieveDatetime": {
"type": "string",
"format": "date-time",
"description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false."
},
"signature": {
"type": "string",
"description": "Terms signature."
}
},
"description": "Agreement Terms definition"
}
}
}
107 changes: 107 additions & 0 deletions schemas/2021-01-01/Microsoft.MarketplaceOrdering.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.MarketplaceOrdering.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.MarketplaceOrdering",
"description": "Microsoft MarketplaceOrdering Resource Types",
"resourceDefinitions": {},
"subscription_resourceDefinitions": {
"offerTypes_publishers_offers_plans_agreements": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-01-01"
]
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^.*/current$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/AgreementProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Agreement Terms definition"
},
"type": {
"type": "string",
"enum": [
"Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.MarketplaceOrdering/offerTypes/publishers/offers/plans/agreements"
}
},
"definitions": {
"AgreementProperties": {
"type": "object",
"properties": {
"accepted": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If any version of the terms have been accepted, otherwise false."
},
"licenseTextLink": {
"type": "string",
"description": "Link to HTML with Microsoft and Publisher terms."
},
"marketplaceTermsLink": {
"type": "string",
"description": "Link to HTML with Azure Marketplace terms."
},
"plan": {
"type": "string",
"description": "Plan identifier string of image being deployed."
},
"privacyPolicyLink": {
"type": "string",
"description": "Link to the privacy policy of the publisher."
},
"product": {
"type": "string",
"description": "Offer identifier string of image being deployed."
},
"publisher": {
"type": "string",
"description": "Publisher identifier string of image being deployed."
},
"retrieveDatetime": {
"type": "string",
"format": "date-time",
"description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false."
},
"signature": {
"type": "string",
"description": "Terms signature."
}
},
"description": "Agreement Terms definition"
}
}
}