Variable GraffitiPutObjectJSONSchemaConst
GraffitiPutObjectJSONSchema: {
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"];
} = ...
Type declaration
Readonly
type: "object"
Readonly
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" };
}
Readonly
additionalProperties: false
Readonly
required: readonly ["value", "channels"]
A JSON Schema equivalent to the GraffitiPutObject type. Needed internally for type inference of JSON Schemas, but can be used by implementations to validate objects.