Thursday, November 10, 2022

JSON Schema

json schema all data is accepted unless rejected

"$schema": - version of spec

"$id": "" URI namespace use with another

"type": object, OR "definitions":  { "$id" "#ID"

"properties": {

"type": "string",

"minlength": 1

object, null

additionalProperties: {

    "type": ["integer","string"],

    minLength: 1


 method GET PUT 

path /update


headers - application/json

body payload

filter input controller  

action model

 escape output view

Wednesday, November 2, 2022