generated from coulomb/repo-seed
Establish Railiance Fabric graph model
This commit is contained in:
71
schemas/state-hub-export.schema.yaml
Normal file
71
schemas/state-hub-export.schema.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
$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
|
||||
Reference in New Issue
Block a user