Component record - declares an implementation of a type
tid
Timestamp-based ID
Properties
accepts
array
of
ref
#acceptsEntry
Optional
Data types this component can render. Used for data-driven discovery.
body
union
Optional
How this component is rendered. Omit for primitives rendered by the host.
createdAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
description
string
Optional
No description available.
imports
array
of
ref
#import
Optional
Where to resolve types from
type
string
nsid
Required
NSID this component implements (also the XRPC procedure)
via
union
Optional
Platform-managed deployment metadata
view
array
of
union
Optional
What kinds of pages this component is a view for
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"type"
],
"properties": {
"via": {
"refs": [
"at.inlay.defs#viaValtown"
],
"type": "union",
"description": "Platform-managed deployment metadata"
},
"body": {
"refs": [
"#bodyExternal",
"#bodyTemplate"
],
"type": "union",
"description": "How this component is rendered. Omit for primitives rendered by the host."
},
"type": {
"type": "string",
"format": "nsid",
"description": "NSID this component implements (also the XRPC procedure)"
},
"view": {
"type": "array",
"items": {
"refs": [
"#viewRecord",
"#viewCollection",
"#viewIdentity"
],
"type": "union"
},
"description": "What kinds of pages this component is a view for"
},
"accepts": {
"type": "array",
"items": {
"ref": "#acceptsEntry",
"type": "ref"
},
"description": "Data types this component can render. Used for data-driven discovery."
},
"imports": {
"type": "array",
"items": {
"ref": "#import",
"type": "ref"
},
"description": "Where to resolve types from"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"description": {
"type": "string"
}
}
},
"description": "Component record - declares an implementation of a type"
}