Skip to content

Commit 14d4f12

Browse files
authored
Merge pull request #98 from tarilabs/tarilabs-20250707-fupAnnPrefix
core: change Annotation prefix
2 parents 8b3a579 + 9eb8979 commit 14d4f12

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/annotations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ This property contains arbitrary metadata, and SHOULD follow the rules of [OCI i
66

77
### Layer Annotation Keys
88

9-
- **`org.cnai.model.filepath`**: Specifies the file path of the layer (string).
9+
- **`org.cncf.model.filepath`**: Specifies the file path of the layer (string).
1010

11-
- **`org.cnai.model.file.metadata+json`**: Specifies the metadata of the file (string), value is the JSON string of [File Metadata Annotation Value](#File-Metadata-Annotation-Value).
11+
- **`org.cncf.model.file.metadata+json`**: Specifies the metadata of the file (string), value is the JSON string of [File Metadata Annotation Value](#File-Metadata-Annotation-Value).
1212

13-
- **`org.cnai.model.file.mediatype.untested`**: Indicates whether the media type classification of files in the layer is untested (string). Valid values are `"true"` or `"false"`. When set to `"true"`, it signals that the model packager has not verified the media type classification and the type is inferred or assumed based on some heuristics.
13+
- **`org.cncf.model.file.mediatype.untested`**: Indicates whether the media type classification of files in the layer is untested (string). Valid values are `"true"` or `"false"`. When set to `"true"`, it signals that the model packager has not verified the media type classification and the type is inferred or assumed based on some heuristics.
1414

1515
### Layer Annotation Values
1616

specs-go/v1/annotations.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import "time"
2020

2121
const (
2222
// AnnotationFilepath is the annotation key for the file path of the layer.
23-
AnnotationFilepath = "org.cnai.model.filepath"
23+
AnnotationFilepath = "org.cncf.model.filepath"
2424

2525
// AnnotationFileMetadata is the annotation key for the file metadata of the layer.
26-
AnnotationFileMetadata = "org.cnai.model.file.metadata+json"
26+
AnnotationFileMetadata = "org.cncf.model.file.metadata+json"
2727

2828
// AnnotationUntested is the annotation key for file media type untested flag of the layer.
29-
AnnotationMediaTypeUntested = "org.cnai.model.file.mediatype.untested"
29+
AnnotationMediaTypeUntested = "org.cncf.model.file.mediatype.untested"
3030
)
3131

3232
// FileMetadata represents the metadata of file, which is the value definition of AnnotationFileMetadata.

0 commit comments

Comments
 (0)