Skip to content

Instantly share code, notes, and snippets.

@jviotti
Last active October 3, 2024 15:57
Show Gist options
  • Save jviotti/1b9b2b6af0d153a45b30bbb32025d1d4 to your computer and use it in GitHub Desktop.
Save jviotti/1b9b2b6af0d153a45b30bbb32025d1d4 to your computer and use it in GitHub Desktop.
Annotations

Draft 7

  • if (boolean value)
    • We can do without annotations, with a monolith instruction for if/then/else
    • Affects then
    • Affects else

2019-09

  • if (boolean value)

    • We can do without annotations, with a monolith instruction for if/then/else
    • Affects then
    • Affects else
  • properties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects additionalProperties (can do without)
    • Affects unevaluatedProperties
  • patternProperties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects additionalProperties (can do without)
    • Affects unevaluatedProperties
  • additionalProperties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects unevaluatedProperties
  • unevaluatedProperties (set of strings)

    • Affects unevaluatedProperties
  • additionalItems (boolean)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects unevaluatedItems
  • items (boolean or indexes)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects additionalItems
    • Affects unevaluatedItems
  • unevaluatedItems (boolean)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects unevaluatedItems

2020-12

  • if (boolean value)

    • We can do without annotations, with a monolith instruction for if/then/else
    • Affects then
    • Affects else
  • properties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects additionalProperties (can do without)
    • Affects unevaluatedProperties
  • patternProperties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects additionalProperties (can do without)
    • Affects unevaluatedProperties
  • additionalProperties (set of strings)

    • We can easily do without annotations if unevaluatedProperties is not present
    • Affects unevaluatedProperties
  • unevaluatedProperties (set of strings)

    • Affects unevaluatedProperties
  • prefixItems (boolean or indexes)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects items
    • Affects unevaluatedItems
  • items (boolean)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects unevaluatedItems
  • contains (boolean or indexes)

    • We can easily do without annotations if unevaluatedItems is not present
    • Affects unevaluatedItems
  • unevaluatedItems (boolean)

    • Affects unevaluatedItems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment