Skip to content

Commit

Permalink
remove schemas from spec and refer to ocm repo instead (#57)
Browse files Browse the repository at this point in the history
**What this PR does / why we need it**:
Maintain OCM schemas only at one location

**Which issue(s) this PR fixes**:
Fixes /51

**Special notes for your reviewer**:

**Release note**:
<!--  Write your release note:
1. Enter your release note in the below block.
2. If no release note is required, just write "NONE" within the block.

Format of block header: <category> <target_group>
Possible values:
- category:       breaking|feature|bugfix|doc|other
- target_group:   user|operator|developer|dependency
-->
```feature user

```
  • Loading branch information
jensh007 authored Jun 12, 2023
1 parent bb48b85 commit 9fc863b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 926 deletions.
2 changes: 1 addition & 1 deletion doc/specification/formats/compdesc/v2/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Component Descriptor Serialization Version V2

A *Component Descriptor* of version v2 is a [YAML](https://yaml.org/) or [JSON](https://www.json.org/json-en.html) document according to this [schema](json-schema.yaml). Additional fields are not allowed.
A *Component Descriptor* of version v2 is a [YAML](https://yaml.org/) or [JSON](https://www.json.org/json-en.html) document according to this [schema](https://github.com/open-component-model/ocm/blob/main/resources/component-descriptor-v2-schema.yaml). Additional fields are not allowed. Note that the schemas are maintained in a different Git repository.

In serialised form, *Component Descriptors* MUST be UTF-8-encoded. Either YAML, or JSON MUST be used. If YAML is used as serialisation format, only the subset of features defined by JSON MUST be used, thus allowing conversion to a JSON representation.

Expand Down
Loading

0 comments on commit 9fc863b

Please sign in to comment.