enum.value.schema.json 851 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "$id": "enum.value.schema.json",
  4. "title": "Enum Value in EXT_structural_metadata",
  5. "type": "object",
  6. "description": "An enum value.",
  7. "allOf": [
  8. {
  9. "$ref": "glTFProperty.schema.json"
  10. }
  11. ],
  12. "properties": {
  13. "name": {
  14. "type": "string",
  15. "minLength": 1,
  16. "description": "The name of the enum value."
  17. },
  18. "description": {
  19. "type": "string",
  20. "minLength": 1,
  21. "description": "The description of the enum value."
  22. },
  23. "value": {
  24. "type": "integer",
  25. "description": "The integer enum value."
  26. },
  27. "extensions": {},
  28. "extras": {}
  29. },
  30. "required": [
  31. "name",
  32. "value"
  33. ]
  34. }