Skip to content

Instantly share code, notes, and snippets.

@reedobrien
Last active December 21, 2018 22:06
Show Gist options
  • Save reedobrien/b5a8c62b65ada8a1a4cd8e29e1487d7c to your computer and use it in GitHub Desktop.
Save reedobrien/b5a8c62b65ada8a1a4cd8e29e1487d7c to your computer and use it in GitHub Desktop.

Revisions

  1. reedobrien revised this gist Dec 21, 2018. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gistfile1.yml
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,13 @@
    ---
    foo: // Type Ta
    foo: # Type Ta
    bar:
    eggs: green // URN for type Tb located, resolved, an populated.
    eggs: green # URN for type Tb located, resolved, an populated.
    baz: huzzah

    or

    ---
    foo: // Type Ta
    bar: urn:example:... //URN for type Tb to be resolved by client if desired.
    foo: # Type Ta
    bar: urn:example:... # URN for type Tb to be resolved by client if desired.
    baz: huzzah

  2. reedobrien revised this gist Dec 21, 2018. 2 changed files with 13 additions and 17 deletions.
    17 changes: 0 additions & 17 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,17 +0,0 @@
    {
    "foo": { // Type Ta
    "bar": "urn:example:...", // URN for type Tb to be resolved by client if desired.
    "baz": "huzzah",
    }
    }

    or

    {
    "foo": { // Type Ta
    "bar": {
    "eggs": "green" // Resolved, located, and popluated type Tb.
    },
    "baz": "huzzah"
    }
    }
    13 changes: 13 additions & 0 deletions gistfile1.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    ---
    foo: // Type Ta
    bar:
    eggs: green // URN for type Tb located, resolved, an populated.
    baz: huzzah

    or

    ---
    foo: // Type Ta
    bar: urn:example:... //URN for type Tb to be resolved by client if desired.
    baz: huzzah

  3. reedobrien created this gist Dec 21, 2018.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    {
    "foo": { // Type Ta
    "bar": "urn:example:...", // URN for type Tb to be resolved by client if desired.
    "baz": "huzzah",
    }
    }

    or

    {
    "foo": { // Type Ta
    "bar": {
    "eggs": "green" // Resolved, located, and popluated type Tb.
    },
    "baz": "huzzah"
    }
    }