Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api tos license contact parameter schema #13252

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -491,10 +491,54 @@
"subscriptionRequired": {
"type": "boolean",
"description": "Specifies whether an API or Product subscription is required for accessing the API."
},
"termsOfServiceUrl": {
"type": "string",
"description": " A URL to the Terms of Service for the API. MUST be in the format of a URL."
},
"contact": {
"$ref": "#/definitions/ApiContactInformation",
"description": "Contact information for the API."
},
"license": {
"$ref": "#/definitions/ApiLicenseInformation",
"description": "License information for the API."
}
},
"description": "API base contract details."
},
"ApiContactInformation": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The identifying name of the contact person/organization"
},
"url": {
"type": "string",
"description": "The URL pointing to the contact information. MUST be in the format of a URL"
},
"email": {
"type": "string",
"description": "The email address of the contact person/organization. MUST be in the format of an email address"
}
},
"description": "API contact information"
},
"ApiLicenseInformation": {
"type": "object",
"description": "API license information",
"properties": {
"name": {
"type": "string",
"description": "The license name used for the API"
},
"url": {
"type": "string",
"description": "A URL to the license used for the API. MUST be in the format of a URL"
}
}
},
"ApiExportResult": {
"properties": {
"id": {
Expand Down Expand Up @@ -3635,6 +3679,14 @@
"type": "string"
},
"description": "Parameter values."
},
"schemaId": {
"type": "string",
"description": "Schema identifier."
},
"typeName": {
"type": "string",
"description": "Type name defined by the schema."
}
},
"required": [
Expand Down