Advertisement
Dimitar46

JSON Schema file

Apr 7th, 2024
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.86 KB | None | 0 0
  1. {
  2.   "$schema": "http://json-schema.org/draft-04/schema",
  3.   "title": "JSON Schema for Projects",
  4.   "type": "object",
  5.   "properties": {
  6.     "projects": {
  7.       "type": "array",
  8.       "items": {
  9.         "type": "object",
  10.         "properties": {
  11.           "title": {
  12.             "type": "string"
  13.           },
  14.           "description": {
  15.             "type": "string"
  16.           },
  17.           "author": {
  18.             "type": "string"
  19.           },
  20.           "programmingLanguage": {
  21.             "type": "string"
  22.           },
  23.           "completionTime": {
  24.             "type": "integer",
  25.             "minimum": 1
  26.           },
  27.           "status": {
  28.             "type": "string"
  29.           }
  30.         },
  31.         "required": [ "title", "description", "author", "programmingLanguage", "completionTime", "status" ]
  32.       }
  33.     }
  34.   },
  35.   "required": [ "projects" ]
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement