A Prismaliser Prisma schema and graph layout snapshot.
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
The time at which this snapshot was created.
name
string
Optional
An optional name for the shared diagram.
maxLength: 160 bytesmaxGraphemes: 80 graphemespositions
array
of
ref
#position
Required
The saved positions of the diagram's nodes.
maxLength: 5000 itemsprismaVersion
string
Required
The Prisma version used to parse the schema.
maxLength: 64 bytesschema
blob
Required
The Prisma schema text used to render the diagram.
maxSize: 500.0 KBView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"schema",
"positions",
"prismaVersion",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 160,
"description": "An optional name for the shared diagram.",
"maxGraphemes": 80
},
"schema": {
"type": "blob",
"accept": [
"text/plain"
],
"maxSize": 500000,
"description": "The Prisma schema text used to render the diagram."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "The time at which this snapshot was created."
},
"positions": {
"type": "array",
"items": {
"ref": "#position",
"type": "ref"
},
"maxLength": 5000,
"description": "The saved positions of the diagram's nodes."
},
"prismaVersion": {
"type": "string",
"maxLength": 64,
"description": "The Prisma version used to parse the schema."
}
}
},
"description": "A Prismaliser Prisma schema and graph layout snapshot."
}