mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-07-18 08:26:58 +08:00
add schema bootstrap
This commit is contained in:
parent
73706cfdce
commit
8efd1feb80
9 changed files with 28 additions and 3 deletions
|
@ -18,5 +18,8 @@ key: mnt-routes optional multiple lookup=dn42.mntner
|
|||
key: org optional single lookup=dn42.organisation
|
||||
key: remarks optional multiple
|
||||
key: source required single lookup=dn42.registry
|
||||
network-owner: inet6num
|
||||
network-owner: inetnum
|
||||
network-owner: route6
|
||||
mnt-by: DN42-MNT
|
||||
source: DN42
|
||||
|
|
|
@ -18,5 +18,7 @@ key: mnt-routes optional multiple lookup=dn42.mntner
|
|||
key: org optional single lookup=dn42.organisation
|
||||
key: remarks optional multiple
|
||||
key: source required single lookup=dn42.registry
|
||||
network-owner: inetnum
|
||||
network-owner: route
|
||||
mnt-by: DN42-MNT
|
||||
source: DN42
|
||||
|
|
9
data/schema/NAMESPACE-SCHEMA
Normal file
9
data/schema/NAMESPACE-SCHEMA
Normal file
|
@ -0,0 +1,9 @@
|
|||
schema: NAMESPACE-SCHEMA
|
||||
ref: dn42.schema
|
||||
key: namespace required single primary schema > [name]
|
||||
key: ns-schema required single > [schema]
|
||||
key: ns-owner required single > [schema]
|
||||
key: default-owner optional single lookup=dn42.mntner > [mntner]
|
||||
key: network-owner optional multiple > [parent-schema] [child-schema]
|
||||
mnt-by: DN42-MNT
|
||||
source: DN42
|
|
@ -9,6 +9,7 @@ key: key required multiple > [key-name]
|
|||
key: mnt-by required multiple lookup=dn42.mntner > [mntner]
|
||||
key: remarks optional multiple > [text]...
|
||||
key: source required single lookup=dn42.registry
|
||||
key: network-owner optional multiple > [child-schema]
|
||||
mnt-by: DN42-MNT
|
||||
source: DN42
|
||||
remarks: # option descriptions
|
||||
|
|
0
data/schema/key
Normal file
0
data/schema/key
Normal file
Loading…
Add table
Add a link
Reference in a new issue