Skip to content
Snippets Groups Projects
Select Git revision
  • 02f9a588132444db628c94c228ab4cf489314631
  • iopsys default
  • uci-to-table
  • issue_fixed
  • greenkeeper/initial
  • master protected
  • karo/log
  • snyk-fix-8e3a3f5428e7d2f2a6a0b21052232807
  • snyk-fix-c6962d7d56b2e303922077c21f80e4c4
  • reqProp
  • semantic-release
  • type-arrays
  • console-logger
  • draft-07-support
  • contrib-tweak
  • 48-readme-status
  • 35-identifiable
  • 56-stable-sort
  • release/1.0.4
  • 36-attribute-links
  • 46-blockquote-escape
  • v3.3.1
  • v3.3.0
  • v3.2.0
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.1
  • v3.0.0
  • v2.1.2
  • v2.1.1
  • v2.1.0
  • v2.0.0
  • v1.0.0
  • 1.1.0
  • 1.0.6
  • 1.0.5
  • 1.0.2
  • 1.0.1
39 results

complex.schema.md

Blame
  • user avatar
    Lars Trieloff authored
    02f9a588
    History
    template: reference
    foo: bar

    Complex References Schema

    https://example.com/schemas/complex

    This is an example schema that uses types defined in other schemas.

    Abstract Extensible Custom Properties Defined In
    Can be instantiated No Forbidden complex.schema.json

    Schema Hierarchy

    • Complex References https://example.com/schemas/complex
      • Abstract https://example.com/schemas/abstract
      • Simple https://example.com/schemas/simple

    Complex References Properties

    Property Type Required Defined by
    refabstract complex Required Complex References (this schema)
    refnamed complex Optional Complex References (this schema)

    refabstract

    refabstract

    • is required
    • type: complex
    • defined in this schema

    refabstract Type

    Unknown type ``.

    {
      "properties": {
        "foo": {
          "type": "string",
          "description": "A unique identifier given to every addressable thing."
        }
      },
      "required": true,
      "simpletype": "complex"
    }

    refnamed

    refnamed

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

    refnamed Type

    Unknown type ``.

    {
      "$ref": "https://example.com/schemas/simple",
      "$linkVal": "Simple",
      "$linkPath": "simple.schema.md",
      "simpletype": "complex"
    }