Skip to content
Closed
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
239 changes: 96 additions & 143 deletions schemas/2018-08-20-preview/Microsoft.HealthcareApis.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,16 @@
"services": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 3,
"maxLength": 24,
"description": "The name of the service instance."
},
"type": {
"type": "string",
"enum": [
"Microsoft.HealthcareApis/services"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2018-08-20-preview"
]
},
"etag": {
"type": "string",
"description": "An etag associated with the resource, used for optimistic concurrency when editing it."
},
"kind": {
"oneOf": [
{
Expand All @@ -39,49 +31,58 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The kind of the service. Valid values are: fhir."
"description": "The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4."
},
"location": {
"type": "string",
"description": "The resource location."
},
"tags": {
"name": {
"type": "string",
"minLength": 3,
"maxLength": 24,
"description": "The name of the service instance."
},
"properties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
"$ref": "#/definitions/ServicesProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The resource tags."
},
"etag": {
"type": "string",
"description": "An etag associated with the resource, used for optimistic concurrency when editing it."
"description": "The properties of a service instance."
},
"properties": {
"tags": {
"oneOf": [
{
"$ref": "#/definitions/ServicesProperties"
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The common properties of a service."
"description": "The resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.HealthcareApis/services"
]
}
},
"required": [
"name",
"type",
"apiVersion",
"kind",
"location",
"properties"
"name",
"properties",
"type"
],
"description": "Microsoft.HealthcareApis/services"
}
Expand All @@ -100,177 +101,129 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "An Azure AD object ID (User or Apps) that is allowed access to the FHIR service."
"description": "An object ID that is allowed access to the FHIR service."
}
},
"required": [
"objectId"
],
"description": "An access policy entry."
},
"ServiceCosmosDbConfigurationInfo": {
"ServiceAuthenticationConfigurationInfo": {
"type": "object",
"properties": {
"offerThroughput": {
"audience": {
"type": "string",
"description": "The audience url for the service"
},
"authority": {
"type": "string",
"description": "The authority url for the service"
},
"smartProxyEnabled": {
"oneOf": [
{
"type": "integer"
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The provisioned throughput for the backing database."
"description": "If the SMART on FHIR proxy is enabled"
}
},
"description": "The settings for the Cosmos DB database backing the service."
"description": "Authentication configuration information"
},
"ServiceAuthenticationConfigurationInfo": {
"ServiceCorsConfigurationInfo": {
"type": "object",
"properties": {
"authority": {
"allowCredentials": {
"oneOf": [
{
"type": "string",
"description": "The authority url for the service"
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"readOnly": false
"description": "If credentials are allowed via CORS."
},
"audience": {
"headers": {
"oneOf": [
{
"type": "string",
"description": "The audience url for the service"
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"readOnly": false
"description": "The headers to be allowed via CORS."
},
"smartProxyEnabled": {
"maxAge": {
"oneOf": [
{
"type": "boolean",
"description": "If the SMART on FHIR proxy is enabled"
"type": "integer",
"minimum": 0,
"maximum": 99999
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"readOnly": false
}
},
"description": "Authentication configuration information"
},
"ServiceCorsConfigurationInfo": {
"type": "object",
"properties": {
"origins": {
"readOnly": false,
"oneOf": [
{
"type": "array",
"description": "The origins to be allowed via CORS.",
"items": {
"anyOf": [
{
"type": "string",
"description": "An origin for CORS.",
"pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
"description": "The max age to be allowed via CORS."
},
"headers": {
"readOnly": false,
"methods": {
"oneOf": [
{
"type": "array",
"description": "The headers to be allowed via CORS.",
"items": {
"anyOf": [
{
"type": "string",
"description": "A header for CORS."
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
],
"description": "The methods to be allowed via CORS."
},
"methods": {
"readOnly": false,
"origins": {
"oneOf": [
{
"type": "array",
"description": "The methods to be allowed via CORS.",
"items": {
"anyOf": [
{
"type": "string",
"description": "A method for CORS.",
"enum": [
"DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"maxAge": {
"readOnly": false,
],
"description": "The origins to be allowed via CORS."
}
},
"description": "The settings for the CORS configuration of the service instance."
},
"ServiceCosmosDbConfigurationInfo": {
"type": "object",
"properties": {
"offerThroughput": {
"oneOf": [
{
"type": "integer",
"description": "The max age to be allowed via CORS.",
"minimum": 0,
"maximum": 99999
"minimum": 400,
"maximum": 10000
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"allowCredentials": {
"readOnly": false,
"oneOf": [
{
"type": "boolean",
"description": "If credentials are allowed via CORS."
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
],
"description": "The provisioned throughput for the backing database."
}
},
"description": "The settings for the CORS configuration of the service instance."
"description": "The settings for the Cosmos DB database backing the service."
},
"ServicesProperties": {
"type": "object",
Expand All @@ -289,38 +242,38 @@
],
"description": "The access policies of the service instance."
},
"cosmosDbConfiguration": {
"authenticationConfiguration": {
"oneOf": [
{
"$ref": "#/definitions/ServiceCosmosDbConfigurationInfo"
"$ref": "#/definitions/ServiceAuthenticationConfigurationInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The settings for the Cosmos DB database backing the service."
"description": "Authentication configuration information"
},
"authenticationConfiguration": {
"corsConfiguration": {
"oneOf": [
{
"$ref": "#/definitions/ServiceAuthenticationConfigurationInfo"
"$ref": "#/definitions/ServiceCorsConfigurationInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The authentication configuration for the service instance."
"description": "The settings for the CORS configuration of the service instance."
},
"corsConfiguration": {
"oneOf": [
{
"$ref": "#/definitions/ServiceCorsConfigurationInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The settings for the CORS configuration of the service instance."
"cosmosDbConfiguration": {
"oneOf": [
{
"$ref": "#/definitions/ServiceCosmosDbConfigurationInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The settings for the Cosmos DB database backing the service."
}
},
"description": "The properties of a service instance."
Expand Down
Loading