generated from coulomb/repo-seed
72 lines
1.4 KiB
YAML
72 lines
1.4 KiB
YAML
$schema: "https://json-schema.org/draft/2020-12/schema"
|
|
$id: "https://railiance.local/fabric/schemas/state-hub-export.schema.yaml"
|
|
title: "FabricGraphExport"
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- apiVersion
|
|
- kind
|
|
- nodes
|
|
- edges
|
|
properties:
|
|
apiVersion:
|
|
type: string
|
|
const: railiance.fabric/v1alpha1
|
|
kind:
|
|
type: string
|
|
const: FabricGraphExport
|
|
generated_at:
|
|
type: string
|
|
format: date-time
|
|
source:
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
repo:
|
|
type: string
|
|
commit:
|
|
type: string
|
|
path:
|
|
type: string
|
|
nodes:
|
|
type: array
|
|
items:
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- id
|
|
- kind
|
|
- name
|
|
- repo
|
|
- domain
|
|
- lifecycle
|
|
properties:
|
|
id:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
kind:
|
|
type: string
|
|
name:
|
|
type: string
|
|
repo:
|
|
type: string
|
|
domain:
|
|
type: string
|
|
lifecycle:
|
|
type: string
|
|
edges:
|
|
type: array
|
|
items:
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- from
|
|
- to
|
|
- type
|
|
properties:
|
|
from:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
to:
|
|
$ref: "./common.schema.yaml#/$defs/graphId"
|
|
type:
|
|
type: string
|