Skip to content

Latest commit

 

History

History
149 lines (80 loc) · 2.75 KB

extending.schema.md

File metadata and controls

149 lines (80 loc) · 2.75 KB
template foo
reference
bar

Extending Schema

https://example.com/schemas/extending

This is an extending schema. It pulls definitions from other schemas.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental Yes Forbidden Permitted extending.schema.json

Schema Hierarchy

  • Extending https://example.com/schemas/extending

Extending Properties

Property Type Required Defined by
@id string Optional Definitions
bar string Optional Extensible
baz string Optional Extending (this schema)
id string Optional Definitions
meta:id string Optional Definitions
* any Additional this schema allows additional properties

@id

An id with an @ in front of it. The @ stands for "dot com"

@id

@id Type

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

bar

A horse walks into it.

bar

bar Type

string

bar Examples

"whoo"
"hoo"

baz

BAAAZ!

This property has a unique name to demonstrate it's uniqueness.

baz

  • is optional
  • type: string
  • defined in this schema

baz Type

string

baz Example

"I'm just a humble example"

id

A unique identifier given to every addressable thing.

id

id Type

string

  • format: uri-reference – URI Reference (according to RFC3986)

meta:id

An about ids. It is meta. If you are confused, send an email to the address specified in this property value.

meta:id

meta:id Type

string