generated from coulomb/repo-seed
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
$id: "https://railiance.local/fabric/schemas/binding.schema.yaml"
|
|
title: "BindingAssertion"
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- apiVersion
|
|
- kind
|
|
- metadata
|
|
- spec
|
|
properties:
|
|
apiVersion:
|
|
$ref: "./common.schema.yaml#/$defs/apiVersion"
|
|
kind:
|
|
type: string
|
|
const: BindingAssertion
|
|
metadata:
|
|
$ref: "./common.schema.yaml#/$defs/metadata"
|
|
spec:
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- lifecycle
|
|
- environments
|
|
- dependency_id
|
|
- provider_capability_id
|
|
- status
|
|
- rationale
|
|
properties:
|
|
lifecycle:
|
|
$ref: "./common.schema.yaml#/$defs/lifecycle"
|
|
environments:
|
|
$ref: "./common.schema.yaml#/$defs/environments"
|
|
dependency_id:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
provider_capability_id:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
provider_interface_id:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
status:
|
|
type: string
|
|
enum:
|
|
- exact
|
|
- compatible
|
|
- degraded
|
|
- missing
|
|
- disputed
|
|
rationale:
|
|
type: string
|
|
minLength: 1
|
|
compatibility:
|
|
$ref: "./common.schema.yaml#/$defs/compatibility"
|