Skip to content

Commit c585836

Browse files
Merge pull request #31 from GomathiselviS/dev_version
AAP-51520: Update pattern specification and schema versioning
2 parents 3e1d1b6 + f4e2881 commit c585836

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

specifications/pattern_specification.json renamed to specifications/pattern-schema/pattern-schema-dev.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://github.com/ansible/pattern-service/blob/main/specifications/pattern_specification.json",
3+
"$id": "https://raw.githubusercontent.com/ansible/pattern-service/main/specifications/pattern-schema/pattern-schema-dev.json",
44
"title": "Ansible Pattern Schema",
55
"description": "A schema for validating Ansible pattern definitions",
66
"type": "object",

specifications/pattern_specification.md renamed to specifications/pattern-specification/pattern-specification-dev.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Individual patterns that implement this specification are the responsibility of
3434

3535
### `meta/pattern.json`
3636

37-
The pattern definition meta file is the machine-readable entry point for creating an instance of the pattern in AAP. It defines the resources required to execute the pattern, such as a controller project, execution environment, job templates, and labels. The pattern definition also includes metadata about the pattern to enable its discovery and use, such as its title, audience, and tags. A [JSON schema](https://github.com/ansible/pattern-service/blob/main/specifications/pattern_specification.json) has been published to aid with validation of the pattern definition file.
37+
The pattern definition meta file is the machine-readable entry point for creating an instance of the pattern in AAP. It defines the resources required to execute the pattern, such as a controller project, execution environment, job templates, and labels. The pattern definition also includes metadata about the pattern to enable its discovery and use, such as its title, audience, and tags. A [JSON schema](https://github.com/ansible/pattern-service/blob/main/specifications/pattern-schema/pattern-schema-dev.json) has been published to aid with validation of the pattern definition file.
3838

3939
- A pattern **MUST** include exactly one meta file defining the pattern metadata and AAP resources it requires.
40-
- The pattern definition meta file **MUST** be a valid instance of the [Ansible pattern schema](https://github.com/ansible/pattern-service/blob/main/specifications/pattern_specification.json).
40+
- The pattern definition meta file **MUST** be a valid instance of the [Ansible pattern schema](https://github.com/ansible/pattern-service/blob/main/specifications/pattern-schema/pattern-schema-dev.json).
4141

4242
### `README.md`
4343

0 commit comments

Comments
 (0)