generated from coulomb/repo-seed
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
$id: "https://railiance.local/fabric/schemas/capability.schema.yaml"
|
|
title: "CapabilityDeclaration"
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- apiVersion
|
|
- kind
|
|
- metadata
|
|
- spec
|
|
properties:
|
|
apiVersion:
|
|
$ref: "./common.schema.yaml#/$defs/apiVersion"
|
|
kind:
|
|
type: string
|
|
const: CapabilityDeclaration
|
|
metadata:
|
|
$ref: "./common.schema.yaml#/$defs/metadata"
|
|
spec:
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- lifecycle
|
|
- environments
|
|
- description
|
|
- capability_type
|
|
- service_id
|
|
- criticality
|
|
- data_classification
|
|
properties:
|
|
lifecycle:
|
|
$ref: "./common.schema.yaml#/$defs/lifecycle"
|
|
environments:
|
|
$ref: "./common.schema.yaml#/$defs/environments"
|
|
description:
|
|
type: string
|
|
minLength: 1
|
|
capability_type:
|
|
type: string
|
|
minLength: 1
|
|
service_id:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
interface_ids:
|
|
type: array
|
|
items:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
criticality:
|
|
$ref: "./common.schema.yaml#/$defs/criticality"
|
|
data_classification:
|
|
$ref: "./common.schema.yaml#/$defs/dataClassification"
|
|
compatibility:
|
|
$ref: "./common.schema.yaml#/$defs/compatibility"
|