Variable GraffitiObjectJSONSchemaConst
GraffitiObjectJSONSchema : { properties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; name : { type : "string" } ; source : { type : "string" } ; tombstone : { type : "boolean" } ; value : { type : "object" } ; } ; required : readonly [ "value" , "channels" , "actor" , "name" , "source" , "lastModified" , "tombstone" , ] ; type : "object" ; }
Type declaration Readonly
properties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; name : { type : "string" } ; source : { type : "string" } ; tombstone : { type : "boolean" } ; value : { type : "object" } ; } Readonly
required : readonly [ "value" , "channels" , "actor" , "name" , "source" , "lastModified" , "tombstone" , ] Readonly
type : "object" Defined in node_modules/@graffiti-garden/api/dist/src/2-types.d.ts:121
A JSON Schema equivalent to the GraffitiObjectBase type. Needed internally for type inference of JSON Schemas, but can be used by implementations to validate objects.