Variable GraffitiObjectJSONSchemaConst
GraffitiObjectJSONSchema: {
type: "object";
properties: {
value: { type: "object" };
channels: { type: "array"; items: { type: "string" } };
allowed: { type: "array"; items: { type: "string" }; nullable: true };
url: { type: "string" };
actor: { type: "string" };
lastModified: { type: "number" };
};
additionalProperties: false;
required: readonly ["value", "channels", "actor", "url", "lastModified"];
} = ...
Type Declaration
Readonlytype: "object"
Readonlyproperties: {
value: { type: "object" };
channels: { type: "array"; items: { type: "string" } };
allowed: { type: "array"; items: { type: "string" }; nullable: true };
url: { type: "string" };
actor: { type: "string" };
lastModified: { type: "number" };
}
ReadonlyadditionalProperties: false
Readonlyrequired: readonly ["value", "channels", "actor", "url", "lastModified"]
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.