Thursday, November 10, 2022

JSON Schema


json schema all data is accepted unless rejected

"$schema": - version of spec

"$id": "http://csfox.com/schema/object-record" URI namespace use with another

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

"properties": {

"type": "string",

"minlength": 1

object, null

additionalProperties: {

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

    minLength: 1

schema6

https://app.quicktype.io/#|=schema


 method GET PUT 

path /update

params

headers - application/json

body payload

filter input controller  

action model

 escape output view




Wednesday, November 2, 2022