Skip to content

Commit 8ffaf0f

Browse files
Merge pull request #1394 from Azure/anthony-c-martin-patch-2
Add note about schema deprecation to README.md
2 parents 6999c00 + c599f91 commit 8ffaf0f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,13 @@ npm run generate-single myprovider/resource-manager
3434
Alternatively, you can hand-author your schema, but **please note** that this process is error-prone, and ARM will not be responsible for reviewing for accuracy when validating your PR.
3535

3636
### Submitting a PR
37-
* Ensure that any new resource types that you are adding have been added to the following top-level template schemas:
38-
* [schemas/2014-04-01-preview/deploymentTemplate.json](/schemas/2014-04-01-preview/deploymentTemplate.json)
39-
* [schemas/2015-01-01/deploymentTemplate.json](/schemas/2015-01-01/deploymentTemplate.json)
40-
* [schemas/2019-04-01/deploymentTemplate.json](/schemas/2019-04-01/deploymentTemplate.json)
37+
* Ensure that any $refs to resource types that you are adding has been added to the following top-level template schema: [schemas/2019-04-01/deploymentTemplate.json](/schemas/2019-04-01/deploymentTemplate.json)
4138
* If your schema has been manually generated, please ensure you include appropriate tests in [tests](/tests/)
4239
* If adding a new resource type, please add examples to the templates in [tools/templateTests](/tools/templateTests/)
4340
* Ensure that the test suite passes (see [Tests](#tests))
4441

42+
> **NOTE**: We will no longer be taking any updates to the [2015-01-01](/schemas/2015-01-01/deploymentTemplate.json) or [2014-04-01-preview](/schemas/2014-04-01-preview/deploymentTemplate.json) root schemas. If you are authoring a template which references one of these schemas, please upgrade it to use the [2019-04-01](/schemas/2019-04-01/deploymentTemplate.json) root schema by setting the `$schema` property to `https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#"`.
43+
4544
### Runing Unit Tests
4645
Use the following commands to execute the test suite locally:
4746
```bash

0 commit comments

Comments
 (0)