diff --git a/docs/v1/annotations.md b/docs/v1/annotations.md index cd553e3..77430be 100644 --- a/docs/v1/annotations.md +++ b/docs/v1/annotations.md @@ -34,3 +34,6 @@ This property contains arbitrary metadata, and SHOULD follow the rules of [OCI i ### Layer Annotation Keys - **`org.cnai.model.readme`**: Specifies the layer is a README.md file (boolean), such as `true` or `false`. +- **`org.cnai.model.license`**: Specifies the layer is a LICENSE file (boolean), such as `true` or `false`. +- **`org.cnai.model.config`**: Specifies the layer is a configuration file (boolean), such as `true` or `false`. +- **`org.cnai.model.model`**: Specifies the layer is a model file (boolean), such as `true` or `false`. diff --git a/specs-go/v1/annotations.go b/specs-go/v1/annotations.go index a7978fa..914ce68 100644 --- a/specs-go/v1/annotations.go +++ b/specs-go/v1/annotations.go @@ -83,4 +83,13 @@ const ( const ( // AnnotationReadme is the annotation key for the layer is a README.md file (boolean), such as `true` or `false`. AnnotationReadme = "org.cnai.model.readme" + + // AnnotationLicense is the annotation key for the layer is a license file (boolean), such as `true` or `false`. + AnnotationLicense = "org.cnai.model.license" + + // AnnotationConfig is the annotation key for the layer is a configuration file (boolean), such as `true` or `false`. + AnnotationConfig = "org.cnai.model.config" + + // AnnotationModel is the annotation key for the layer is a model file (boolean), such as `true` or `false`. + AnnotationModel = "org.cnai.model.model" )