Skip to content

Instantly share code, notes, and snippets.

@copygirl
Created October 16, 2018 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save copygirl/a22530d76eac5a98f9ca9d0324282af4 to your computer and use it in GitHub Desktop.
Save copygirl/a22530d76eac5a98f9ca9d0324282af4 to your computer and use it in GitHub Desktop.
jsonschema:
GltfId: Natural
GltfProperty:
extensions: JsonNode
extras: JsonNode
GltfAsset extends GltfProperty:
version: string ## The glTF version that this asset targets.
minVersion?: string ## The minimum glTF version that this asset targets.
copyright?: string ## A copyright message suitable for display to credit the content creator.
generator?: string ## Tool that generated this glTF model. Useful for debugging.
type
GltfId* = Natural
GltfProperty* = object {.inheritable.}
extensions*: JsonNode
extras*: JsonNode
GltfAsset* = object {.inheritable.}of GltfProperty
version*: string ## The glTF version that this asset targets.
minVersion*: string
copyright*: string
generator*: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment