Variable GraffitiObjectJSONSchemaConst GraffitiObjectJSONSchema : { additionalProperties : false ; properties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; url : { type : "string" } ; value : { type : "object" } ; } ; required : readonly [ "value" , "channels" , "actor" , "url" , "lastModified" ] ; type : "object" ; }
Type Declaration ReadonlyadditionalProperties : false Readonlyproperties : { actor : { type : "string" } ; allowed : { items : { type : "string" } ; nullable : true ; type : "array" } ; channels : { items : { type : "string" } ; type : "array" } ; lastModified : { type : "number" } ; url : { type : "string" } ; value : { type : "object" } ; } Readonlyrequired : readonly [ "value" , "channels" , "actor" , "url" , "lastModified" ] Readonlytype : "object" Defined in node_modules/@graffiti-garden/api/dist/src/2-types.d.ts:123
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.