diff --git a/crates/jacquard-api/Cargo.toml b/crates/jacquard-api/Cargo.toml index e9479b5f7..673c51a63 100644 --- a/crates/jacquard-api/Cargo.toml +++ b/crates/jacquard-api/Cargo.toml @@ -42,8 +42,6 @@ ufos = [ "moe_karashiiro", "dev_regnault", "buzz_bookhive", "uk_ewancroft", "wi streaming = ["jacquard-common/websocket"] -# --- generated --- -# Generated namespace features app_blebbit = [] app_bsky = [] app_ocho = [] @@ -100,3 +98,6 @@ uk_ewancroft = [] uk_skyblur = [] us_polhem = [] win_tomo_x = [] + +# --- generated --- +# Generated namespace features diff --git a/crates/jacquard-api/lexicons/app_bsky_actor_defs.json b/crates/jacquard-api/lexicons/app_bsky_actor_defs.json index 9019b30ee..94ea65f87 100644 --- a/crates/jacquard-api/lexicons/app_bsky_actor_defs.json +++ b/crates/jacquard-api/lexicons/app_bsky_actor_defs.json @@ -743,10 +743,6 @@ "threadViewPref": { "type": "object", "properties": { - "prioritizeFollowedUsers": { - "type": "boolean", - "description": "Show followed users at the top of all replies." - }, "sort": { "type": "string", "description": "Sorting mode for threads.", diff --git a/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadOtherV2.json b/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadOtherV2.json index 5d523383d..1bb66de61 100644 --- a/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadOtherV2.json +++ b/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadOtherV2.json @@ -15,11 +15,6 @@ "type": "string", "description": "Reference (AT-URI) to post record. This is the anchor post.", "format": "at-uri" - }, - "prioritizeFollowedUsers": { - "type": "boolean", - "description": "Whether to prioritize posts from followed users. It only has effect when the user is authenticated.", - "default": false } } }, diff --git a/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadV2.json b/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadV2.json index 46d288306..87483a090 100644 --- a/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadV2.json +++ b/crates/jacquard-api/lexicons/app_bsky_unspecced_getPostThreadV2.json @@ -35,11 +35,6 @@ "minimum": 0, "maximum": 100 }, - "prioritizeFollowedUsers": { - "type": "boolean", - "description": "Whether to prioritize posts from followed users. It only has effect when the user is authenticated.", - "default": false - }, "sort": { "type": "string", "description": "Sorting for the thread replies.", diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_blockquote.json b/crates/jacquard-api/lexicons/blog_pckt_block_blockquote.json new file mode 100644 index 000000000..60cffcf33 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_blockquote.json @@ -0,0 +1,26 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.blockquote", + "description": "Blockquote for quoted text or citations. Typically rendered with distinct visual styling to set quoted content apart from the main text.", + "defs": { + "main": { + "type": "object", + "required": [ + "content" + ], + "properties": { + "content": { + "type": "array", + "description": "Array of paragraph content", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.paragraph" + ], + "closed": false + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_blueskyEmbed.json b/crates/jacquard-api/lexicons/blog_pckt_block_blueskyEmbed.json new file mode 100644 index 000000000..d5bb02ed2 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_blueskyEmbed.json @@ -0,0 +1,39 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.blueskyEmbed", + "description": "Embedded Bluesky social media post. Displays rich content from Bluesky including the post author, text, images, and engagement metrics.", + "defs": { + "embedAttrs": { + "type": "object", + "description": "Embed attributes", + "required": [ + "url" + ], + "properties": { + "html": { + "type": "string", + "description": "Pre-rendered HTML content of the embedded post", + "maxLength": 50000 + }, + "url": { + "type": "string", + "description": "URL of the Bluesky post to embed", + "format": "uri" + } + } + }, + "main": { + "type": "object", + "required": [ + "attrs" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Embed attributes", + "ref": "#embedAttrs" + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_bulletList.json b/crates/jacquard-api/lexicons/blog_pckt_block_bulletList.json new file mode 100644 index 000000000..e11022970 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_bulletList.json @@ -0,0 +1,23 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.bulletList", + "description": "Unordered list with bullet points. Each item can contain rich content including nested lists.", + "defs": { + "main": { + "type": "object", + "required": [ + "content" + ], + "properties": { + "content": { + "type": "array", + "description": "Array of list items", + "items": { + "type": "ref", + "ref": "blog.pckt.block.listItem" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_codeBlock.json b/crates/jacquard-api/lexicons/blog_pckt_block_codeBlock.json new file mode 100644 index 000000000..43e4919f7 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_codeBlock.json @@ -0,0 +1,36 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.codeBlock", + "description": "Preformatted code block with optional syntax highlighting. Preserves whitespace and displays code in a monospace font.", + "defs": { + "codeBlockAttrs": { + "type": "object", + "description": "Code block attributes", + "properties": { + "language": { + "type": "string", + "description": "Programming language for syntax highlighting (e.g., 'javascript', 'python', 'php')", + "maxLength": 50 + } + } + }, + "main": { + "type": "object", + "properties": { + "attrs": { + "type": "ref", + "description": "Code block attributes", + "ref": "#codeBlockAttrs" + }, + "content": { + "type": "array", + "description": "Array of text nodes containing the code", + "items": { + "type": "ref", + "ref": "blog.pckt.block.text" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_heading.json b/crates/jacquard-api/lexicons/blog_pckt_block_heading.json new file mode 100644 index 000000000..882d5a49a --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_heading.json @@ -0,0 +1,47 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.heading", + "description": "A heading block with hierarchical levels (H1-H6). Headings provide document structure and semantic meaning for accessibility and navigation.", + "defs": { + "headingAttrs": { + "type": "object", + "description": "Heading attributes", + "required": [ + "level" + ], + "properties": { + "level": { + "type": "integer", + "description": "Heading level from 1 (most important) to 6 (least important)", + "minimum": 1, + "maximum": 6 + } + } + }, + "main": { + "type": "object", + "required": [ + "attrs" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Heading attributes", + "ref": "#headingAttrs" + }, + "content": { + "type": "array", + "description": "Inline content of the heading (text with optional formatting)", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.text", + "blog.pckt.block.hardBreak" + ], + "closed": false + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_image.json b/crates/jacquard-api/lexicons/blog_pckt_block_image.json new file mode 100644 index 000000000..022722e72 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_image.json @@ -0,0 +1,88 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.image", + "description": "An image block for displaying visual content. Supports both external URLs and AT Protocol blob storage with automatic aspect ratio preservation.", + "defs": { + "aspectRatio": { + "type": "object", + "description": "Image aspect ratio represented as width and height dimensions", + "required": [ + "width", + "height" + ], + "properties": { + "height": { + "type": "integer", + "description": "Height component of aspect ratio", + "minimum": 1 + }, + "width": { + "type": "integer", + "description": "Width component of aspect ratio", + "minimum": 1 + } + } + }, + "imageAttrs": { + "type": "object", + "description": "Image attributes", + "required": [ + "src" + ], + "properties": { + "align": { + "type": "string", + "description": "Horizontal alignment of the image within its container", + "enum": [ + "left", + "center", + "right" + ] + }, + "alt": { + "type": "string", + "description": "Alternative text description for accessibility and screen readers", + "maxLength": 1000, + "maxGraphemes": 300 + }, + "aspectRatio": { + "type": "ref", + "description": "Image aspect ratio for proper layout before loading", + "ref": "#aspectRatio" + }, + "blob": { + "type": "blob", + "description": "AT Protocol blob reference (10MB max). Used when image is uploaded to PDS.", + "accept": [ + "image/*" + ], + "maxSize": 10000000 + }, + "src": { + "type": "string", + "description": "Image source URL or blob reference (blob:CID format for AT Protocol blobs)", + "maxLength": 2000 + }, + "title": { + "type": "string", + "description": "Optional image title displayed on hover", + "maxLength": 500, + "maxGraphemes": 200 + } + } + }, + "main": { + "type": "object", + "required": [ + "attrs" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Image attributes", + "ref": "#imageAttrs" + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_listItem.json b/crates/jacquard-api/lexicons/blog_pckt_block_listItem.json new file mode 100644 index 000000000..db8c459a9 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_listItem.json @@ -0,0 +1,28 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.listItem", + "description": "List item within ordered or unordered lists. Can contain paragraphs and nested lists.", + "defs": { + "main": { + "type": "object", + "required": [ + "content" + ], + "properties": { + "content": { + "type": "array", + "description": "Array of block content (paragraphs or nested lists)", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.paragraph", + "blog.pckt.block.bulletList", + "blog.pckt.block.orderedList" + ], + "closed": false + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_orderedList.json b/crates/jacquard-api/lexicons/blog_pckt_block_orderedList.json new file mode 100644 index 000000000..e0bd112f6 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_orderedList.json @@ -0,0 +1,39 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.orderedList", + "description": "Ordered numbered list. Each item can contain rich content including nested lists. Numbering can start at any positive integer.", + "defs": { + "main": { + "type": "object", + "required": [ + "content" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Optional attributes for the ordered list", + "ref": "#orderedListAttrs" + }, + "content": { + "type": "array", + "description": "Array of list items", + "items": { + "type": "ref", + "ref": "blog.pckt.block.listItem" + } + } + } + }, + "orderedListAttrs": { + "type": "object", + "description": "Ordered list attributes", + "properties": { + "start": { + "type": "integer", + "description": "Starting number for the ordered list", + "minimum": 1 + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_paragraph.json b/crates/jacquard-api/lexicons/blog_pckt_block_paragraph.json new file mode 100644 index 000000000..dd9047f5b --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_paragraph.json @@ -0,0 +1,24 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.paragraph", + "description": "A paragraph block containing inline text content with optional formatting. Paragraphs are the basic unit of text content in documents.", + "defs": { + "main": { + "type": "object", + "properties": { + "content": { + "type": "array", + "description": "Array of inline content nodes (text and hard breaks)", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.text", + "blog.pckt.block.hardBreak" + ], + "closed": false + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_taskItem.json b/crates/jacquard-api/lexicons/blog_pckt_block_taskItem.json new file mode 100644 index 000000000..1e781c205 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_taskItem.json @@ -0,0 +1,45 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.taskItem", + "description": "Individual task item with checkbox state. Contains rich text content that describes the task.", + "defs": { + "main": { + "type": "object", + "required": [ + "attrs", + "content" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Task item attributes", + "ref": "#taskItemAttrs" + }, + "content": { + "type": "array", + "description": "Array of paragraph content", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.paragraph" + ], + "closed": false + } + } + } + }, + "taskItemAttrs": { + "type": "object", + "description": "Task item attributes", + "required": [ + "checked" + ], + "properties": { + "checked": { + "type": "boolean", + "description": "Whether the task is checked or unchecked" + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_taskList.json b/crates/jacquard-api/lexicons/blog_pckt_block_taskList.json new file mode 100644 index 000000000..7898d90ed --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_taskList.json @@ -0,0 +1,23 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.taskList", + "description": "Interactive task list with checkable items. Each item displays a checkbox that can be toggled between checked and unchecked states.", + "defs": { + "main": { + "type": "object", + "required": [ + "content" + ], + "properties": { + "content": { + "type": "array", + "description": "Array of task items", + "items": { + "type": "ref", + "ref": "blog.pckt.block.taskItem" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_block_text.json b/crates/jacquard-api/lexicons/blog_pckt_block_text.json new file mode 100644 index 000000000..c258bbcad --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_block_text.json @@ -0,0 +1,37 @@ +{ + "lexicon": 1, + "id": "blog.pckt.block.text", + "description": "An inline text node with optional formatting marks. Text nodes are the leaf nodes containing actual textual content within paragraphs and other container blocks.", + "defs": { + "main": { + "type": "object", + "required": [ + "text" + ], + "properties": { + "marks": { + "type": "array", + "description": "Optional array of formatting marks applied to this text (bold, italic, links, etc.)", + "items": { + "type": "union", + "refs": [ + "blog.pckt.mark.bold", + "blog.pckt.mark.italic", + "blog.pckt.mark.underline", + "blog.pckt.mark.strike", + "blog.pckt.mark.code", + "blog.pckt.mark.link" + ], + "closed": false + } + }, + "text": { + "type": "string", + "description": "The actual text content", + "maxLength": 10000, + "maxGraphemes": 5000 + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_document.json b/crates/jacquard-api/lexicons/blog_pckt_document.json new file mode 100644 index 000000000..b13944f01 --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_document.json @@ -0,0 +1,106 @@ +{ + "lexicon": 1, + "id": "blog.pckt.document", + "description": "A long-form blog document with rich content. Documents belong to a publication (blog) and contain structured content blocks, metadata, and optional media. This is the primary record type for blog posts.", + "defs": { + "main": { + "type": "record", + "key": "tid", + "record": { + "type": "object", + "required": [ + "title", + "blocks", + "url", + "blog" + ], + "properties": { + "blocks": { + "type": "array", + "description": "Structured content blocks composing the document body", + "items": { + "type": "union", + "refs": [ + "blog.pckt.block.paragraph", + "blog.pckt.block.heading", + "blog.pckt.block.image", + "blog.pckt.block.bulletList", + "blog.pckt.block.orderedList", + "blog.pckt.block.listItem", + "blog.pckt.block.taskList", + "blog.pckt.block.taskItem", + "blog.pckt.block.blockquote", + "blog.pckt.block.codeBlock", + "blog.pckt.block.horizontalRule", + "blog.pckt.block.blueskyEmbed" + ], + "closed": false + } + }, + "blog": { + "type": "ref", + "description": "Reference to the parent publication (blog) this document belongs to", + "ref": "com.atproto.repo.strongRef" + }, + "bodyPlain": { + "type": "string", + "description": "Plain text representation of the document content for search and preview", + "maxLength": 100000, + "maxGraphemes": 50000 + }, + "cover": { + "type": "blob", + "description": "Optional cover/featured image (10MB max)", + "accept": [ + "image/*" + ], + "maxSize": 10000000 + }, + "images": { + "type": "array", + "description": "Blob references for images used within the document content", + "items": { + "type": "blob", + "accept": [ + "image/*" + ], + "maxSize": 10000000 + } + }, + "publishedAt": { + "type": "string", + "description": "Timestamp when the document was first published", + "format": "datetime" + }, + "tags": { + "type": "array", + "description": "Optional tags for categorization and discovery", + "items": { + "type": "string", + "maxLength": 100, + "maxGraphemes": 50 + }, + "maxLength": 20 + }, + "title": { + "type": "string", + "description": "Document title/headline", + "maxLength": 1280, + "maxGraphemes": 128 + }, + "updatedAt": { + "type": "string", + "description": "Timestamp when the document was last modified", + "format": "datetime" + }, + "url": { + "type": "string", + "description": "Canonical URL where this document is published", + "format": "uri", + "maxLength": 2000 + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_mark_link.json b/crates/jacquard-api/lexicons/blog_pckt_mark_link.json new file mode 100644 index 000000000..49133af9a --- /dev/null +++ b/crates/jacquard-api/lexicons/blog_pckt_mark_link.json @@ -0,0 +1,50 @@ +{ + "lexicon": 1, + "id": "blog.pckt.mark.link", + "description": "Hyperlink formatting. Creates a clickable link to an external or internal resource.", + "defs": { + "linkAttrs": { + "type": "object", + "description": "Link attributes", + "required": [ + "href" + ], + "properties": { + "href": { + "type": "string", + "description": "The URL destination of the hyperlink", + "format": "uri", + "maxLength": 2000 + }, + "rel": { + "type": "string", + "description": "Defines the relationship between the current document and the linked resource (e.g., nofollow, noopener)", + "maxLength": 100 + }, + "target": { + "type": "string", + "description": "Specifies where to open the linked document (e.g., _blank, _self)", + "maxLength": 50 + }, + "title": { + "type": "string", + "description": "Additional information about the link, typically shown as a tooltip on hover", + "maxLength": 500 + } + } + }, + "main": { + "type": "object", + "required": [ + "attrs" + ], + "properties": { + "attrs": { + "type": "ref", + "description": "Link attributes that define the hyperlink behavior and destination", + "ref": "#linkAttrs" + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/blog_pckt_publication.json b/crates/jacquard-api/lexicons/blog_pckt_publication.json index 1e5797f20..08d93eeb9 100644 --- a/crates/jacquard-api/lexicons/blog_pckt_publication.json +++ b/crates/jacquard-api/lexicons/blog_pckt_publication.json @@ -1,7 +1,7 @@ { "lexicon": 1, "id": "blog.pckt.publication", - "description": "A publication record with core metadata, plus slots for theme and extensions for additional features.", + "description": "A publication (blog) record representing a collection of documents. Contains metadata, branding, theme configuration, and optional extensions. Publications serve as the parent container for blog documents.", "defs": { "main": { "type": "record", @@ -16,8 +16,9 @@ "properties": { "basePath": { "type": "string", - "description": "Base URL path for the publication ex https://blog.pckt.blog", - "format": "uri" + "description": "Base URL path for the publication (e.g., https://blog.pckt.blog)", + "format": "uri", + "maxLength": 2000 }, "createdAt": { "type": "string", @@ -26,8 +27,9 @@ }, "description": { "type": "string", - "description": "Publication description", - "maxLength": 2000 + "description": "Publication description or tagline", + "maxLength": 2000, + "maxGraphemes": 500 }, "extensions": { "type": "array", @@ -54,7 +56,8 @@ "name": { "type": "string", "description": "Publication name/title", - "maxLength": 200 + "maxLength": 200, + "maxGraphemes": 100 }, "theme": { "type": "union", diff --git a/crates/jacquard-api/lexicons/blog_pckt_theme.json b/crates/jacquard-api/lexicons/blog_pckt_theme.json index 722fd55a5..1c051f7a6 100644 --- a/crates/jacquard-api/lexicons/blog_pckt_theme.json +++ b/crates/jacquard-api/lexicons/blog_pckt_theme.json @@ -4,31 +4,27 @@ "description": "Theme record for blog publications with light and dark mode color schemes.", "defs": { "main": { - "type": "record", + "type": "object", "description": "Theme configuration for a blog publication", - "key": "tid", - "record": { - "type": "object", - "required": [ - "light", - "dark" - ], - "properties": { - "dark": { - "type": "ref", - "description": "Dark mode color palette", - "ref": "#palette" - }, - "font": { - "type": "string", - "description": "Font family name (optional)", - "maxLength": 100 - }, - "light": { - "type": "ref", - "description": "Light mode color palette", - "ref": "#palette" - } + "required": [ + "light", + "dark" + ], + "properties": { + "dark": { + "type": "ref", + "description": "Dark mode color palette", + "ref": "#palette" + }, + "font": { + "type": "string", + "description": "Font family name (optional)", + "maxLength": 100 + }, + "light": { + "type": "ref", + "description": "Light mode color palette", + "ref": "#palette" } } }, diff --git a/crates/jacquard-api/lexicons/com_atproto_lexicon_resolveLexicon.json b/crates/jacquard-api/lexicons/com_atproto_lexicon_resolveLexicon.json new file mode 100644 index 000000000..80db537ee --- /dev/null +++ b/crates/jacquard-api/lexicons/com_atproto_lexicon_resolveLexicon.json @@ -0,0 +1,57 @@ +{ + "lexicon": 1, + "id": "com.atproto.lexicon.resolveLexicon", + "defs": { + "main": { + "type": "query", + "description": "Resolves an atproto lexicon (NSID) to a schema.", + "parameters": { + "type": "params", + "required": [ + "nsid" + ], + "properties": { + "nsid": { + "type": "string", + "description": "The lexicon NSID to resolve.", + "format": "nsid" + } + } + }, + "output": { + "encoding": "application/json", + "schema": { + "type": "object", + "required": [ + "uri", + "cid", + "schema" + ], + "properties": { + "cid": { + "type": "string", + "description": "The CID of the lexicon schema record.", + "format": "cid" + }, + "schema": { + "type": "ref", + "description": "The resolved lexicon schema record.", + "ref": "com.atproto.lexicon.schema#main" + }, + "uri": { + "type": "string", + "description": "The AT-URI of the lexicon schema record.", + "format": "at-uri" + } + } + } + }, + "errors": [ + { + "description": "No lexicon was resolved for the NSID.", + "name": "LexiconNotFound" + } + ] + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/com_crabdance_nandi_post.json b/crates/jacquard-api/lexicons/com_crabdance_nandi_post.json new file mode 100644 index 000000000..4cce58696 --- /dev/null +++ b/crates/jacquard-api/lexicons/com_crabdance_nandi_post.json @@ -0,0 +1,59 @@ +{ + "lexicon": 1, + "id": "com.crabdance.nandi.post", + "defs": { + "main": { + "type": "record", + "key": "tid", + "record": { + "type": "object", + "required": [ + "title", + "content", + "createdAt" + ], + "properties": { + "content": { + "type": "string", + "description": "The main content of the blog post in markdown", + "minLength": 1, + "maxLength": 10000 + }, + "createdAt": { + "type": "string", + "format": "datetime" + }, + "published": { + "type": "boolean", + "description": "Whether the post is published or draft", + "default": false + }, + "summary": { + "type": "string", + "description": "Optional summary/excerpt of the post", + "maxLength": 500 + }, + "tags": { + "type": "array", + "description": "Tags for categorizing the post", + "items": { + "type": "string", + "maxLength": 50 + }, + "maxLength": 10 + }, + "title": { + "type": "string", + "description": "The title of the blog post", + "minLength": 1, + "maxLength": 200 + }, + "updatedAt": { + "type": "string", + "format": "datetime" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/lol_jbc_feed_bite.json b/crates/jacquard-api/lexicons/lol_jbc_feed_bite.json new file mode 100644 index 000000000..f13a62c35 --- /dev/null +++ b/crates/jacquard-api/lexicons/lol_jbc_feed_bite.json @@ -0,0 +1,23 @@ +{ + "lexicon": 1, + "id": "lol.jbc.feed.bite", + "defs": { + "main": { + "type": "record", + "description": "Record declaring a 'bite' of a piece of subject content.", + "key": "tid", + "record": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "datetime" + }, + "subject": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/net_anisota_settings.json b/crates/jacquard-api/lexicons/net_anisota_settings.json new file mode 100644 index 000000000..3341ab453 --- /dev/null +++ b/crates/jacquard-api/lexicons/net_anisota_settings.json @@ -0,0 +1,970 @@ +{ + "lexicon": 1, + "id": "net.anisota.settings", + "defs": { + "animationTiming": { + "type": "object", + "description": "Animation timing and speed settings for various UI animations", + "properties": { + "cardAdvance": { + "type": "string", + "description": "Card advance exit to right and entrance back in from right (stored as string)", + "maxLength": 10 + }, + "cardFlip": { + "type": "string", + "description": "Card flip animation between front and back (stored as string)", + "maxLength": 10 + }, + "cardStackEntrance": { + "type": "string", + "description": "Card stack animate in entrance from the top of screen (stored as string)", + "maxLength": 10 + }, + "cornerElements": { + "type": "string", + "description": "Staggered interactive corner element entrance animation (stored as string)", + "maxLength": 10 + }, + "fullscreenTransitions": { + "type": "string", + "description": "Card stack height expansion and shrinking when entering/exiting fullscreen (stored as string)", + "maxLength": 10 + }, + "modals": { + "type": "string", + "description": "Modal entrance and exit animations (stored as string)", + "maxLength": 10 + }, + "overall": { + "type": "string", + "description": "Master speed multiplier that affects all animations (stored as string, e.g. '1.0' = normal speed)", + "maxLength": 10 + }, + "pageTransitions": { + "type": "string", + "description": "Page transitions and navigation animations (stored as string)", + "maxLength": 10 + }, + "threadTransitions": { + "type": "string", + "description": "Thread train sliding, entering, and exiting animations (stored as string)", + "maxLength": 10 + }, + "uiTransitions": { + "type": "string", + "description": "Control row and feed subtitle fade in/out animations (stored as string)", + "maxLength": 10 + } + } + }, + "batchNotificationTypes": { + "type": "object", + "properties": { + "follows": { + "type": "boolean", + "description": "Batch follow notifications" + }, + "likes": { + "type": "boolean", + "description": "Batch like notifications" + }, + "mentions": { + "type": "boolean", + "description": "Batch mention notifications" + }, + "quotes": { + "type": "boolean", + "description": "Batch quote notifications" + }, + "replies": { + "type": "boolean", + "description": "Batch reply notifications" + }, + "reposts": { + "type": "boolean", + "description": "Batch repost notifications" + } + } + }, + "behaviorSettings": { + "type": "object", + "description": "App behavior and functionality settings", + "properties": { + "animationTiming": { + "type": "ref", + "ref": "#animationTiming" + }, + "anisotaOnlyMode": { + "type": "boolean", + "description": "Show only Anisota posts in profiles instead of regular Bluesky posts" + }, + "audioEnabled": { + "type": "boolean", + "description": "Whether background audio/soundscapes are enabled by default" + }, + "batchNotificationTypes": { + "type": "ref", + "ref": "#batchNotificationTypes" + }, + "batchNotifications": { + "type": "boolean", + "description": "Group similar notifications together" + }, + "combineRelationshipAndFollowerFilters": { + "type": "boolean", + "description": "When enabled, show notifications that match either relationship OR follower count filters" + }, + "confirmDeletes": { + "type": "boolean", + "description": "Show confirmation before deleting" + }, + "confirmDraftSaves": { + "type": "boolean", + "description": "Show warning before saving drafts" + }, + "defaultHomePage": { + "type": "string", + "description": "Default page to show on app load", + "enum": [ + "feed", + "post", + "post-lists", + "profile" + ] + }, + "defaultPostTarget": { + "type": "string", + "description": "Default publishing target for new posts", + "enum": [ + "bluesky", + "anisota", + "both" + ] + }, + "feedCacheLength": { + "type": "integer", + "description": "How long to cache feed position in minutes (30, 60, 360, 720, 1440, 10080)", + "minimum": 1 + }, + "filterByFollowerRatio": { + "type": "boolean", + "description": "Filter by follower to following ratio" + }, + "filterNotificationTypes": { + "type": "ref", + "ref": "#filterNotificationTypes" + }, + "filterNotificationsByFollowers": { + "type": "boolean", + "description": "Filter notifications by follower count" + }, + "filterNotificationsByRelationship": { + "type": "boolean", + "description": "Filter notifications based on relationship with the author" + }, + "filterRelationshipTypes": { + "type": "ref", + "ref": "#filterRelationshipTypes" + }, + "forceChronologicalSort": { + "type": "boolean", + "description": "Force chronological sorting of posts" + }, + "fullscreenBehavior": { + "type": "string", + "description": "Fullscreen behavior mode: fullscreen (show control row), immersive (hide all UI), or cycle (cycle through states)", + "enum": [ + "fullscreen", + "immersive", + "cycle" + ] + }, + "hideInteractedPosts": { + "type": "boolean", + "description": "Hide posts that have been liked or reposted to focus on new content" + }, + "hideNotificationCount": { + "type": "boolean", + "description": "Hide the exact notification count in the corner element, always showing 'notifications' instead" + }, + "hideReadPosts": { + "type": "boolean", + "description": "Hide posts that have been read" + }, + "hideReposts": { + "type": "ref", + "ref": "#hideReposts" + }, + "includeReplyEngagement": { + "type": "boolean", + "description": "Include engagement metrics from reply posts in stats calculations" + }, + "keyboardShortcuts": { + "type": "ref", + "ref": "#keyboardShortcuts" + }, + "maxFollowerCount": { + "type": "integer", + "description": "Maximum follower count for notification filtering" + }, + "minFollowerCount": { + "type": "string", + "description": "Minimum follower count for notification filtering (stored as string)", + "maxLength": 20 + }, + "minFollowerRatio": { + "type": "string", + "description": "Minimum follower ratio for filtering (stored as string)", + "maxLength": 20 + }, + "moderationSettings": { + "type": "ref", + "ref": "#moderationSettings" + }, + "postDrafts": { + "type": "boolean", + "description": "Enable post drafts feature" + }, + "reverseFeedOrder": { + "type": "boolean", + "description": "Show newest posts first" + }, + "showRarityInHeader": { + "type": "boolean", + "description": "Display rarity indicator and rate in the stats modal header" + }, + "showThreadSuggestion": { + "type": "boolean", + "description": "Show thread suggestion when typing beyond character limit in post composer" + }, + "soundscape": { + "type": "string", + "description": "Selected background audio soundscape", + "enum": [ + "birds", + "brook", + "creek", + "dawn", + "field", + "fire", + "lake", + "mountain", + "night", + "rain", + "stream", + "woodstove", + "zephyr" + ] + }, + "statsVisibleSections": { + "type": "ref", + "ref": "#statsVisibleSections" + }, + "textOnlyMode": { + "type": "boolean", + "description": "Filter out posts with images and videos for distraction-free reading" + }, + "trackReadPosts": { + "type": "boolean", + "description": "Track which posts have been read" + } + } + }, + "controlSettings": { + "type": "object", + "description": "Control button visibility settings", + "properties": { + "accountList": { + "type": "boolean", + "description": "Show account list button" + }, + "back": { + "type": "boolean", + "description": "Show back button" + }, + "commentButton": { + "type": "boolean", + "description": "Show expandable comment button" + }, + "copyAuthorDID": { + "type": "boolean", + "description": "Show copy author DID button" + }, + "copyButton": { + "type": "boolean", + "description": "Show expandable copy button" + }, + "copyPostLink": { + "type": "boolean", + "description": "Show copy post link button" + }, + "copyPostText": { + "type": "boolean", + "description": "Show copy post text button" + }, + "delete": { + "type": "boolean", + "description": "Show delete button" + }, + "engageButton": { + "type": "boolean", + "description": "Show expandable engage button" + }, + "feedSwitcher": { + "type": "boolean", + "description": "Show feed switcher button" + }, + "fetch": { + "type": "boolean", + "description": "Show fetch button" + }, + "flip": { + "type": "boolean", + "description": "Show flip button" + }, + "forward": { + "type": "boolean", + "description": "Show forward button" + }, + "fullscreen": { + "type": "boolean", + "description": "Show fullscreen button" + }, + "leafletPublications": { + "type": "boolean", + "description": "Show leaflet publications button" + }, + "like": { + "type": "boolean", + "description": "Show like button" + }, + "list": { + "type": "boolean", + "description": "Show list button" + }, + "multiEngageButton": { + "type": "boolean", + "description": "Show expandable multi-engage button" + }, + "multiRepostButton": { + "type": "boolean", + "description": "Show expandable multi-repost button" + }, + "positionButton": { + "type": "boolean", + "description": "Show position button" + }, + "postList": { + "type": "boolean", + "description": "Show post list button" + }, + "quickAccess": { + "type": "boolean", + "description": "Show quick access button" + }, + "quote": { + "type": "boolean", + "description": "Show quote button" + }, + "relationshipButton": { + "type": "boolean", + "description": "Show relationship button" + }, + "reply": { + "type": "boolean", + "description": "Show reply button" + }, + "repost": { + "type": "boolean", + "description": "Show repost button" + }, + "shuffle": { + "type": "boolean", + "description": "Show shuffle button" + }, + "textOnlyMode": { + "type": "boolean", + "description": "Show text only mode button" + } + } + }, + "cornerElements": { + "type": "object", + "description": "Corner element positioning settings", + "properties": { + "bottomLeft": { + "type": "string", + "description": "Element to show in bottom left corner", + "enum": [ + "stamina", + "notifications", + "brand", + "menu", + "none" + ] + }, + "bottomRight": { + "type": "string", + "description": "Element to show in bottom right corner", + "enum": [ + "stamina", + "notifications", + "brand", + "menu", + "none" + ] + }, + "topLeft": { + "type": "string", + "description": "Element to show in top left corner", + "enum": [ + "stamina", + "notifications", + "brand", + "menu", + "none" + ] + }, + "topRight": { + "type": "string", + "description": "Element to show in top right corner", + "enum": [ + "stamina", + "notifications", + "brand", + "menu", + "none" + ] + } + } + }, + "filterNotificationTypes": { + "type": "object", + "properties": { + "follows": { + "type": "boolean", + "description": "Show follow notifications" + }, + "likes": { + "type": "boolean", + "description": "Show like notifications" + }, + "mentions": { + "type": "boolean", + "description": "Show mention notifications" + }, + "quotes": { + "type": "boolean", + "description": "Show quote notifications" + }, + "replies": { + "type": "boolean", + "description": "Show reply notifications" + }, + "reposts": { + "type": "boolean", + "description": "Show repost notifications" + } + } + }, + "filterRelationshipTypes": { + "type": "object", + "properties": { + "followers": { + "type": "boolean", + "description": "Show notifications from followers" + }, + "following": { + "type": "boolean", + "description": "Show notifications from accounts you follow" + }, + "mutuals": { + "type": "boolean", + "description": "Show notifications from mutual connections" + }, + "nonMutuals": { + "type": "boolean", + "description": "Show notifications from followers you don't follow back" + } + } + }, + "hideReposts": { + "type": "object", + "properties": { + "feed": { + "type": "boolean", + "description": "Hide reposts in feed" + }, + "profile": { + "type": "boolean", + "description": "Hide reposts in profile" + } + } + }, + "keyboardShortcuts": { + "type": "object", + "description": "Keyboard shortcut configuration", + "properties": { + "composer": { + "type": "ref", + "ref": "#keyboardShortcutsComposer" + }, + "global": { + "type": "ref", + "ref": "#keyboardShortcutsGlobal" + }, + "modals": { + "type": "ref", + "ref": "#keyboardShortcutsModals" + }, + "navigation": { + "type": "ref", + "ref": "#keyboardShortcutsNavigation" + }, + "postInteractions": { + "type": "ref", + "ref": "#keyboardShortcutsPostInteractions" + } + } + }, + "keyboardShortcutsComposer": { + "type": "object", + "description": "Post composer keyboard shortcuts", + "properties": { + "publish": { + "type": "string", + "description": "Publish post (e.g., ctrl+enter)", + "maxLength": 50 + } + } + }, + "keyboardShortcutsGlobal": { + "type": "object", + "description": "Global navigation keyboard shortcuts", + "properties": { + "collection": { + "type": "string", + "description": "Navigate to collection", + "maxLength": 50 + }, + "feed": { + "type": "string", + "description": "Navigate to feed", + "maxLength": 50 + }, + "inventory": { + "type": "string", + "description": "Navigate to inventory", + "maxLength": 50 + }, + "profile": { + "type": "string", + "description": "Navigate to profile", + "maxLength": 50 + } + } + }, + "keyboardShortcutsModals": { + "type": "object", + "description": "Modal keyboard shortcuts", + "properties": { + "keyboardHelp": { + "type": "string", + "description": "Show keyboard shortcuts help", + "maxLength": 50 + }, + "notifications": { + "type": "string", + "description": "Open notifications", + "maxLength": 50 + }, + "postComposer": { + "type": "string", + "description": "Open post composer", + "maxLength": 50 + }, + "stats": { + "type": "string", + "description": "Open stats modal", + "maxLength": 50 + }, + "touchMenu": { + "type": "string", + "description": "Open touch menu", + "maxLength": 50 + } + } + }, + "keyboardShortcutsNavigation": { + "type": "object", + "description": "Navigation keyboard shortcuts", + "properties": { + "arrowDown": { + "type": "string", + "description": "Scroll down or next item", + "maxLength": 50 + }, + "arrowLeft": { + "type": "string", + "description": "Go back to previous card", + "maxLength": 50 + }, + "arrowRight": { + "type": "string", + "description": "Advance to next card", + "maxLength": 50 + }, + "arrowUp": { + "type": "string", + "description": "Scroll up or previous item", + "maxLength": 50 + }, + "escape": { + "type": "string", + "description": "Exit fullscreen or close modals", + "maxLength": 50 + } + } + }, + "keyboardShortcutsPostInteractions": { + "type": "object", + "description": "Post interaction keyboard shortcuts", + "properties": { + "like": { + "type": "string", + "description": "Like current post", + "maxLength": 50 + }, + "quote": { + "type": "string", + "description": "Quote current post", + "maxLength": 50 + }, + "reply": { + "type": "string", + "description": "Reply to current post", + "maxLength": 50 + }, + "repost": { + "type": "string", + "description": "Repost current post", + "maxLength": 50 + } + } + }, + "main": { + "type": "record", + "description": "User settings for the Anisota app, synchronized across devices via ATProto", + "key": "literal:settings", + "record": { + "type": "object", + "required": [ + "version", + "createdAt", + "updatedAt" + ], + "properties": { + "behaviorSettings": { + "type": "ref", + "ref": "#behaviorSettings" + }, + "controlOrder": { + "type": "array", + "description": "Order of control buttons", + "items": { + "type": "string", + "enum": [ + "back", + "shuffle", + "flip", + "like", + "repost", + "reply", + "quote", + "list", + "postList", + "accountList", + "commentButton", + "multiEngageButton", + "multiRepostButton", + "engageButton", + "copyButton", + "copyPostText", + "copyAuthorDID", + "copyPostLink", + "relationshipButton", + "fetch", + "feedSwitcher", + "positionButton", + "forward", + "fullscreen", + "delete", + "quickAccess", + "leafletPublications", + "textOnlyMode" + ] + } + }, + "controlSettings": { + "type": "ref", + "ref": "#controlSettings" + }, + "createdAt": { + "type": "string", + "description": "When the settings record was first created", + "format": "datetime" + }, + "theme": { + "type": "string", + "description": "Selected color theme", + "enum": [ + "night", + "day" + ] + }, + "uiSettings": { + "type": "ref", + "ref": "#uiSettings" + }, + "updatedAt": { + "type": "string", + "description": "When the settings were last updated", + "format": "datetime" + }, + "version": { + "type": "integer", + "description": "Settings schema version for backward compatibility", + "minimum": 1 + } + } + } + }, + "moderationSettings": { + "type": "object", + "description": "Content moderation and filtering settings", + "properties": { + "mutedAccountsHandling": { + "type": "string", + "description": "How to handle posts from muted accounts", + "enum": [ + "show", + "warn", + "hide" + ] + }, + "mutedContentHandling": { + "type": "string", + "description": "How to handle posts containing muted words or phrases", + "enum": [ + "show", + "warn", + "hide" + ] + } + } + }, + "statsVisibleSections": { + "type": "object", + "properties": { + "activity": { + "type": "boolean", + "description": "Show activity section in stats overview" + }, + "engagement": { + "type": "boolean", + "description": "Show engagement section in stats overview" + }, + "progress": { + "type": "boolean", + "description": "Show progress section in stats overview" + } + } + }, + "uiSettings": { + "type": "object", + "description": "UI visibility and behavior settings", + "properties": { + "cornerElements": { + "type": "ref", + "ref": "#cornerElements" + }, + "fontSize": { + "type": "string", + "description": "Font size scale (0.8 = 80%, 1.0 = 100% default, 1.2 = 120%)", + "maxLength": 10 + }, + "postCardPrimarySlot": { + "type": "string", + "description": "Primary name slot for post cards", + "enum": [ + "displayName", + "username", + "did" + ] + }, + "postCardSecondarySlot": { + "type": "string", + "description": "Secondary name slot for post cards", + "enum": [ + "displayName", + "username", + "did", + "none" + ] + }, + "profileCardPrimarySlot": { + "type": "string", + "description": "Primary name slot for profile cards", + "enum": [ + "displayName", + "username", + "did" + ] + }, + "profileCardSecondarySlot": { + "type": "string", + "description": "Secondary name slot for profile cards", + "enum": [ + "displayName", + "username", + "did", + "none" + ] + }, + "showPostCardAtSymbol": { + "type": "boolean", + "description": "Show Bluesky icon in post card headers" + }, + "showPostCardAvatar": { + "type": "boolean", + "description": "Show avatar image in post card footer" + }, + "showPostCardDisplayName": { + "type": "boolean", + "description": "Show display name on post cards" + }, + "showPostCardFooter": { + "type": "boolean", + "description": "Show the entire post card footer section" + }, + "showPostCardHandle": { + "type": "boolean", + "description": "Show handle/username on post cards" + }, + "showPostCardHeader": { + "type": "boolean", + "description": "Show the entire post card header section" + }, + "showPostCount": { + "type": "boolean", + "description": "Show post number indicator" + }, + "showPostReadIndicator": { + "type": "boolean", + "description": "Show indicator for posts that have been read" + }, + "showProfileAtSymbol": { + "type": "boolean", + "description": "Show Bluesky icon on profile cards" + }, + "showProfileBlocked": { + "type": "boolean", + "description": "Show blocked count on profiles" + }, + "showProfileBlocking": { + "type": "boolean", + "description": "Show blocking count on profiles" + }, + "showProfileCancelled": { + "type": "boolean", + "description": "Show cancelled count on profiles" + }, + "showProfileCancelling": { + "type": "boolean", + "description": "Show cancelling count on profiles" + }, + "showProfileCardAvatar": { + "type": "boolean", + "description": "Show avatar image in profile card footer" + }, + "showProfileCardFooter": { + "type": "boolean", + "description": "Show the entire profile card footer section" + }, + "showProfileCardHeader": { + "type": "boolean", + "description": "Show the entire profile card header section" + }, + "showProfileCollections": { + "type": "boolean", + "description": "Show collection count on profiles" + }, + "showProfileDisplayName": { + "type": "boolean", + "description": "Show display name on profile cards" + }, + "showProfileFollowers": { + "type": "boolean", + "description": "Show follower count on profiles" + }, + "showProfileFollowing": { + "type": "boolean", + "description": "Show following count on profiles" + }, + "showProfileHandle": { + "type": "boolean", + "description": "Show handle/username on profile cards" + }, + "showProfileLexicons": { + "type": "boolean", + "description": "Show lexicon count on profiles" + }, + "showProfileListed": { + "type": "boolean", + "description": "Show listed count on profiles" + }, + "showProfileListing": { + "type": "boolean", + "description": "Show listing count on profiles" + }, + "showProfileLists": { + "type": "boolean", + "description": "Show lists count on profiles" + }, + "showProfilePosts": { + "type": "boolean", + "description": "Show post count on profiles" + }, + "showProfilePronouns": { + "type": "boolean", + "description": "Show pronouns on profile cards" + }, + "showProfileVerified": { + "type": "boolean", + "description": "Show verified count on profiles" + }, + "showProfileVerifying": { + "type": "boolean", + "description": "Show verifying count on profiles" + }, + "showProfileWebsite": { + "type": "boolean", + "description": "Show website link on profile cards" + }, + "showRarityIndicator": { + "type": "boolean", + "description": "Show rarity indicator based on post engagement" + }, + "showTimestamp": { + "type": "boolean", + "description": "Show when the post was created" + }, + "showUsername": { + "type": "boolean", + "description": "Show author username on posts" + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/net_wafrn_feed_bite.json b/crates/jacquard-api/lexicons/net_wafrn_feed_bite.json new file mode 100644 index 000000000..a24c150e1 --- /dev/null +++ b/crates/jacquard-api/lexicons/net_wafrn_feed_bite.json @@ -0,0 +1,23 @@ +{ + "lexicon": 1, + "id": "net.wafrn.feed.bite", + "defs": { + "main": { + "type": "record", + "description": "Record declaring a 'bite' of a piece of subject content.", + "key": "tid", + "record": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "datetime" + }, + "subject": { + "type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/net_wafrn_feed_explode.json b/crates/jacquard-api/lexicons/net_wafrn_feed_explode.json new file mode 100644 index 000000000..a19e57094 --- /dev/null +++ b/crates/jacquard-api/lexicons/net_wafrn_feed_explode.json @@ -0,0 +1,24 @@ +{ + "lexicon": 1, + "id": "net.wafrn.feed.explode", + "defs": { + "main": { + "type": "record", + "description": "Record declaring a 'explode' of a piece of subject content.", + "key": "tid", + "record": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "datetime" + }, + "subject": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/sh_tangled_actor_profile.json b/crates/jacquard-api/lexicons/sh_tangled_actor_profile.json index e0d5fb088..3f07c95ef 100644 --- a/crates/jacquard-api/lexicons/sh_tangled_actor_profile.json +++ b/crates/jacquard-api/lexicons/sh_tangled_actor_profile.json @@ -48,6 +48,11 @@ "minLength": 0, "maxLength": 6 }, + "pronouns": { + "type": "string", + "description": "Preferred gender pronouns.", + "maxLength": 40 + }, "stats": { "type": "array", "items": { diff --git a/crates/jacquard-api/lexicons/sh_tangled_repo.json b/crates/jacquard-api/lexicons/sh_tangled_repo.json index 3f126ad48..af8d5ed04 100644 --- a/crates/jacquard-api/lexicons/sh_tangled_repo.json +++ b/crates/jacquard-api/lexicons/sh_tangled_repo.json @@ -46,6 +46,21 @@ "spindle": { "type": "string", "description": "CI runner to send jobs to and receive results from" + }, + "topics": { + "type": "array", + "description": "Topics related to the repo", + "items": { + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "maxLength": 50 + }, + "website": { + "type": "string", + "description": "Any URI related to the repo", + "format": "uri" } } } diff --git a/crates/jacquard-api/lexicons/sh_weaver_edit_root.json b/crates/jacquard-api/lexicons/sh_weaver_edit_root.json index 558fd3472..9001075ac 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_edit_root.json +++ b/crates/jacquard-api/lexicons/sh_weaver_edit_root.json @@ -9,16 +9,10 @@ "record": { "type": "object", "required": [ - "cid", - "uri", "doc", "snapshot" ], "properties": { - "cid": { - "type": "string", - "format": "cid" - }, "doc": { "type": "ref", "ref": "sh.weaver.edit.defs#docRef" @@ -29,10 +23,6 @@ "*/*" ], "maxSize": 30000000 - }, - "uri": { - "type": "string", - "format": "at-uri" } } } diff --git a/crates/jacquard-api/lexicons/sh_weaver_embed_external.json b/crates/jacquard-api/lexicons/sh_weaver_embed_external.json index 7693fca49..a1d7f5efc 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_embed_external.json +++ b/crates/jacquard-api/lexicons/sh_weaver_embed_external.json @@ -3,7 +3,7 @@ "id": "sh.weaver.embed.external", "description": "A set of records embedded in a blog post.", "defs": { - "external": { + "externalEmbed": { "type": "object", "required": [ "uri", @@ -40,7 +40,7 @@ "type": "array", "items": { "type": "ref", - "ref": "#external" + "ref": "#externalEmbed" }, "maxLength": 48 } @@ -53,8 +53,12 @@ ], "properties": { "external": { - "type": "ref", - "ref": "#viewExternal" + "type": "array", + "items": { + "type": "ref", + "ref": "#viewExternal" + }, + "maxLength": 48 } } }, diff --git a/crates/jacquard-api/lexicons/sh_weaver_embed_recordWithMedia.json b/crates/jacquard-api/lexicons/sh_weaver_embed_recordWithMedia.json index f85154ea1..0c4e05f82 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_embed_recordWithMedia.json +++ b/crates/jacquard-api/lexicons/sh_weaver_embed_recordWithMedia.json @@ -6,7 +6,7 @@ "main": { "type": "object", "required": [ - "record", + "records", "media" ], "properties": { @@ -15,17 +15,12 @@ "refs": [ "sh.weaver.embed.images", "sh.weaver.embed.external", - "app.bsky.embed.images", - "app.bsky.embed.video", - "app.bsky.embed.external" + "sh.weaver.embed.video" ] }, - "record": { - "type": "union", - "refs": [ - "app.bsky.embed.record", - "sh.weaver.embed.records" - ] + "records": { + "type": "ref", + "ref": "sh.weaver.embed.records" } } }, @@ -39,19 +34,14 @@ "media": { "type": "union", "refs": [ - "sh.weaver.embed.images", + "sh.weaver.embed.images#view", "sh.weaver.embed.external#view", - "app.bsky.embed.images#view", - "app.bsky.embed.video#view", - "app.bsky.embed.external#view" + "sh.weaver.embed.video#view" ] }, - "record": { - "type": "union", - "refs": [ - "sh.weaver.embed.records#view", - "app.bsky.embed.record#view" - ] + "records": { + "type": "ref", + "ref": "sh.weaver.embed.records#view" } } } diff --git a/crates/jacquard-api/lexicons/sh_weaver_embed_records.json b/crates/jacquard-api/lexicons/sh_weaver_embed_records.json index 8955a211d..76df65fc8 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_embed_records.json +++ b/crates/jacquard-api/lexicons/sh_weaver_embed_records.json @@ -48,13 +48,10 @@ "recordView": { "type": "union", "refs": [ - "app.bsky.embed.images#view", - "app.bsky.embed.video#view", - "app.bsky.embed.external#view", - "app.bsky.embed.record#view", - "app.bsky.embed.recordWithMedia#view", "sh.weaver.embed.records#view", - "sh.weaver.embed.images#view" + "sh.weaver.embed.images#view", + "sh.weaver.embed.recordWithMedia#view", + "sh.weaver.embed.video#view" ] } } diff --git a/crates/jacquard-api/lexicons/sh_weaver_embed_video.json b/crates/jacquard-api/lexicons/sh_weaver_embed_video.json index ec8f11e2b..341f74df1 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_embed_video.json +++ b/crates/jacquard-api/lexicons/sh_weaver_embed_video.json @@ -24,6 +24,21 @@ } }, "main": { + "type": "object", + "required": [ + "videos" + ], + "properties": { + "videos": { + "type": "array", + "items": { + "type": "ref", + "ref": "#video" + } + } + } + }, + "video": { "type": "object", "required": [ "video" @@ -35,10 +50,6 @@ "maxLength": 10000, "maxGraphemes": 1000 }, - "aspectRatio": { - "type": "ref", - "ref": "app.bsky.embed.defs#aspectRatio" - }, "captions": { "type": "array", "items": { @@ -47,6 +58,18 @@ }, "maxLength": 20 }, + "dimensions": { + "type": "union", + "refs": [ + "app.bsky.embed.defs#aspectRatio", + "sh.weaver.embed.defs#percentSize", + "sh.weaver.embed.defs#pixelSize" + ] + }, + "name": { + "type": "string", + "maxLength": 128 + }, "video": { "type": "blob", "description": "The mp4 video file. May be up to 100mb, formerly limited to 50mb.", @@ -69,14 +92,22 @@ "maxLength": 10000, "maxGraphemes": 1000 }, - "aspectRatio": { - "type": "ref", - "ref": "app.bsky.embed.defs#aspectRatio" - }, "cid": { "type": "string", "format": "cid" }, + "dimensions": { + "type": "union", + "refs": [ + "app.bsky.embed.defs#aspectRatio", + "sh.weaver.embed.defs#percentSize", + "sh.weaver.embed.defs#pixelSize" + ] + }, + "name": { + "type": "string", + "maxLength": 128 + }, "playlist": { "type": "string", "format": "uri" diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_book.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_book.json index bae28afe7..6038db2e8 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_notebook_book.json +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_book.json @@ -36,6 +36,10 @@ "type": "ref", "ref": "sh.weaver.notebook.defs#tags" }, + "theme": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, "title": { "type": "ref", "ref": "sh.weaver.notebook.defs#title" diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_chapter.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_chapter.json index 23d86f545..7f38bc3c4 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_notebook_chapter.json +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_chapter.json @@ -4,7 +4,7 @@ "defs": { "main": { "type": "record", - "description": "A grouping of entries in a notebook, intended to be displayed as a single page.", + "description": "A grouping of entries in a notebook.", "key": "tid", "record": { "type": "object", @@ -14,6 +14,13 @@ "entryList" ], "properties": { + "authors": { + "type": "array", + "items": { + "type": "ref", + "ref": "sh.weaver.actor.defs#author" + } + }, "createdAt": { "type": "string", "description": "Client-declared timestamp when this was originally created.", @@ -28,7 +35,7 @@ }, "notebook": { "type": "ref", - "description": "The notebook this page belongs to.", + "description": "The notebook this chapter belongs to.", "ref": "com.atproto.repo.strongRef" }, "tags": { diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_colourScheme.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_colourScheme.json new file mode 100644 index 000000000..685c064b6 --- /dev/null +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_colourScheme.json @@ -0,0 +1,120 @@ +{ + "lexicon": 1, + "id": "sh.weaver.notebook.colourScheme", + "defs": { + "main": { + "type": "record", + "description": "A colour palette for notebook theming", + "key": "tid", + "record": { + "type": "object", + "required": [ + "name", + "variant", + "colours" + ], + "properties": { + "colours": { + "type": "object", + "required": [ + "base", + "surface", + "overlay", + "text", + "muted", + "subtle", + "emphasis", + "primary", + "secondary", + "tertiary", + "error", + "warning", + "success", + "border", + "link", + "highlight" + ], + "properties": { + "base": { + "type": "string", + "description": "Primary background for page/frame" + }, + "border": { + "type": "string", + "description": "Border/divider colour" + }, + "emphasis": { + "type": "string", + "description": "Emphasized text (bold, important)" + }, + "error": { + "type": "string", + "description": "Error state colour" + }, + "highlight": { + "type": "string", + "description": "Selection/highlight colour" + }, + "link": { + "type": "string", + "description": "Hyperlink colour" + }, + "muted": { + "type": "string", + "description": "De-emphasized text (disabled, metadata)" + }, + "overlay": { + "type": "string", + "description": "Tertiary background for popovers/dialogs" + }, + "primary": { + "type": "string", + "description": "Primary brand/accent colour" + }, + "secondary": { + "type": "string", + "description": "Secondary accent colour" + }, + "subtle": { + "type": "string", + "description": "Medium emphasis text (comments, labels)" + }, + "success": { + "type": "string", + "description": "Success state colour" + }, + "surface": { + "type": "string", + "description": "Secondary background for panels/cards" + }, + "tertiary": { + "type": "string", + "description": "Tertiary accent colour" + }, + "text": { + "type": "string", + "description": "Primary readable text colour" + }, + "warning": { + "type": "string", + "description": "Warning state colour" + } + } + }, + "name": { + "type": "string", + "description": "Human-readable name for the colour scheme" + }, + "variant": { + "type": "string", + "description": "Whether this is a dark or light colour scheme", + "enum": [ + "dark", + "light" + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_defs.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_defs.json index e9302c6cb..2085a9b18 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_notebook_defs.json +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_defs.json @@ -5,14 +5,10 @@ "authorListView": { "type": "object", "required": [ - "profile", + "record", "index" ], "properties": { - "cid": { - "type": "string", - "format": "cid" - }, "index": { "type": "integer" }, @@ -84,14 +80,17 @@ "required": [ "uri", "cid", - "author", + "authors", "record", "indexedAt" ], "properties": { "authors": { - "type": "ref", - "ref": "#authorListView" + "type": "array", + "items": { + "type": "ref", + "ref": "#authorListView" + } }, "cid": { "type": "string", @@ -127,14 +126,17 @@ "required": [ "uri", "cid", - "author", + "authors", "record", "indexedAt" ], "properties": { "authors": { - "type": "ref", - "ref": "#authorListView" + "type": "array", + "items": { + "type": "ref", + "ref": "#authorListView" + } }, "cid": { "type": "string", diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_entry.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_entry.json index 3f626154b..537df2578 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_notebook_entry.json +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_entry.json @@ -24,10 +24,34 @@ "description": "Client-declared timestamp when this was originally created.", "format": "datetime" }, - "images": { - "type": "ref", - "description": "The set of images, if any, embedded in the notebook entry.", - "ref": "sh.weaver.embed.images" + "embeds": { + "type": "object", + "description": "The set of images and records, if any, embedded in the notebook entry.", + "properties": { + "externals": { + "type": "ref", + "ref": "sh.weaver.embed.external" + }, + "images": { + "type": "ref", + "ref": "sh.weaver.embed.images" + }, + "records": { + "type": "ref", + "ref": "sh.weaver.embed.records" + }, + "recordsWithMedia": { + "type": "array", + "items": { + "type": "ref", + "ref": "sh.weaver.embed.recordWithMedia" + } + }, + "videos": { + "type": "ref", + "ref": "sh.weaver.embed.video" + } + } }, "tags": { "type": "ref", diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_page.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_page.json new file mode 100644 index 000000000..ee879339b --- /dev/null +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_page.json @@ -0,0 +1,46 @@ +{ + "lexicon": 1, + "id": "sh.weaver.notebook.page", + "defs": { + "main": { + "type": "record", + "description": "A grouping of entries in a notebook, intended to be displayed as a single page.", + "key": "tid", + "record": { + "type": "object", + "required": [ + "notebook", + "authors", + "entryList" + ], + "properties": { + "createdAt": { + "type": "string", + "description": "Client-declared timestamp when this was originally created.", + "format": "datetime" + }, + "entryList": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + } + }, + "notebook": { + "type": "ref", + "description": "The notebook this page belongs to.", + "ref": "com.atproto.repo.strongRef" + }, + "tags": { + "type": "ref", + "ref": "sh.weaver.notebook.defs#tags" + }, + "title": { + "type": "ref", + "ref": "sh.weaver.notebook.defs#title" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/sh_weaver_notebook_theme.json b/crates/jacquard-api/lexicons/sh_weaver_notebook_theme.json new file mode 100644 index 000000000..dd5a7f7ba --- /dev/null +++ b/crates/jacquard-api/lexicons/sh_weaver_notebook_theme.json @@ -0,0 +1,115 @@ +{ + "lexicon": 1, + "id": "sh.weaver.notebook.theme", + "defs": { + "codeThemeFile": { + "type": "object", + "required": [ + "name", + "did", + "content" + ], + "properties": { + "content": { + "type": "blob", + "accept": [ + "*/*" + ], + "maxSize": 20000 + }, + "did": { + "type": "string", + "format": "did" + }, + "name": { + "type": "string" + } + } + }, + "codeThemeName": { + "type": "string" + }, + "main": { + "type": "record", + "description": "Theme for a notebook", + "key": "tid", + "record": { + "type": "object", + "required": [ + "darkScheme", + "lightScheme", + "fonts", + "spacing", + "darkCodeTheme", + "lightCodeTheme" + ], + "properties": { + "darkCodeTheme": { + "type": "union", + "description": "Syntax highlighting theme for dark mode", + "refs": [ + "#codeThemeName", + "#codeThemeFile" + ] + }, + "darkScheme": { + "type": "ref", + "description": "Reference to a dark colour scheme", + "ref": "com.atproto.repo.strongRef" + }, + "fonts": { + "type": "object", + "required": [ + "body", + "heading", + "monospace" + ], + "properties": { + "body": { + "type": "string" + }, + "heading": { + "type": "string" + }, + "monospace": { + "type": "string" + } + } + }, + "lightCodeTheme": { + "type": "union", + "description": "Syntax highlighting theme for light mode", + "refs": [ + "#codeThemeName", + "#codeThemeFile" + ] + }, + "lightScheme": { + "type": "ref", + "description": "Reference to a light colour scheme", + "ref": "com.atproto.repo.strongRef" + }, + "spacing": { + "type": "object", + "required": [ + "baseSize", + "lineHeight", + "scale" + ], + "properties": { + "baseSize": { + "type": "string" + }, + "lineHeight": { + "type": "string" + }, + "scale": { + "type": "string" + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/sh_weaver_publish_blob.json b/crates/jacquard-api/lexicons/sh_weaver_publish_blob.json index 18bad19b2..5ca781cc1 100644 --- a/crates/jacquard-api/lexicons/sh_weaver_publish_blob.json +++ b/crates/jacquard-api/lexicons/sh_weaver_publish_blob.json @@ -9,9 +9,15 @@ "record": { "type": "object", "required": [ - "upload" + "upload", + "path" ], "properties": { + "path": { + "type": "string", + "description": "relative path to the blob", + "minLength": 1 + }, "upload": { "type": "blob", "description": "Reference to the uploaded file", diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_action.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_action.json deleted file mode 100644 index 34408d08e..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_action.json +++ /dev/null @@ -1,192 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.action", - "defs": { - "main": { - "type": "record", - "description": "An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role.\\n\\nSee also [blog post](https://blog.schema.org/2014/04/16/announcing-schema-org-actions/) and [Actions overview document](https://schema.org/docs/actions.html).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "actionProcess": { - "type": "union", - "description": "Description of the process by which the action was performed.", - "refs": [ - "social.flockfeeds.lexical.howto", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actionStatus": { - "type": "union", - "description": "Indicates the current disposition of the Action.", - "refs": [ - "social.flockfeeds.lexical.actionstatustype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "agent": { - "type": "union", - "description": "The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "error": { - "type": "union", - "description": "For failed actions, more information on the cause of the failure.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "instrument": { - "type": "union", - "description": "The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "object": { - "type": "union", - "description": "The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). E.g. John read *a book*.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "participant": { - "type": "union", - "description": "Other co-agents that participated in the action indirectly. E.g. John wrote a book with *Steve*.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "result": { - "type": "union", - "description": "The result produced in the action. E.g. John wrote *a book*.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "target": { - "type": "union", - "description": "Indicates a target EntryPoint, or url, for an Action.", - "refs": [ - "social.flockfeeds.lexical.entrypoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_aggregaterating.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_aggregaterating.json deleted file mode 100644 index e428bb83c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_aggregaterating.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.aggregaterating", - "defs": { - "main": { - "type": "record", - "description": "The average rating based on multiple ratings or reviews.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "bestRating": { - "type": "string", - "description": "The highest value allowed in this rating system." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemReviewed": { - "type": "union", - "description": "The item that is being reviewed/rated.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ratingCount": { - "type": "integer", - "description": "The count of total number of ratings." - }, - "ratingExplanation": { - "type": "string", - "description": "A short explanation (e.g. one to two sentences) providing background context and other information that led to the conclusion expressed in the rating. This is particularly applicable to ratings associated with \"fact check\" markup using [[ClaimReview]]." - }, - "ratingValue": { - "type": "string", - "description": "The rating for the content.\\n\\nUsage guidelines:\\n\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator." - }, - "reviewAspect": { - "type": "string", - "description": "This Review or Rating is relevant to this part or facet of the itemReviewed." - }, - "reviewCount": { - "type": "integer", - "description": "The count of total number of reviews." - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "worstRating": { - "type": "string", - "description": "The lowest value allowed in this rating system." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_alignmentobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_alignmentobject.json deleted file mode 100644 index c20a26147..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_alignmentobject.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.alignmentobject", - "defs": { - "main": { - "type": "record", - "description": "An intangible item that describes an alignment between a learning resource and a node in an educational framework.\n\nShould not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alignmentType": { - "type": "string", - "description": "A category of alignment between the learning resource and the framework node. Recommended values include: 'requires', 'textComplexity', 'readingLevel', and 'educationalSubject'." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "educationalFramework": { - "type": "string", - "description": "The framework to which the resource being described is aligned." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "targetDescription": { - "type": "string", - "description": "The description of a node in an established educational framework." - }, - "targetName": { - "type": "string", - "description": "The name of a node in an established educational framework." - }, - "targetUrl": { - "type": "string", - "description": "The URL of a node in an established educational framework.", - "format": "uri" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audience.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audience.json deleted file mode 100644 index 3a420acc7..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audience.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.audience", - "defs": { - "main": { - "type": "record", - "description": "Intended audience for an item, i.e. the group for whom the item was created.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "audienceType": { - "type": "string", - "description": "The target group associated with a given audience (e.g. veterans, car owners, musicians, etc.)." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "geographicArea": { - "type": "union", - "description": "The geographic area associated with the audience.", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audioobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audioobject.json deleted file mode 100644 index d5e81b08a..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_audioobject.json +++ /dev/null @@ -1,994 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.audioobject", - "defs": { - "main": { - "type": "record", - "description": "An audio file.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedArticle": { - "type": "union", - "description": "A NewsArticle associated with the Media Object.", - "refs": [ - "social.flockfeeds.lexical.newsarticle", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "bitrate": { - "type": "string", - "description": "The bitrate of the media object." - }, - "caption": { - "type": "union", - "description": "The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the [[encodingFormat]].", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contentSize": { - "type": "string", - "description": "File size in (mega/kilo)bytes." - }, - "contentUrl": { - "type": "string", - "description": "Actual bytes of the media object, for example the image file or video file.", - "format": "uri" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "embedUrl": { - "type": "string", - "description": "A URL pointing to a player for a specific video. In general, this is the information in the ```src``` element of an ```embed``` tag and should not be the same as the content of the ```loc``` tag.", - "format": "uri" - }, - "embeddedTextCaption": { - "type": "string", - "description": "Represents textual captioning from a [[MediaObject]], e.g. text of a 'meme'." - }, - "encodesCreativeWork": { - "type": "union", - "description": "The CreativeWork encoded by this media object.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "playerType": { - "type": "string", - "description": "Player type required—for example, Flash or Silverlight." - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "regionsAllowed": { - "type": "union", - "description": "The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiresSubscription": { - "type": "union", - "description": "Indicates if use of the media require a subscription (either paid or free). Allowed values are ```true``` or ```false``` (note that an earlier version had 'yes', 'no').", - "refs": [ - "social.flockfeeds.lexical.mediasubscription", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sha256": { - "type": "string", - "description": "The [SHA-2](https://en.wikipedia.org/wiki/SHA-2) SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "transcript": { - "type": "string", - "description": "If this MediaObject is an AudioObject or VideoObject, the transcript of that object." - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "uploadDate": { - "type": "string", - "description": "Date (including time if available) when this media object was uploaded to this site.", - "format": "datetime" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_brand.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_brand.json deleted file mode 100644 index d8ae0ae62..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_brand.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.brand", - "defs": { - "main": { - "type": "record", - "description": "A brand is a name used by an organization or business person for labeling a product, product group, or similar.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_breadcrumblist.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_breadcrumblist.json deleted file mode 100644 index a357f566a..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_breadcrumblist.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.breadcrumblist", - "defs": { - "main": { - "type": "record", - "description": "A BreadcrumbList is an ItemList consisting of a chain of linked Web pages, typically described using at least their URL and their name, and typically ending with the current page.\\n\\nThe [[position]] property is used to reconstruct the order of the items in a BreadcrumbList. The convention is that a breadcrumb list has an [[itemListOrder]] of [[ItemListOrderAscending]] (lower values listed first), and that the first items in this list correspond to the \"top\" or beginning of the breadcrumb trail, e.g. with a site or section homepage. The specific values of 'position' are not assigned meaning for a BreadcrumbList, but they should be integers, e.g. beginning with '1' for the first item in the list.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateElement": { - "type": "ref", - "description": "Indicates a prototype of the elements in the list that is used to hold aggregate information (ratings, offers, etc.).", - "ref": "social.flockfeeds.lexical.thing" - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "ref", - "description": "A description of the item.", - "ref": "social.flockfeeds.lexical.textobject" - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "ref", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "ref": "social.flockfeeds.lexical.propertyvalue" - }, - "image": { - "type": "ref", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "itemListElement": { - "type": "union", - "description": "For itemListElement values, you can use simple strings (e.g. \"Peter\", \"Paul\", \"Mary\"), existing entities, or use ListItem.\\n\\nText values are best if the elements in the list are plain strings. Existing entities are best for a simple, unordered list of existing things in your data. ListItem is used with ordered lists when you want to provide additional context about the element in that list or when the same item might be in different places in different lists.\\n\\nNote: The order of elements in your mark-up is not sufficient for indicating the order or elements. Use ListItem with a 'position' property in such cases.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.listitem" - ] - }, - "itemListOrder": { - "type": "ref", - "description": "Type of ordering (e.g. Ascending, Descending, Unordered).", - "ref": "social.flockfeeds.lexical.itemlistordertype" - }, - "mainEntityOfPage": { - "type": "ref", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "numberOfItems": { - "type": "integer", - "description": "The number of items in an ItemList. Note that some descriptions might not fully describe all items in a list (e.g., multi-page pagination); in such cases, the numberOfItems would be for the entire list." - }, - "potentialAction": { - "type": "ref", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "ref": "social.flockfeeds.lexical.action" - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_categorycode.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_categorycode.json deleted file mode 100644 index cea8f0bd7..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_categorycode.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.categorycode", - "defs": { - "main": { - "type": "record", - "description": "A Category Code.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "codeValue": { - "type": "string", - "description": "A short textual code that uniquely identifies the value." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inCodeSet": { - "type": "union", - "description": "A [[CategoryCodeSet]] that contains this category code.", - "refs": [ - "social.flockfeeds.lexical.categorycodeset", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inDefinedTermSet": { - "type": "union", - "description": "A [[DefinedTermSet]] that contains this term.", - "refs": [ - "social.flockfeeds.lexical.definedtermset", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "termCode": { - "type": "string", - "description": "A code that identifies this [[DefinedTerm]] within a [[DefinedTermSet]]." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_certification.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_certification.json deleted file mode 100644 index 27e4baeb7..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_certification.json +++ /dev/null @@ -1,925 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.certification", - "defs": { - "main": { - "type": "record", - "description": "A Certification is an official and authoritative statement about a subject, for example a product, service, person, or organization. A certification is typically issued by an indendent certification body, for example a professional organization or government. It formally attests certain characteristics about the subject, for example Organizations can be ISO certified, Food products can be certified Organic or Vegan, a Person can be a certified professional, a Place can be certified for food processing. There are certifications for many domains: regulatory, organizational, recycling, food, efficiency, educational, ecological, etc. A certification is a form of credential, as are accreditations and licenses. Mapped from the [gs1:CertificationDetails](https://www.gs1.org/voc/CertificationDetails) class in the GS1 Web Vocabulary.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "auditDate": { - "type": "string", - "description": "Date when a certification was last audited. See also [gs1:certificationAuditDate](https://www.gs1.org/voc/certificationAuditDate).", - "format": "datetime" - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "certificationIdentification": { - "type": "union", - "description": "Identifier of a certification instance (as registered with an independent certification body). Typically this identifier can be used to consult and verify the certification instance. See also [gs1:certificationIdentification](https://www.gs1.org/voc/certificationIdentification).", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "certificationRating": { - "type": "union", - "description": "Rating of a certification instance (as defined by an independent certification body). Typically this rating can be used to rate the level to which the requirements of the certification instance are fulfilled. See also [gs1:certificationValue](https://www.gs1.org/voc/certificationValue).", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "certificationStatus": { - "type": "string", - "description": "Indicates the current status of a certification: active or inactive. See also [gs1:certificationStatus](https://www.gs1.org/voc/certificationStatus)." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "issuedBy": { - "type": "union", - "description": "The organization issuing the item, for example a [[Permit]], [[Ticket]], or [[Certification]].", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "validFrom": { - "type": "string", - "description": "The date when the item becomes valid.", - "format": "datetime" - }, - "validIn": { - "type": "union", - "description": "The geographic area where the item is valid. Applies for example to a [[Permit]], a [[Certification]], or an [[EducationalOccupationalCredential]].", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_claim.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_claim.json deleted file mode 100644 index 3afeb95b0..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_claim.json +++ /dev/null @@ -1,888 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.claim", - "defs": { - "main": { - "type": "record", - "description": "A [[Claim]] in Schema.org represents a specific, factually-oriented claim that could be the [[itemReviewed]] in a [[ClaimReview]]. The content of a claim can be summarized with the [[text]] property. Variations on well known claims can have their common identity indicated via [[sameAs]] links, and summarized with a [[name]]. Ideally, a [[Claim]] description includes enough contextual information to minimize the risk of ambiguity or inclarity. In practice, many claims are better understood in the context in which they appear or the interpretations provided by claim reviews.\n\n Beyond [[ClaimReview]], the Claim type can be associated with related creative works - for example a [[ScholarlyArticle]] or [[Question]] might be [[about]] some [[Claim]].\n\n At this time, Schema.org does not define any types of relationship between claims. This is a natural area for future exploration.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "appearance": { - "type": "union", - "description": "Indicates an occurrence of a [[Claim]] in some [[CreativeWork]].", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "claimInterpreter": { - "type": "union", - "description": "For a [[Claim]] interpreted from [[MediaObject]] content, the [[interpretedAsClaim]] property can be used to indicate a claim contained, implied or refined from the content of a [[MediaObject]].", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "firstAppearance": { - "type": "union", - "description": "Indicates the first known occurrence of a [[Claim]] in some [[CreativeWork]].", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_clip.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_clip.json deleted file mode 100644 index b8aa7b33c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_clip.json +++ /dev/null @@ -1,949 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.clip", - "defs": { - "main": { - "type": "record", - "description": "A short TV or radio program or a segment/part of a program.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actors": { - "type": "union", - "description": "An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "clipNumber": { - "type": "string", - "description": "Position of the clip within an ordered group of clips." - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "directors": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endOffset": { - "type": "union", - "description": "The end time of the clip expressed as the number of seconds from the beginning of the work.", - "refs": [ - "social.flockfeeds.lexical.hypertocentry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "musicBy": { - "type": "union", - "description": "The composer of the soundtrack.", - "refs": [ - "social.flockfeeds.lexical.musicgroup", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfEpisode": { - "type": "union", - "description": "The episode to which this clip belongs.", - "refs": [ - "social.flockfeeds.lexical.episode", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfSeason": { - "type": "union", - "description": "The season to which this episode belongs.", - "refs": [ - "social.flockfeeds.lexical.creativeworkseason", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfSeries": { - "type": "union", - "description": "The series to which this episode or season belongs.", - "refs": [ - "social.flockfeeds.lexical.creativeworkseries", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startOffset": { - "type": "union", - "description": "The start time of the clip expressed as the number of seconds from the beginning of the work.", - "refs": [ - "social.flockfeeds.lexical.hypertocentry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_comment.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_comment.json deleted file mode 100644 index 3d04f440c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_comment.json +++ /dev/null @@ -1,888 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.comment", - "defs": { - "main": { - "type": "record", - "description": "A comment on an item - for example, a comment on a blog post. The comment's content is expressed via the [[text]] property, and its topic via [[about]], properties shared with all CreativeWorks.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "downvoteCount": { - "type": "integer", - "description": "The number of downvotes this question, answer or comment has received from the community." - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parentItem": { - "type": "union", - "description": "The parent of a question, answer or item in general. Typically used for Q/A discussion threads e.g. a chain of comments with the first comment being an [[Article]] or other [[CreativeWork]]. See also [[comment]] which points from something to a comment about it.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sharedContent": { - "type": "union", - "description": "A CreativeWork such as an image, video, or audio clip shared as part of this posting.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "upvoteCount": { - "type": "integer", - "description": "The number of upvotes this question, answer or comment has received from the community." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_correctioncomment.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_correctioncomment.json deleted file mode 100644 index f5e364055..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_correctioncomment.json +++ /dev/null @@ -1,888 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.correctioncomment", - "defs": { - "main": { - "type": "record", - "description": "A [[comment]] that corrects [[CreativeWork]].", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "downvoteCount": { - "type": "integer", - "description": "The number of downvotes this question, answer or comment has received from the community." - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parentItem": { - "type": "union", - "description": "The parent of a question, answer or item in general. Typically used for Q/A discussion threads e.g. a chain of comments with the first comment being an [[Article]] or other [[CreativeWork]]. See also [[comment]] which points from something to a comment about it.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sharedContent": { - "type": "union", - "description": "A CreativeWork such as an image, video, or audio clip shared as part of this posting.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "upvoteCount": { - "type": "integer", - "description": "The number of upvotes this question, answer or comment has received from the community." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_country.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_country.json deleted file mode 100644 index 3cb04bdcd..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_country.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.country", - "defs": { - "main": { - "type": "record", - "description": "A country.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "amenityFeature": { - "type": "union", - "description": "An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.", - "refs": [ - "social.flockfeeds.lexical.locationfeaturespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "branchCode": { - "type": "string", - "description": "A short textual code (also called \"store code\") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.\\n\\nFor example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code \"3047\" is a branchCode for a particular branch." - }, - "containedIn": { - "type": "union", - "description": "The basic containment relation between a place and one that contains it.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "containedInPlace": { - "type": "union", - "description": "The basic containment relation between a place and one that contains it.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "containsPlace": { - "type": "union", - "description": "The basic containment relation between a place and another that it contains.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "event": { - "type": "union", - "description": "Upcoming or past event associated with this place, organization, or action.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "events": { - "type": "union", - "description": "Upcoming or past events associated with this place or organization.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "geo": { - "type": "union", - "description": "The geo coordinates of the place.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.geocoordinates", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoContains": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. \"a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCoveredBy": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCovers": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. \"Every point of b is a point of (the interior or boundary of) a\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCrosses": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: \"a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoDisjoint": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: \"they have no point in common. They form a set of disconnected geometries.\" (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoEquals": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). \"Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other\" (a symmetric relationship).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoIntersects": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoOverlaps": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoTouches": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) touch: \"they have at least one boundary point in common, but no interior points.\" (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoWithin": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasDriveThroughService": { - "type": "boolean", - "description": "Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users." - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMap": { - "type": "union", - "description": "A URL to a map of the place.", - "refs": [ - "social.flockfeeds.lexical.map", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "latitude": { - "type": "string", - "description": "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "longitude": { - "type": "string", - "description": "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "map": { - "type": "string", - "description": "A URL to a map of the place.", - "format": "uri" - }, - "maps": { - "type": "string", - "description": "A URL to a map of the place.", - "format": "uri" - }, - "maximumAttendeeCapacity": { - "type": "integer", - "description": "The total number of individuals that may attend an event or venue." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "openingHoursSpecification": { - "type": "union", - "description": "The opening hours of a certain place.", - "refs": [ - "social.flockfeeds.lexical.openinghoursspecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "photo": { - "type": "union", - "description": "A photograph of this place.", - "refs": [ - "social.flockfeeds.lexical.photograph", - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "photos": { - "type": "union", - "description": "Photographs of this place.", - "refs": [ - "social.flockfeeds.lexical.photograph", - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publicAccess": { - "type": "boolean", - "description": "A flag to signal that the [[Place]] is open to public visitors. If this property is omitted there is no assumed default boolean value." - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "smokingAllowed": { - "type": "boolean", - "description": "Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room." - }, - "specialOpeningHoursSpecification": { - "type": "union", - "description": "The special opening hours of a certain place.\\n\\nUse this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].", - "refs": [ - "social.flockfeeds.lexical.openinghoursspecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "tourBookingPage": { - "type": "string", - "description": "A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.", - "format": "uri" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativework.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativework.json deleted file mode 100644 index 1508e9ea5..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativework.json +++ /dev/null @@ -1,863 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.creativework", - "defs": { - "main": { - "type": "record", - "description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativeworkseason.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativeworkseason.json deleted file mode 100644 index 5adc860b0..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_creativeworkseason.json +++ /dev/null @@ -1,938 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.creativeworkseason", - "defs": { - "main": { - "type": "record", - "description": "A media season, e.g. TV, radio, video game etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endDate": { - "type": "string", - "description": "The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "episode": { - "type": "union", - "description": "An episode of a TV, radio or game media within a series or season.", - "refs": [ - "social.flockfeeds.lexical.episode", - "social.flockfeeds.lexical.itemlist" - ] - }, - "episodes": { - "type": "union", - "description": "An episode of a TV/radio series or season.", - "refs": [ - "social.flockfeeds.lexical.episode", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "numberOfEpisodes": { - "type": "integer", - "description": "The number of episodes in this season or series." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfSeries": { - "type": "union", - "description": "The series to which this episode or season belongs.", - "refs": [ - "social.flockfeeds.lexical.creativeworkseries", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "seasonNumber": { - "type": "string", - "description": "Position of the season within an ordered group of seasons." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startDate": { - "type": "string", - "description": "The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "trailer": { - "type": "union", - "description": "The trailer of a movie or TV/radio series, season, episode, etc.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_definedterm.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_definedterm.json deleted file mode 100644 index 286ef6d0a..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_definedterm.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.definedterm", - "defs": { - "main": { - "type": "record", - "description": "A word, name, acronym, phrase, etc. with a formal definition. Often used in the context of category or subject classification, glossaries or dictionaries, product or creative work types, etc. Use the name property for the term being defined, use termCode if the term has an alpha-numeric code allocated, use description to provide the definition of the term.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inDefinedTermSet": { - "type": "union", - "description": "A [[DefinedTermSet]] that contains this term.", - "refs": [ - "social.flockfeeds.lexical.definedtermset", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "termCode": { - "type": "string", - "description": "A code that identifies this [[DefinedTerm]] within a [[DefinedTermSet]]." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_demand.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_demand.json deleted file mode 100644 index 69055135c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_demand.json +++ /dev/null @@ -1,325 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.demand", - "defs": { - "main": { - "type": "record", - "description": "A demand entity represents the public, not necessarily binding, not necessarily exclusive, announcement by an organization or person to seek a certain type of goods or services. For describing demand using this type, the very same properties used for Offer apply.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "acceptedPaymentMethod": { - "type": "union", - "description": "The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.", - "refs": [ - "social.flockfeeds.lexical.paymentmethod", - "social.flockfeeds.lexical.loanorcredit", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "advanceBookingRequirement": { - "type": "union", - "description": "The amount of time that is required between accepting the offer and the actual usage of the resource or service.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "asin": { - "type": "string", - "description": "An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article).\n\nNote also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details.\nASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too." - }, - "availability": { - "type": "union", - "description": "The availability of this item—for example In stock, Out of stock, Pre-order, etc.", - "refs": [ - "social.flockfeeds.lexical.itemavailability", - "social.flockfeeds.lexical.itemlist" - ] - }, - "availabilityEnds": { - "type": "string", - "description": "The end of the availability of the product or service included in the offer." - }, - "availabilityStarts": { - "type": "string", - "description": "The beginning of the availability of the product or service included in the offer." - }, - "availableAtOrFrom": { - "type": "union", - "description": "The place(s) from which the offer can be obtained (e.g. store locations).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "availableDeliveryMethod": { - "type": "union", - "description": "The delivery method(s) available for this offer.", - "refs": [ - "social.flockfeeds.lexical.deliverymethod", - "social.flockfeeds.lexical.itemlist" - ] - }, - "businessFunction": { - "type": "union", - "description": "The business function (e.g. sell, lease, repair, dispose) of the offer or component of a bundle (TypeAndQuantityNode). The default is http://purl.org/goodrelations/v1#Sell.", - "refs": [ - "social.flockfeeds.lexical.businessfunction", - "social.flockfeeds.lexical.itemlist" - ] - }, - "deliveryLeadTime": { - "type": "union", - "description": "The typical delay between the receipt of the order and the goods either leaving the warehouse or being prepared for pickup, in case the delivery method is on site pickup.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "eligibleCustomerType": { - "type": "union", - "description": "The type(s) of customers for which the given offer is valid.", - "refs": [ - "social.flockfeeds.lexical.businessentitytype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleDuration": { - "type": "union", - "description": "The duration for which the given offer is valid.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleQuantity": { - "type": "union", - "description": "The interval and unit of measurement of ordering quantities for which the offer or price specification is valid. This allows e.g. specifying that a certain freight charge is valid only for a certain quantity.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.\\n\\nSee also [[ineligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleTransactionVolume": { - "type": "union", - "description": "The transaction volume, in a monetary unit, for which the offer or price specification is valid, e.g. for indicating a minimal purchasing volume, to express free shipping above a certain order volume, or to limit the acceptance of credit cards to purchases to a certain minimal amount.", - "refs": [ - "social.flockfeeds.lexical.pricespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gtin": { - "type": "string", - "description": "A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.\n\nA correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1's GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.\n\nThe GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) expresses GTINs as URLs (URIs, IRIs, etc.).\nDigital Links should be populated into the [[hasGS1DigitalLink]] attribute.\n\nNote also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details." - }, - "gtin12": { - "type": "string", - "description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin13": { - "type": "string", - "description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin14": { - "type": "string", - "description": "The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin8": { - "type": "string", - "description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "includesObject": { - "type": "union", - "description": "This links to a node or nodes indicating the exact quantity of the products included in an [[Offer]] or [[ProductCollection]].", - "refs": [ - "social.flockfeeds.lexical.typeandquantitynode", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inventoryLevel": { - "type": "union", - "description": "The current approximate inventory level for the item or items.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemOffered": { - "type": "union", - "description": "An item being offered (or demanded). The transactional nature of the offer or demand is documented using [[businessFunction]], e.g. sell, lease etc. While several common expected types are listed explicitly in this definition, others can be used. Using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.aggregateoffer", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.menuitem", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.trip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mpn": { - "type": "string", - "description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "priceSpecification": { - "type": "union", - "description": "One or more detailed price specifications, indicating the unit price and delivery or payment charges.", - "refs": [ - "social.flockfeeds.lexical.pricespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seller": { - "type": "union", - "description": "An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serialNumber": { - "type": "string", - "description": "The serial number or any alphanumeric identifier of a particular product. When attached to an offer, it is a shortcut for the serial number of the product included in the offer." - }, - "sku": { - "type": "string", - "description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "validFrom": { - "type": "string", - "description": "The date when the item becomes valid.", - "format": "datetime" - }, - "validThrough": { - "type": "string", - "description": "The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.", - "format": "datetime" - }, - "warranty": { - "type": "union", - "description": "The warranty promise(s) included in the offer.", - "refs": [ - "social.flockfeeds.lexical.warrantypromise", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_distance.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_distance.json deleted file mode 100644 index 40822cf1b..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_distance.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.distance", - "defs": { - "main": { - "type": "record", - "description": "Properties that take Distances as values are of the form '<Number> <Length unit of measure>'. E.g., '7 ft'.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_duration.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_duration.json deleted file mode 100644 index 3b755e731..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_duration.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.duration", - "defs": { - "main": { - "type": "record", - "description": "Quantity: Duration (use [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601)).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_energyconsumptiondetails.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_energyconsumptiondetails.json deleted file mode 100644 index e9b7648d2..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_energyconsumptiondetails.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.energyconsumptiondetails", - "defs": { - "main": { - "type": "record", - "description": "EnergyConsumptionDetails represents information related to the energy efficiency of a product that consumes energy. The information that can be provided is based on international regulations such as for example [EU directive 2017/1369](https://eur-lex.europa.eu/eli/reg/2017/1369/oj) for energy labeling and the [Energy labeling rule](https://www.ftc.gov/enforcement/rules/rulemaking-regulatory-reform-proceedings/energy-water-use-labeling-consumer) under the Energy Policy and Conservation Act (EPCA) in the US.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "energyEfficiencyScaleMax": { - "type": "string", - "description": "Specifies the most energy efficient class on the regulated EU energy consumption scale for the product category a product belongs to. For example, energy consumption for televisions placed on the market after January 1, 2020 is scaled from D to A+++." - }, - "energyEfficiencyScaleMin": { - "type": "string", - "description": "Specifies the least energy efficient class on the regulated EU energy consumption scale for the product category a product belongs to. For example, energy consumption for televisions placed on the market after January 1, 2020 is scaled from D to A+++." - }, - "hasEnergyEfficiencyCategory": { - "type": "string", - "description": "Defines the energy efficiency Category (which could be either a rating out of range of values or a yes/no certification) for a product according to an international energy efficiency standard." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_episode.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_episode.json deleted file mode 100644 index 115c38f6d..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_episode.json +++ /dev/null @@ -1,950 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.episode", - "defs": { - "main": { - "type": "record", - "description": "A media episode (e.g. TV, radio, video game) which can be part of a series or season.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actors": { - "type": "union", - "description": "An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "directors": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "episodeNumber": { - "type": "string", - "description": "Position of the episode within an ordered group of episodes." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "musicBy": { - "type": "union", - "description": "The composer of the soundtrack.", - "refs": [ - "social.flockfeeds.lexical.musicgroup", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfSeason": { - "type": "union", - "description": "The season to which this episode belongs.", - "refs": [ - "social.flockfeeds.lexical.creativeworkseason", - "social.flockfeeds.lexical.itemlist" - ] - }, - "partOfSeries": { - "type": "union", - "description": "The series to which this episode or season belongs.", - "refs": [ - "social.flockfeeds.lexical.creativeworkseries", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "trailer": { - "type": "union", - "description": "The trailer of a movie or TV/radio series, season, episode, etc.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_event.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_event.json deleted file mode 100644 index b54c5090d..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_event.json +++ /dev/null @@ -1,393 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.event", - "defs": { - "main": { - "type": "record", - "description": "An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "attendee": { - "type": "union", - "description": "A person or organization attending the event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "attendees": { - "type": "union", - "description": "A person attending the event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "composer": { - "type": "union", - "description": "The person or organization who wrote a composition, or who is the composer of a work performed at some event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "doorTime": { - "type": "string", - "description": "The time admission will commence." - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endDate": { - "type": "string", - "description": "The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "eventAttendanceMode": { - "type": "string", - "description": "The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix." - }, - "eventSchedule": { - "type": "union", - "description": "Associates an [[Event]] with a [[Schedule]]. There are circumstances where it is preferable to share a schedule for a series of\n repeating events rather than data on the individual events themselves. For example, a website or application might prefer to publish a schedule for a weekly\n gym class rather than provide data on every event. A schedule could be processed by applications to add forthcoming events to a calendar. An [[Event]] that\n is associated with a [[Schedule]] using this property should not have [[startDate]] or [[endDate]] properties. These are instead defined within the associated\n [[Schedule]], this avoids any ambiguity for clients using the data. The property might have repeated values to specify different schedules, e.g. for different months\n or seasons.", - "refs": [ - "social.flockfeeds.lexical.schedule", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eventStatus": { - "type": "union", - "description": "An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.", - "refs": [ - "social.flockfeeds.lexical.eventstatustype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maximumAttendeeCapacity": { - "type": "integer", - "description": "The total number of individuals that may attend an event or venue." - }, - "maximumPhysicalAttendeeCapacity": { - "type": "integer", - "description": "The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]])." - }, - "maximumVirtualAttendeeCapacity": { - "type": "integer", - "description": "The maximum virtual attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]])." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "organizer": { - "type": "union", - "description": "An organizer of an Event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performer": { - "type": "union", - "description": "A performer at the event—for example, a presenter, musician, musical group or actor.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performers": { - "type": "union", - "description": "The main performer or performers of the event—for example, a presenter, musician, or actor.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "previousStartDate": { - "type": "string", - "description": "Used in conjunction with eventStatus for rescheduled or cancelled events. This property contains the previously scheduled start date. For rescheduled events, the startDate property should be used for the newly scheduled start date. In the (rare) case of an event that has been postponed and rescheduled multiple times, this field may be repeated.", - "format": "datetime" - }, - "recordedIn": { - "type": "union", - "description": "The CreativeWork that captured all or part of this Event.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "remainingAttendeeCapacity": { - "type": "integer", - "description": "The number of attendee places for an event that remain unallocated." - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startDate": { - "type": "string", - "description": "The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "subEvent": { - "type": "union", - "description": "An Event that is part of this event. For example, a conference event includes many presentations, each of which is a subEvent of the conference.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subEvents": { - "type": "union", - "description": "Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "superEvent": { - "type": "union", - "description": "An event that this event is a part of. For example, a collection of individual music performances might each have a music festival as their superEvent.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "workFeatured": { - "type": "union", - "description": "A work featured in some event, e.g. exhibited in an ExhibitionEvent.\n Specific subproperties are available for workPerformed (e.g. a play), or a workPresented (a Movie at a ScreeningEvent).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workPerformed": { - "type": "union", - "description": "A work performed in some event, for example a play performed in a TheaterEvent.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_grant.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_grant.json deleted file mode 100644 index 3d061218c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_grant.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.grant", - "defs": { - "main": { - "type": "record", - "description": "A grant, typically financial or otherwise quantifiable, of resources. Typically a [[funder]] sponsors some [[MonetaryAmount]] to an [[Organization]] or [[Person]],\n sometimes not necessarily via a dedicated or long-lived [[Project]], resulting in one or more outputs, or [[fundedItem]]s. For financial sponsorship, indicate the [[funder]] of a [[MonetaryGrant]]. For non-financial support, indicate [[sponsor]] of [[Grant]]s of resources (e.g. office space).\n\nGrants support activities directed towards some agreed collective goals, often but not always organized as [[Project]]s. Long-lived projects are sometimes sponsored by a variety of grants over time, but it is also common for a project to be associated with a single grant.\n\nThe amount of a [[Grant]] is represented using [[amount]] as a [[MonetaryAmount]].", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "fundedItem": { - "type": "union", - "description": "Indicates something directly or indirectly funded or sponsored through a [[Grant]]. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.medicalentity", - "social.flockfeeds.lexical.biochementity", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosection.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosection.json deleted file mode 100644 index fab8c1f62..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosection.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.howtosection", - "defs": { - "main": { - "type": "record", - "description": "A sub-grouping of steps in the instructions for how to achieve a result (e.g. steps for making a pie crust within a pie recipe).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "steps": { - "type": "union", - "description": "A single step item (as HowToStep, text, document, video, etc.) or a HowToSection (originally misnamed 'steps'; 'step' is preferred).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtostep.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtostep.json deleted file mode 100644 index de7a3aae9..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtostep.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.howtostep", - "defs": { - "main": { - "type": "record", - "description": "A step in the instructions for how to achieve a result. It is an ordered list with HowToDirection and/or HowToTip items.", - "key": "tid", - "record": { - "type": "object", - "properties": {} - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosupply.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosupply.json deleted file mode 100644 index 8027eca04..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtosupply.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.howtosupply", - "defs": { - "main": { - "type": "record", - "description": "A supply consumed when performing the instructions for how to achieve a result.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "estimatedCost": { - "type": "union", - "description": "The estimated cost of the supply or supplies consumed when performing instructions.", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "item": { - "type": "union", - "description": "An entity represented by an entry in a list or data feed (e.g. an 'artist' in a list of 'artists').", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nextItem": { - "type": "union", - "description": "A link to the ListItem that follows the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "previousItem": { - "type": "union", - "description": "A link to the ListItem that precedes the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiredQuantity": { - "type": "union", - "description": "The required quantity of the item(s).", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtotool.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtotool.json deleted file mode 100644 index e8e863d69..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_howtotool.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.howtotool", - "defs": { - "main": { - "type": "record", - "description": "A tool used (but not consumed) when performing instructions for how to achieve a result.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "item": { - "type": "union", - "description": "An entity represented by an entry in a list or data feed (e.g. an 'artist' in a list of 'artists').", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nextItem": { - "type": "union", - "description": "A link to the ListItem that follows the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "previousItem": { - "type": "union", - "description": "A link to the ListItem that precedes the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiredQuantity": { - "type": "union", - "description": "The required quantity of the item(s).", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_imageobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_imageobject.json deleted file mode 100644 index e70694e09..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_imageobject.json +++ /dev/null @@ -1,1002 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.imageobject", - "defs": { - "main": { - "type": "record", - "description": "An image file.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedArticle": { - "type": "union", - "description": "A NewsArticle associated with the Media Object.", - "refs": [ - "social.flockfeeds.lexical.newsarticle", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "bitrate": { - "type": "string", - "description": "The bitrate of the media object." - }, - "caption": { - "type": "union", - "description": "The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the [[encodingFormat]].", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contentSize": { - "type": "string", - "description": "File size in (mega/kilo)bytes." - }, - "contentUrl": { - "type": "string", - "description": "Actual bytes of the media object, for example the image file or video file.", - "format": "uri" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "embedUrl": { - "type": "string", - "description": "A URL pointing to a player for a specific video. In general, this is the information in the ```src``` element of an ```embed``` tag and should not be the same as the content of the ```loc``` tag.", - "format": "uri" - }, - "embeddedTextCaption": { - "type": "string", - "description": "Represents textual captioning from a [[MediaObject]], e.g. text of a 'meme'." - }, - "encodesCreativeWork": { - "type": "union", - "description": "The CreativeWork encoded by this media object.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exifData": { - "type": "union", - "description": "exif data for this object.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "playerType": { - "type": "string", - "description": "Player type required—for example, Flash or Silverlight." - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "regionsAllowed": { - "type": "union", - "description": "The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "representativeOfPage": { - "type": "boolean", - "description": "Indicates whether this image is representative of the content of the page." - }, - "requiresSubscription": { - "type": "union", - "description": "Indicates if use of the media require a subscription (either paid or free). Allowed values are ```true``` or ```false``` (note that an earlier version had 'yes', 'no').", - "refs": [ - "social.flockfeeds.lexical.mediasubscription", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sha256": { - "type": "string", - "description": "The [SHA-2](https://en.wikipedia.org/wiki/SHA-2) SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "uploadDate": { - "type": "string", - "description": "Date (including time if available) when this media object was uploaded to this site.", - "format": "datetime" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_interactioncounter.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_interactioncounter.json deleted file mode 100644 index ba6972ec7..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_interactioncounter.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.interactioncounter", - "defs": { - "main": { - "type": "record", - "description": "A summary of how users have interacted with this CreativeWork. In most cases, authors will use a subtype to specify the specific type of interaction.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionService": { - "type": "union", - "description": "The WebSite or SoftwareApplication where the interactions took place.", - "refs": [ - "social.flockfeeds.lexical.website", - "social.flockfeeds.lexical.softwareapplication", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionType": { - "type": "union", - "description": "The Action representing the type of interaction. For up votes, +1s, etc. use [[LikeAction]]. For down votes use [[DislikeAction]]. Otherwise, use the most specific Action.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "userInteractionCount": { - "type": "integer", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_iptcdigitalsourceenumeration.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_iptcdigitalsourceenumeration.json deleted file mode 100644 index fbfd62ed2..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_iptcdigitalsourceenumeration.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.iptcdigitalsourceenumeration", - "defs": { - "main": { - "type": "record", - "description": "IPTC \"Digital Source\" codes for use with the [[digitalSourceType]] property, providing information about the source for a digital media object.\nIn general these codes are not declared here to be mutually exclusive, although some combinations would be contradictory if applied simultaneously, or might be considered mutually incompatible by upstream maintainers of the definitions. See the IPTC documentation\n for detailed definitions of all terms.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "ref", - "description": "A description of the item.", - "ref": "social.flockfeeds.lexical.textobject" - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "ref", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "ref": "social.flockfeeds.lexical.propertyvalue" - }, - "image": { - "type": "ref", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "mainEntityOfPage": { - "type": "ref", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "ref", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "ref": "social.flockfeeds.lexical.action" - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework" - ] - }, - "supersededBy": { - "type": "union", - "description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", - "refs": [ - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.class", - "social.flockfeeds.lexical.property" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_itemlist.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_itemlist.json deleted file mode 100644 index 29f4ac4f0..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_itemlist.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.itemlist", - "defs": { - "main": { - "type": "record", - "description": "A list of items of any sort—for example, Top 10 Movies About Weathermen, or Top 100 Party Songs. Not to be confused with HTML lists, which are often used only for formatting.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateElement": { - "type": "union", - "description": "Indicates a prototype of the elements in the list that is used to hold aggregate information (ratings, offers, etc.).", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemListElement": { - "type": "union", - "description": "For itemListElement values, you can use simple strings (e.g. \"Peter\", \"Paul\", \"Mary\"), existing entities, or use ListItem.\\n\\nText values are best if the elements in the list are plain strings. Existing entities are best for a simple, unordered list of existing things in your data. ListItem is used with ordered lists when you want to provide additional context about the element in that list or when the same item might be in different places in different lists.\\n\\nNote: The order of elements in your mark-up is not sufficient for indicating the order or elements. Use ListItem with a 'position' property in such cases.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemListOrder": { - "type": "union", - "description": "Type of ordering (e.g. Ascending, Descending, Unordered).", - "refs": [ - "social.flockfeeds.lexical.itemlistordertype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "numberOfItems": { - "type": "integer", - "description": "The number of items in an ItemList. Note that some descriptions might not fully describe all items in a list (e.g., multi-page pagination); in such cases, the numberOfItems would be for the entire list." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_language.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_language.json deleted file mode 100644 index 905bb1ec8..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_language.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.language", - "defs": { - "main": { - "type": "record", - "description": "Natural languages such as Spanish, Tamil, Hindi, English, etc. Formal language code tags expressed in [BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) can be used via the [[alternateName]] property. The Language type previously also covered programming languages such as Scheme and Lisp, which are now best represented using [[ComputerLanguage]].", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_listitem.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_listitem.json deleted file mode 100644 index 015adf3d5..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_listitem.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.listitem", - "defs": { - "main": { - "type": "record", - "description": "An list item, e.g. a step in a checklist or how-to description.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "item": { - "type": "union", - "description": "An entity represented by an entry in a list or data feed (e.g. an 'artist' in a list of 'artists').", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nextItem": { - "type": "union", - "description": "A link to the ListItem that follows the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "previousItem": { - "type": "union", - "description": "A link to the ListItem that precedes the current one.", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mass.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mass.json deleted file mode 100644 index 165b36a3e..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mass.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.mass", - "defs": { - "main": { - "type": "record", - "description": "Properties that take Mass as values are of the form '<Number> <Mass unit of measure>'. E.g., '7 kg'.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mediaobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mediaobject.json deleted file mode 100644 index 1e39c82a5..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_mediaobject.json +++ /dev/null @@ -1,978 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.mediaobject", - "defs": { - "main": { - "type": "record", - "description": "A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedArticle": { - "type": "union", - "description": "A NewsArticle associated with the Media Object.", - "refs": [ - "social.flockfeeds.lexical.newsarticle", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "bitrate": { - "type": "string", - "description": "The bitrate of the media object." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contentSize": { - "type": "string", - "description": "File size in (mega/kilo)bytes." - }, - "contentUrl": { - "type": "string", - "description": "Actual bytes of the media object, for example the image file or video file.", - "format": "uri" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "embedUrl": { - "type": "string", - "description": "A URL pointing to a player for a specific video. In general, this is the information in the ```src``` element of an ```embed``` tag and should not be the same as the content of the ```loc``` tag.", - "format": "uri" - }, - "encodesCreativeWork": { - "type": "union", - "description": "The CreativeWork encoded by this media object.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "playerType": { - "type": "string", - "description": "Player type required—for example, Flash or Silverlight." - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "regionsAllowed": { - "type": "union", - "description": "The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiresSubscription": { - "type": "union", - "description": "Indicates if use of the media require a subscription (either paid or free). Allowed values are ```true``` or ```false``` (note that an earlier version had 'yes', 'no').", - "refs": [ - "social.flockfeeds.lexical.mediasubscription", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sha256": { - "type": "string", - "description": "The [SHA-2](https://en.wikipedia.org/wiki/SHA-2) SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "uploadDate": { - "type": "string", - "description": "Date (including time if available) when this media object was uploaded to this site.", - "format": "datetime" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_merchantreturnpolicy.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_merchantreturnpolicy.json deleted file mode 100644 index 04dad0c85..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_merchantreturnpolicy.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.merchantreturnpolicy", - "defs": { - "main": { - "type": "record", - "description": "A MerchantReturnPolicy provides information about product return policies associated with an [[Organization]], [[Product]], or [[Offer]].", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "applicableCountry": { - "type": "union", - "description": "A country where a particular merchant return policy applies to, for example the two-letter ISO 3166-1 alpha-2 country code.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "customerRemorseReturnFees": { - "type": "string", - "description": "The type of return fees if the product is returned due to customer remorse." - }, - "customerRemorseReturnLabelSource": { - "type": "string", - "description": "The method (from an enumeration) by which the customer obtains a return shipping label for a product returned due to customer remorse." - }, - "customerRemorseReturnShippingFeesAmount": { - "type": "union", - "description": "The amount of shipping costs if a product is returned due to customer remorse. Applicable when property [[customerRemorseReturnFees]] equals [[ReturnShippingFees]].", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inStoreReturnsOffered": { - "type": "boolean", - "description": "Are in-store returns offered? (For more advanced return methods use the [[returnMethod]] property.)" - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemDefectReturnFees": { - "type": "string", - "description": "The type of return fees for returns of defect products." - }, - "itemDefectReturnLabelSource": { - "type": "string", - "description": "The method (from an enumeration) by which the customer obtains a return shipping label for a defect product." - }, - "itemDefectReturnShippingFeesAmount": { - "type": "union", - "description": "Amount of shipping costs for defect product returns. Applicable when property [[itemDefectReturnFees]] equals [[ReturnShippingFees]].", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "merchantReturnDays": { - "type": "string", - "description": "Specifies either a fixed return date or the number of days (from the delivery date) that a product can be returned. Used when the [[returnPolicyCategory]] property is specified as [[MerchantReturnFiniteReturnWindow]]." - }, - "merchantReturnLink": { - "type": "string", - "description": "Specifies a Web page or service by URL, for product returns.", - "format": "uri" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "refundType": { - "type": "string", - "description": "A refund type, from an enumerated list." - }, - "restockingFee": { - "type": "union", - "description": "Use [[MonetaryAmount]] to specify a fixed restocking fee for product returns, or use [[Number]] to specify a percentage of the product price paid by the customer.", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "returnFees": { - "type": "string", - "description": "The type of return fees for purchased products (for any return reason)." - }, - "returnLabelSource": { - "type": "string", - "description": "The method (from an enumeration) by which the customer obtains a return shipping label for a product returned for any reason." - }, - "returnMethod": { - "type": "string", - "description": "The type of return method offered, specified from an enumeration." - }, - "returnPolicyCategory": { - "type": "string", - "description": "Specifies an applicable return policy (from an enumeration)." - }, - "returnPolicyCountry": { - "type": "union", - "description": "The country where the product has to be sent to for returns, for example \"Ireland\" using the [[name]] property of [[Country]]. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1). Note that this can be different from the country where the product was originally shipped from or sent to.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "returnPolicySeasonalOverride": { - "type": "union", - "description": "Seasonal override of a return policy.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicyseasonaloverride", - "social.flockfeeds.lexical.itemlist" - ] - }, - "returnShippingFeesAmount": { - "type": "union", - "description": "Amount of shipping costs for product returns (for any reason). Applicable when property [[returnFees]] equals [[ReturnShippingFees]].", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "validForMemberTier": { - "type": "union", - "description": "The membership program tier an Offer (or a PriceSpecification, OfferShippingDetails, or MerchantReturnPolicy under an Offer) is valid for.", - "refs": [ - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_monetaryamount.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_monetaryamount.json deleted file mode 100644 index 7db1bd38d..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_monetaryamount.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.monetaryamount", - "defs": { - "main": { - "type": "record", - "description": "A monetary value or range. This type can be used to describe an amount of money such as $50 USD, or a range as in describing a bank account being suitable for a balance between £1,000 and £1,000,000 GBP, or the value of a salary, etc. It is recommended to use [[PriceSpecification]] Types to describe the price of an Offer, Invoice, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "currency": { - "type": "string", - "description": "The currency in which the monetary amount is expressed.\\n\\nUse standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\"." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maxValue": { - "type": "integer", - "description": "The upper value of some characteristic or property." - }, - "minValue": { - "type": "integer", - "description": "The lower value of some characteristic or property." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "validFrom": { - "type": "string", - "description": "The date when the item becomes valid.", - "format": "datetime" - }, - "validThrough": { - "type": "string", - "description": "The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.", - "format": "datetime" - }, - "value": { - "type": "union", - "description": "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.", - "refs": [ - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicgroup.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicgroup.json deleted file mode 100644 index 6599353f4..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicgroup.json +++ /dev/null @@ -1,691 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.musicgroup", - "defs": { - "main": { - "type": "record", - "description": "A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "acceptedPaymentMethod": { - "type": "union", - "description": "The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.", - "refs": [ - "social.flockfeeds.lexical.paymentmethod", - "social.flockfeeds.lexical.loanorcredit", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actionableFeedbackPolicy": { - "type": "union", - "description": "For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "agentInteractionStatistic": { - "type": "union", - "description": "The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "album": { - "type": "union", - "description": "A music album.", - "refs": [ - "social.flockfeeds.lexical.musicalbum", - "social.flockfeeds.lexical.itemlist" - ] - }, - "albums": { - "type": "union", - "description": "A collection of music albums.", - "refs": [ - "social.flockfeeds.lexical.musicalbum", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alumni": { - "type": "union", - "description": "Alumni of an organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "companyRegistration": { - "type": "union", - "description": "The official registration number of a business including the organization that issued it such as Company House or Chamber of Commerce.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoint": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoints": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "correctionsPolicy": { - "type": "union", - "description": "For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "department": { - "type": "union", - "description": "A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "dissolutionDate": { - "type": "string", - "description": "The date that this organization was dissolved.", - "format": "datetime" - }, - "diversityPolicy": { - "type": "union", - "description": "Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "diversityStaffingReport": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.", - "refs": [ - "social.flockfeeds.lexical.article", - "social.flockfeeds.lexical.itemlist" - ] - }, - "duns": { - "type": "string", - "description": "The Dun & Bradstreet DUNS number for identifying an organization or business person." - }, - "email": { - "type": "string", - "description": "Email address." - }, - "employee": { - "type": "union", - "description": "Someone working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "employees": { - "type": "union", - "description": "People working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ethicsPolicy": { - "type": "union", - "description": "Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "event": { - "type": "union", - "description": "Upcoming or past event associated with this place, organization, or action.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "events": { - "type": "union", - "description": "Upcoming or past events associated with this place or organization.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "founder": { - "type": "union", - "description": "A person or organization who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "founders": { - "type": "union", - "description": "A person who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "foundingDate": { - "type": "string", - "description": "The date that this organization was founded.", - "format": "datetime" - }, - "foundingLocation": { - "type": "union", - "description": "The place where the Organization was founded.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasCredential": { - "type": "union", - "description": "A credential awarded to the Person or Organization.", - "refs": [ - "social.flockfeeds.lexical.educationaloccupationalcredential", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMemberProgram": { - "type": "union", - "description": "MemberProgram offered by an Organization, for example an eCommerce merchant or an airline.", - "refs": [ - "social.flockfeeds.lexical.memberprogram", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOfferCatalog": { - "type": "union", - "description": "Indicates an OfferCatalog listing for this Organization, Person, or Service.", - "refs": [ - "social.flockfeeds.lexical.offercatalog", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasPOS": { - "type": "union", - "description": "Points-of-Sales operated by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasShippingService": { - "type": "union", - "description": "Specification of a shipping service offered by the organization.", - "refs": [ - "social.flockfeeds.lexical.shippingservice", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "iso6523Code": { - "type": "string", - "description": "An organization identifier as defined in [ISO 6523(-1)](https://en.wikipedia.org/wiki/ISO/IEC_6523). The identifier should be in the `XXXX:YYYYYY:ZZZ` or `XXXX:YYYYYY`format. Where `XXXX` is a 4 digit _ICD_ (International Code Designator), `YYYYYY` is an _OID_ (Organization Identifier) with all formatting characters (dots, dashes, spaces) removed with a maximal length of 35 characters, and `ZZZ` is an optional OPI (Organization Part Identifier) with a maximum length of 35 characters. The various components (ICD, OID, OPI) are joined with a colon character (ASCII `0x3a`). Note that many existing organization identifiers defined as attributes like [leiCode](https://schema.org/leiCode) (`0199`), [duns](https://schema.org/duns) (`0060`) or [GLN](https://schema.org/globalLocationNumber) (`0088`) can be expressed using ISO-6523. If possible, ISO-6523 codes should be preferred to populating [vatID](https://schema.org/vatID) or [taxID](https://schema.org/taxID), as ISO identifiers are less ambiguous." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsAbout": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsLanguage": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalAddress": { - "type": "union", - "description": "The legal address of an organization which acts as the officially registered address used for legal and tax purposes. The legal address can be different from the place of operations of a business and other addresses can be part of an organization.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalName": { - "type": "string", - "description": "The official name of the organization, e.g. the registered company name." - }, - "legalRepresentative": { - "type": "union", - "description": "One or multiple persons who represent this organization legally such as CEO or sole administrator.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "leiCode": { - "type": "string", - "description": "An organization identifier that uniquely identifies a legal entity as defined in ISO 17442." - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "makesOffer": { - "type": "union", - "description": "A pointer to products or services offered by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "member": { - "type": "union", - "description": "A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "memberOf": { - "type": "union", - "description": "An Organization (or ProgramMembership) to which this Person or Organization belongs.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.programmembership", - "social.flockfeeds.lexical.itemlist" - ] - }, - "members": { - "type": "union", - "description": "A member of this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "musicGroupMember": { - "type": "union", - "description": "A member of a music group—for example, John, Paul, George, or Ringo.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "naics": { - "type": "string", - "description": "The North American Industry Classification System (NAICS) code for a particular organization or business person." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nonprofitStatus": { - "type": "union", - "description": "nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.", - "refs": [ - "social.flockfeeds.lexical.nonprofittype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "numberOfEmployees": { - "type": "union", - "description": "The number of employees in an organization, e.g. business.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ownershipFundingInfo": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence. Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.aboutpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "owns": { - "type": "union", - "description": "Products owned by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.ownershipinfo", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parentOrganization": { - "type": "union", - "description": "The larger organization that this organization is a [[subOrganization]] of, if any.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seeks": { - "type": "union", - "description": "A pointer to products or services sought by the organization or person (demand).", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceArea": { - "type": "union", - "description": "The geographic area where the service is provided.", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "skills": { - "type": "union", - "description": "A statement of knowledge, skill, ability, task or any other assertion expressing a competency that is either claimed by a person, an organization or desired or required to fulfill a role or to work in an occupation.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subOrganization": { - "type": "union", - "description": "A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific 'department' property.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "taxID": { - "type": "string", - "description": "The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain." - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "track": { - "type": "union", - "description": "A music recording (track)—usually a single song. If an ItemList is given, the list should contain items of type MusicRecording.", - "refs": [ - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.musicrecording" - ] - }, - "tracks": { - "type": "union", - "description": "A music recording (track)—usually a single song.", - "refs": [ - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.itemlist" - ] - }, - "unnamedSourcesPolicy": { - "type": "union", - "description": "For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "vatID": { - "type": "string", - "description": "The Value-added Tax ID of the organization or person." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicrecording.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicrecording.json deleted file mode 100644 index c15909aa0..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_musicrecording.json +++ /dev/null @@ -1,909 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.musicrecording", - "defs": { - "main": { - "type": "record", - "description": "A music recording (track), usually a single song.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "byArtist": { - "type": "union", - "description": "The artist that performed this album or recording.", - "refs": [ - "social.flockfeeds.lexical.musicgroup", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inAlbum": { - "type": "union", - "description": "The album to which this recording belongs.", - "refs": [ - "social.flockfeeds.lexical.musicalbum", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inPlaylist": { - "type": "union", - "description": "The playlist to which this recording belongs.", - "refs": [ - "social.flockfeeds.lexical.musicplaylist", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isrcCode": { - "type": "string", - "description": "The International Standard Recording Code for the recording." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordingOf": { - "type": "union", - "description": "The composition this track is a recording of.", - "refs": [ - "social.flockfeeds.lexical.musiccomposition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_newsarticle.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_newsarticle.json deleted file mode 100644 index 04268a32c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_newsarticle.json +++ /dev/null @@ -1,713 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.newsarticle", - "defs": { - "main": { - "type": "record", - "description": "A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news.\n\nA more detailed overview of [schema.org News markup](/docs/news.html) is also available.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "ref", - "description": "The subject matter of the content.", - "ref": "social.flockfeeds.lexical.thing" - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "ref", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "ref": "social.flockfeeds.lexical.person" - }, - "acquireLicensePage": { - "type": "ref", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "ref", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "ref": "social.flockfeeds.lexical.aggregaterating" - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "ref", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "ref": "social.flockfeeds.lexical.webpage" - }, - "articleBody": { - "type": "string", - "description": "The actual body of the article." - }, - "articleSection": { - "type": "string", - "description": "Articles may belong to one or more 'sections' in a magazine or newspaper, such as Sports, Lifestyle, etc." - }, - "assesses": { - "type": "ref", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "associatedMedia": { - "type": "ref", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "audience": { - "type": "ref", - "description": "An intended audience, i.e. a group for whom something was created.", - "ref": "social.flockfeeds.lexical.audience" - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "backstory": { - "type": "ref", - "description": "For an [[Article]], typically a [[NewsArticle]], the backstory property provides a textual summary giving a brief explanation of why and how an article was created. In a journalistic setting this could include information about reporting process, methods, interviews, data sources, etc.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "character": { - "type": "ref", - "description": "Fictional person connected with a creative work.", - "ref": "social.flockfeeds.lexical.person" - }, - "citation": { - "type": "ref", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "comment": { - "type": "ref", - "description": "Comments, typically from users.", - "ref": "social.flockfeeds.lexical.comment" - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "ref", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "ref": "social.flockfeeds.lexical.place" - }, - "contentRating": { - "type": "ref", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "ref": "social.flockfeeds.lexical.rating" - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "ref", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "ref": "social.flockfeeds.lexical.correctioncomment" - }, - "countryOfOrigin": { - "type": "ref", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "ref": "social.flockfeeds.lexical.country" - }, - "creativeWorkStatus": { - "type": "ref", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "dateline": { - "type": "string", - "description": "A [dateline](https://en.wikipedia.org/wiki/Dateline) is a brief piece of text included in news articles that describes where and when the story was written or filed though the date is often omitted. Sometimes only a placename is provided.\n\nStructured representations of dateline-related information can also be expressed more explicitly using [[locationCreated]] (which represents where a work was created, e.g. where a news report was written). For location depicted or described in the content, use [[contentLocation]].\n\nDateline summaries are oriented more towards human readers than towards automated processing, and can vary substantially. Some examples: \"BEIRUT, Lebanon, June 2.\", \"Paris, France\", \"December 19, 2017 11:43AM Reporting from Washington\", \"Beijing/Moscow\", \"QUEZON CITY, Philippines\"." - }, - "description": { - "type": "ref", - "description": "A description of the item.", - "ref": "social.flockfeeds.lexical.textobject" - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "ref", - "description": "Specifies the Person who edited the CreativeWork.", - "ref": "social.flockfeeds.lexical.person" - }, - "educationalAlignment": { - "type": "ref", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "ref": "social.flockfeeds.lexical.alignmentobject" - }, - "educationalLevel": { - "type": "ref", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "educationalUse": { - "type": "ref", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "encoding": { - "type": "ref", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "ref", - "description": "A media object that encodes this CreativeWork.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "exampleOfWork": { - "type": "ref", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "funding": { - "type": "ref", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "ref": "social.flockfeeds.lexical.grant" - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "ref", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "ref": "social.flockfeeds.lexical.creativework" - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "ref", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "ref": "social.flockfeeds.lexical.propertyvalue" - }, - "image": { - "type": "ref", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "inLanguage": { - "type": "ref", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "ref": "social.flockfeeds.lexical.language" - }, - "interactionStatistic": { - "type": "ref", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "ref": "social.flockfeeds.lexical.interactioncounter" - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "ref", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "ref": "social.flockfeeds.lexical.claim" - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "ref", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "keywords": { - "type": "ref", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "learningResourceType": { - "type": "ref", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "license": { - "type": "ref", - "description": "A license document that applies to this content, typically indicated by URL.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "locationCreated": { - "type": "ref", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "ref": "social.flockfeeds.lexical.place" - }, - "mainEntity": { - "type": "ref", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "ref": "social.flockfeeds.lexical.thing" - }, - "mainEntityOfPage": { - "type": "ref", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "material": { - "type": "ref", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "ref": "social.flockfeeds.lexical.product" - }, - "materialExtent": { - "type": "ref", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "ref": "social.flockfeeds.lexical.quantitativevalue" - }, - "mentions": { - "type": "ref", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "ref": "social.flockfeeds.lexical.thing" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer" - ] - }, - "pageEnd": { - "type": "string", - "description": "The page on which the work ends; for example \"138\" or \"xvi\"." - }, - "pageStart": { - "type": "string", - "description": "The page on which the work starts; for example \"135\" or \"xiii\"." - }, - "pagination": { - "type": "string", - "description": "Any description of pages that is not separated into pageStart and pageEnd; for example, \"1-6, 9, 55\" or \"10-12, 46-49\"." - }, - "pattern": { - "type": "ref", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "ref", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "ref": "social.flockfeeds.lexical.action" - }, - "printColumn": { - "type": "string", - "description": "The number of the column in which the NewsArticle appears in the print edition." - }, - "printEdition": { - "type": "string", - "description": "The edition of the print product in which the NewsArticle appears." - }, - "printPage": { - "type": "string", - "description": "If this NewsArticle appears in print, this field indicates the name of the page on which the article is found. Please note that this field is intended for the exact page name (e.g. A5, B18)." - }, - "printSection": { - "type": "string", - "description": "If this NewsArticle appears in print, this field indicates the print section in which the article appeared." - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "publication": { - "type": "ref", - "description": "A publication event associated with the item.", - "ref": "social.flockfeeds.lexical.publicationevent" - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "publisherImprint": { - "type": "ref", - "description": "The publishing division which published the comic.", - "ref": "social.flockfeeds.lexical.organization" - }, - "publishingPrinciples": { - "type": "ref", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "recordedAt": { - "type": "ref", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "ref": "social.flockfeeds.lexical.event" - }, - "releasedEvent": { - "type": "ref", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "ref": "social.flockfeeds.lexical.publicationevent" - }, - "review": { - "type": "ref", - "description": "A review of the item.", - "ref": "social.flockfeeds.lexical.review" - }, - "reviews": { - "type": "ref", - "description": "Review of the item.", - "ref": "social.flockfeeds.lexical.review" - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "ref", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue" - ] - }, - "sourceOrganization": { - "type": "ref", - "description": "The Organization on whose behalf the creator was working.", - "ref": "social.flockfeeds.lexical.organization" - }, - "spatial": { - "type": "ref", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "ref": "social.flockfeeds.lexical.place" - }, - "spatialCoverage": { - "type": "ref", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "ref": "social.flockfeeds.lexical.place" - }, - "speakable": { - "type": "ref", - "description": "Indicates sections of a Web page that are particularly 'speakable' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the 'speakable' property serves to indicate the parts most likely to be generally useful for speech.\n\nThe *speakable* property can be repeated an arbitrary number of times, with three kinds of possible 'content-locator' values:\n\n1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.\n\n2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.\n\n3.) XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.\n\n\nFor more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this\nwe define a supporting type, [[SpeakableSpecification]] which is defined to be a possible value of the *speakable* property.", - "ref": "social.flockfeeds.lexical.speakablespecification" - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework" - ] - }, - "teaches": { - "type": "ref", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "ref", - "description": "Thumbnail image for an image or video.", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "ref", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "ref": "social.flockfeeds.lexical.duration" - }, - "translationOfWork": { - "type": "ref", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "ref", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "ref", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "workTranslation": { - "type": "ref", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "ref": "social.flockfeeds.lexical.creativework" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_nutritioninformation.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_nutritioninformation.json deleted file mode 100644 index 16e26d0b6..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_nutritioninformation.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.nutritioninformation", - "defs": { - "main": { - "type": "record", - "description": "Nutritional information about the recipe.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "calories": { - "type": "union", - "description": "The number of calories.", - "refs": [ - "social.flockfeeds.lexical.energy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "carbohydrateContent": { - "type": "union", - "description": "The number of grams of carbohydrates.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "cholesterolContent": { - "type": "union", - "description": "The number of milligrams of cholesterol.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "fatContent": { - "type": "union", - "description": "The number of grams of fat.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "fiberContent": { - "type": "union", - "description": "The number of grams of fiber.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "proteinContent": { - "type": "union", - "description": "The number of grams of protein.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "saturatedFatContent": { - "type": "union", - "description": "The number of grams of saturated fat.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "servingSize": { - "type": "string", - "description": "The serving size, in terms of the number of volume or mass." - }, - "sodiumContent": { - "type": "union", - "description": "The number of milligrams of sodium.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sugarContent": { - "type": "union", - "description": "The number of grams of sugar.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "transFatContent": { - "type": "union", - "description": "The number of grams of trans fat.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "unsaturatedFatContent": { - "type": "union", - "description": "The number of grams of unsaturated fat.", - "refs": [ - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offer.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offer.json deleted file mode 100644 index f4f2428a7..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offer.json +++ /dev/null @@ -1,460 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.offer", - "defs": { - "main": { - "type": "record", - "description": "An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\\n\\nNote: As the [[businessFunction]] property, which identifies the form of offer (e.g. sell, lease, repair, dispose), defaults to http://purl.org/goodrelations/v1#Sell; an Offer without a defined businessFunction value can be assumed to be an offer to sell.\\n\\nFor [GTIN](http://www.gs1.org/barcodes/technical/idkeys/gtin)-related fields, see [Check Digit calculator](http://www.gs1.org/barcodes/support/check_digit_calculator) and [validation guide](http://www.gs1us.org/resources/standards/gtin-validation-guide) from [GS1](http://www.gs1.org/).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "acceptedPaymentMethod": { - "type": "union", - "description": "The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.", - "refs": [ - "social.flockfeeds.lexical.paymentmethod", - "social.flockfeeds.lexical.loanorcredit", - "social.flockfeeds.lexical.itemlist" - ] - }, - "addOn": { - "type": "union", - "description": "An additional offer that can only be obtained in combination with the first base offer (e.g. supplements and extensions that are available for a surcharge).", - "refs": [ - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "advanceBookingRequirement": { - "type": "union", - "description": "The amount of time that is required between accepting the offer and the actual usage of the resource or service.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "asin": { - "type": "string", - "description": "An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article).\n\nNote also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details.\nASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too." - }, - "availability": { - "type": "union", - "description": "The availability of this item—for example In stock, Out of stock, Pre-order, etc.", - "refs": [ - "social.flockfeeds.lexical.itemavailability", - "social.flockfeeds.lexical.itemlist" - ] - }, - "availabilityEnds": { - "type": "string", - "description": "The end of the availability of the product or service included in the offer." - }, - "availabilityStarts": { - "type": "string", - "description": "The beginning of the availability of the product or service included in the offer." - }, - "availableAtOrFrom": { - "type": "union", - "description": "The place(s) from which the offer can be obtained (e.g. store locations).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "availableDeliveryMethod": { - "type": "union", - "description": "The delivery method(s) available for this offer.", - "refs": [ - "social.flockfeeds.lexical.deliverymethod", - "social.flockfeeds.lexical.itemlist" - ] - }, - "businessFunction": { - "type": "union", - "description": "The business function (e.g. sell, lease, repair, dispose) of the offer or component of a bundle (TypeAndQuantityNode). The default is http://purl.org/goodrelations/v1#Sell.", - "refs": [ - "social.flockfeeds.lexical.businessfunction", - "social.flockfeeds.lexical.itemlist" - ] - }, - "category": { - "type": "union", - "description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.", - "refs": [ - "social.flockfeeds.lexical.physicalactivitycategory", - "social.flockfeeds.lexical.categorycode", - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "checkoutPageURLTemplate": { - "type": "string", - "description": "A URL template (RFC 6570) for a checkout page for an offer. This approach allows merchants to specify a URL for online checkout of the offered product, by interpolating parameters such as the logged in user ID, product ID, quantity, discount code etc. Parameter naming and standardization are not specified here." - }, - "deliveryLeadTime": { - "type": "union", - "description": "The typical delay between the receipt of the order and the goods either leaving the warehouse or being prepared for pickup, in case the delivery method is on site pickup.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "eligibleCustomerType": { - "type": "union", - "description": "The type(s) of customers for which the given offer is valid.", - "refs": [ - "social.flockfeeds.lexical.businessentitytype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleDuration": { - "type": "union", - "description": "The duration for which the given offer is valid.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleQuantity": { - "type": "union", - "description": "The interval and unit of measurement of ordering quantities for which the offer or price specification is valid. This allows e.g. specifying that a certain freight charge is valid only for a certain quantity.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.\\n\\nSee also [[ineligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eligibleTransactionVolume": { - "type": "union", - "description": "The transaction volume, in a monetary unit, for which the offer or price specification is valid, e.g. for indicating a minimal purchasing volume, to express free shipping above a certain order volume, or to limit the acceptance of credit cards to purchases to a certain minimal amount.", - "refs": [ - "social.flockfeeds.lexical.pricespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gtin": { - "type": "string", - "description": "A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.\n\nA correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1's GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.\n\nThe GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) expresses GTINs as URLs (URIs, IRIs, etc.).\nDigital Links should be populated into the [[hasGS1DigitalLink]] attribute.\n\nNote also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details." - }, - "gtin12": { - "type": "string", - "description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin13": { - "type": "string", - "description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin14": { - "type": "string", - "description": "The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin8": { - "type": "string", - "description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "hasAdultConsideration": { - "type": "string", - "description": "Used to tag an item to be intended or suitable for consumption or use by adults only." - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "includesObject": { - "type": "union", - "description": "This links to a node or nodes indicating the exact quantity of the products included in an [[Offer]] or [[ProductCollection]].", - "refs": [ - "social.flockfeeds.lexical.typeandquantitynode", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inventoryLevel": { - "type": "union", - "description": "The current approximate inventory level for the item or items.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemOffered": { - "type": "union", - "description": "An item being offered (or demanded). The transactional nature of the offer or demand is documented using [[businessFunction]], e.g. sell, lease etc. While several common expected types are listed explicitly in this definition, others can be used. Using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.aggregateoffer", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.menuitem", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.trip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "leaseLength": { - "type": "union", - "description": "Length of the lease for some [[Accommodation]], either particular to some [[Offer]] or in some cases intrinsic to the property.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mobileUrl": { - "type": "string", - "description": "The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated 'mobile site'.\n\nTo discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional \"mobile site\" alongside the main one. It should not be taken as an endorsement of this publication style.", - "format": "uri" - }, - "mpn": { - "type": "string", - "description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offeredBy": { - "type": "union", - "description": "A pointer to the organization or person making the offer.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "price": { - "type": "string", - "description": "The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.\\n\\nUsage guidelines:\\n\\n* Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as '$' in the value.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.\\n* Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a \"content=\" attribute for publishing simple machine-readable values alongside more human-friendly formatting.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols." - }, - "priceCurrency": { - "type": "string", - "description": "The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.\\n\\nUse standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\"." - }, - "priceSpecification": { - "type": "union", - "description": "One or more detailed price specifications, indicating the unit price and delivery or payment charges.", - "refs": [ - "social.flockfeeds.lexical.pricespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "priceValidUntil": { - "type": "string", - "description": "The date after which the price is no longer available.", - "format": "datetime" - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seller": { - "type": "union", - "description": "An entity which offers (sells / leases / lends / loans) the services / goods. A seller may also be a provider.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serialNumber": { - "type": "string", - "description": "The serial number or any alphanumeric identifier of a particular product. When attached to an offer, it is a shortcut for the serial number of the product included in the offer." - }, - "shippingDetails": { - "type": "union", - "description": "Indicates information about the shipping policies and options associated with an [[Offer]].", - "refs": [ - "social.flockfeeds.lexical.offershippingdetails", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sku": { - "type": "string", - "description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "validForMemberTier": { - "type": "union", - "description": "The membership program tier an Offer (or a PriceSpecification, OfferShippingDetails, or MerchantReturnPolicy under an Offer) is valid for.", - "refs": [ - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.itemlist" - ] - }, - "validFrom": { - "type": "string", - "description": "The date when the item becomes valid.", - "format": "datetime" - }, - "validThrough": { - "type": "string", - "description": "The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.", - "format": "datetime" - }, - "warranty": { - "type": "union", - "description": "The warranty promise(s) included in the offer.", - "refs": [ - "social.flockfeeds.lexical.warrantypromise", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offeritemcondition.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offeritemcondition.json deleted file mode 100644 index 96b148923..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_offeritemcondition.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.offeritemcondition", - "defs": { - "main": { - "type": "record", - "description": "A list of possible conditions for the item.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "supersededBy": { - "type": "union", - "description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", - "refs": [ - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.class", - "social.flockfeeds.lexical.property", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_organization.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_organization.json deleted file mode 100644 index 0a44f5f43..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_organization.json +++ /dev/null @@ -1,647 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.organization", - "defs": { - "main": { - "type": "record", - "description": "An organization such as a school, NGO, corporation, club, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "acceptedPaymentMethod": { - "type": "union", - "description": "The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.", - "refs": [ - "social.flockfeeds.lexical.paymentmethod", - "social.flockfeeds.lexical.loanorcredit", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actionableFeedbackPolicy": { - "type": "union", - "description": "For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "agentInteractionStatistic": { - "type": "union", - "description": "The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alumni": { - "type": "union", - "description": "Alumni of an organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "companyRegistration": { - "type": "union", - "description": "The official registration number of a business including the organization that issued it such as Company House or Chamber of Commerce.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoint": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoints": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "correctionsPolicy": { - "type": "union", - "description": "For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "department": { - "type": "union", - "description": "A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "dissolutionDate": { - "type": "string", - "description": "The date that this organization was dissolved.", - "format": "datetime" - }, - "diversityPolicy": { - "type": "union", - "description": "Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "diversityStaffingReport": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.", - "refs": [ - "social.flockfeeds.lexical.article", - "social.flockfeeds.lexical.itemlist" - ] - }, - "duns": { - "type": "string", - "description": "The Dun & Bradstreet DUNS number for identifying an organization or business person." - }, - "email": { - "type": "string", - "description": "Email address." - }, - "employee": { - "type": "union", - "description": "Someone working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "employees": { - "type": "union", - "description": "People working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ethicsPolicy": { - "type": "union", - "description": "Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "event": { - "type": "union", - "description": "Upcoming or past event associated with this place, organization, or action.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "events": { - "type": "union", - "description": "Upcoming or past events associated with this place or organization.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "founder": { - "type": "union", - "description": "A person or organization who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "founders": { - "type": "union", - "description": "A person who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "foundingDate": { - "type": "string", - "description": "The date that this organization was founded.", - "format": "datetime" - }, - "foundingLocation": { - "type": "union", - "description": "The place where the Organization was founded.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasCredential": { - "type": "union", - "description": "A credential awarded to the Person or Organization.", - "refs": [ - "social.flockfeeds.lexical.educationaloccupationalcredential", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMemberProgram": { - "type": "union", - "description": "MemberProgram offered by an Organization, for example an eCommerce merchant or an airline.", - "refs": [ - "social.flockfeeds.lexical.memberprogram", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOfferCatalog": { - "type": "union", - "description": "Indicates an OfferCatalog listing for this Organization, Person, or Service.", - "refs": [ - "social.flockfeeds.lexical.offercatalog", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasPOS": { - "type": "union", - "description": "Points-of-Sales operated by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasShippingService": { - "type": "union", - "description": "Specification of a shipping service offered by the organization.", - "refs": [ - "social.flockfeeds.lexical.shippingservice", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "iso6523Code": { - "type": "string", - "description": "An organization identifier as defined in [ISO 6523(-1)](https://en.wikipedia.org/wiki/ISO/IEC_6523). The identifier should be in the `XXXX:YYYYYY:ZZZ` or `XXXX:YYYYYY`format. Where `XXXX` is a 4 digit _ICD_ (International Code Designator), `YYYYYY` is an _OID_ (Organization Identifier) with all formatting characters (dots, dashes, spaces) removed with a maximal length of 35 characters, and `ZZZ` is an optional OPI (Organization Part Identifier) with a maximum length of 35 characters. The various components (ICD, OID, OPI) are joined with a colon character (ASCII `0x3a`). Note that many existing organization identifiers defined as attributes like [leiCode](https://schema.org/leiCode) (`0199`), [duns](https://schema.org/duns) (`0060`) or [GLN](https://schema.org/globalLocationNumber) (`0088`) can be expressed using ISO-6523. If possible, ISO-6523 codes should be preferred to populating [vatID](https://schema.org/vatID) or [taxID](https://schema.org/taxID), as ISO identifiers are less ambiguous." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsAbout": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsLanguage": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalAddress": { - "type": "union", - "description": "The legal address of an organization which acts as the officially registered address used for legal and tax purposes. The legal address can be different from the place of operations of a business and other addresses can be part of an organization.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalName": { - "type": "string", - "description": "The official name of the organization, e.g. the registered company name." - }, - "legalRepresentative": { - "type": "union", - "description": "One or multiple persons who represent this organization legally such as CEO or sole administrator.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "leiCode": { - "type": "string", - "description": "An organization identifier that uniquely identifies a legal entity as defined in ISO 17442." - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "makesOffer": { - "type": "union", - "description": "A pointer to products or services offered by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "member": { - "type": "union", - "description": "A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "memberOf": { - "type": "union", - "description": "An Organization (or ProgramMembership) to which this Person or Organization belongs.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.programmembership", - "social.flockfeeds.lexical.itemlist" - ] - }, - "members": { - "type": "union", - "description": "A member of this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "naics": { - "type": "string", - "description": "The North American Industry Classification System (NAICS) code for a particular organization or business person." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nonprofitStatus": { - "type": "union", - "description": "nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.", - "refs": [ - "social.flockfeeds.lexical.nonprofittype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "numberOfEmployees": { - "type": "union", - "description": "The number of employees in an organization, e.g. business.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ownershipFundingInfo": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence. Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.aboutpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "owns": { - "type": "union", - "description": "Products owned by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.ownershipinfo", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parentOrganization": { - "type": "union", - "description": "The larger organization that this organization is a [[subOrganization]] of, if any.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seeks": { - "type": "union", - "description": "A pointer to products or services sought by the organization or person (demand).", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceArea": { - "type": "union", - "description": "The geographic area where the service is provided.", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "skills": { - "type": "union", - "description": "A statement of knowledge, skill, ability, task or any other assertion expressing a competency that is either claimed by a person, an organization or desired or required to fulfill a role or to work in an occupation.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subOrganization": { - "type": "union", - "description": "A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific 'department' property.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "taxID": { - "type": "string", - "description": "The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain." - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "unnamedSourcesPolicy": { - "type": "union", - "description": "For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "vatID": { - "type": "string", - "description": "The Value-added Tax ID of the organization or person." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_performinggroup.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_performinggroup.json deleted file mode 100644 index a0552eb66..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_performinggroup.json +++ /dev/null @@ -1,647 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.performinggroup", - "defs": { - "main": { - "type": "record", - "description": "A performance group, such as a band, an orchestra, or a circus.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "acceptedPaymentMethod": { - "type": "union", - "description": "The payment method(s) that are accepted in general by an organization, or for some specific demand or offer.", - "refs": [ - "social.flockfeeds.lexical.paymentmethod", - "social.flockfeeds.lexical.loanorcredit", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actionableFeedbackPolicy": { - "type": "union", - "description": "For a [[NewsMediaOrganization]] or other news-related [[Organization]], a statement about public engagement activities (for news media, the newsroom’s), including involving the public - digitally or otherwise -- in coverage decisions, reporting and activities after publication.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "agentInteractionStatistic": { - "type": "union", - "description": "The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alumni": { - "type": "union", - "description": "Alumni of an organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "companyRegistration": { - "type": "union", - "description": "The official registration number of a business including the organization that issued it such as Company House or Chamber of Commerce.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoint": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoints": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "correctionsPolicy": { - "type": "union", - "description": "For an [[Organization]] (e.g. [[NewsMediaOrganization]]), a statement describing (in news media, the newsroom’s) disclosure and correction policy for errors.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "department": { - "type": "union", - "description": "A relationship between an organization and a department of that organization, also described as an organization (allowing different urls, logos, opening hours). For example: a store with a pharmacy, or a bakery with a cafe.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "dissolutionDate": { - "type": "string", - "description": "The date that this organization was dissolved.", - "format": "datetime" - }, - "diversityPolicy": { - "type": "union", - "description": "Statement on diversity policy by an [[Organization]] e.g. a [[NewsMediaOrganization]]. For a [[NewsMediaOrganization]], a statement describing the newsroom’s diversity policy on both staffing and sources, typically providing staffing data.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "diversityStaffingReport": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a report on staffing diversity issues. In a news context this might be for example ASNE or RTDNA (US) reports, or self-reported.", - "refs": [ - "social.flockfeeds.lexical.article", - "social.flockfeeds.lexical.itemlist" - ] - }, - "duns": { - "type": "string", - "description": "The Dun & Bradstreet DUNS number for identifying an organization or business person." - }, - "email": { - "type": "string", - "description": "Email address." - }, - "employee": { - "type": "union", - "description": "Someone working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "employees": { - "type": "union", - "description": "People working for this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ethicsPolicy": { - "type": "union", - "description": "Statement about ethics policy, e.g. of a [[NewsMediaOrganization]] regarding journalistic and publishing practices, or of a [[Restaurant]], a page describing food source policies. In the case of a [[NewsMediaOrganization]], an ethicsPolicy is typically a statement describing the personal, organizational, and corporate standards of behavior expected by the organization.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "event": { - "type": "union", - "description": "Upcoming or past event associated with this place, organization, or action.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "events": { - "type": "union", - "description": "Upcoming or past events associated with this place or organization.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "founder": { - "type": "union", - "description": "A person or organization who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "founders": { - "type": "union", - "description": "A person who founded this organization.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "foundingDate": { - "type": "string", - "description": "The date that this organization was founded.", - "format": "datetime" - }, - "foundingLocation": { - "type": "union", - "description": "The place where the Organization was founded.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasCredential": { - "type": "union", - "description": "A credential awarded to the Person or Organization.", - "refs": [ - "social.flockfeeds.lexical.educationaloccupationalcredential", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMemberProgram": { - "type": "union", - "description": "MemberProgram offered by an Organization, for example an eCommerce merchant or an airline.", - "refs": [ - "social.flockfeeds.lexical.memberprogram", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOfferCatalog": { - "type": "union", - "description": "Indicates an OfferCatalog listing for this Organization, Person, or Service.", - "refs": [ - "social.flockfeeds.lexical.offercatalog", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasPOS": { - "type": "union", - "description": "Points-of-Sales operated by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasShippingService": { - "type": "union", - "description": "Specification of a shipping service offered by the organization.", - "refs": [ - "social.flockfeeds.lexical.shippingservice", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "iso6523Code": { - "type": "string", - "description": "An organization identifier as defined in [ISO 6523(-1)](https://en.wikipedia.org/wiki/ISO/IEC_6523). The identifier should be in the `XXXX:YYYYYY:ZZZ` or `XXXX:YYYYYY`format. Where `XXXX` is a 4 digit _ICD_ (International Code Designator), `YYYYYY` is an _OID_ (Organization Identifier) with all formatting characters (dots, dashes, spaces) removed with a maximal length of 35 characters, and `ZZZ` is an optional OPI (Organization Part Identifier) with a maximum length of 35 characters. The various components (ICD, OID, OPI) are joined with a colon character (ASCII `0x3a`). Note that many existing organization identifiers defined as attributes like [leiCode](https://schema.org/leiCode) (`0199`), [duns](https://schema.org/duns) (`0060`) or [GLN](https://schema.org/globalLocationNumber) (`0088`) can be expressed using ISO-6523. If possible, ISO-6523 codes should be preferred to populating [vatID](https://schema.org/vatID) or [taxID](https://schema.org/taxID), as ISO identifiers are less ambiguous." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsAbout": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsLanguage": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalAddress": { - "type": "union", - "description": "The legal address of an organization which acts as the officially registered address used for legal and tax purposes. The legal address can be different from the place of operations of a business and other addresses can be part of an organization.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "legalName": { - "type": "string", - "description": "The official name of the organization, e.g. the registered company name." - }, - "legalRepresentative": { - "type": "union", - "description": "One or multiple persons who represent this organization legally such as CEO or sole administrator.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "leiCode": { - "type": "string", - "description": "An organization identifier that uniquely identifies a legal entity as defined in ISO 17442." - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "makesOffer": { - "type": "union", - "description": "A pointer to products or services offered by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "member": { - "type": "union", - "description": "A member of an Organization or a ProgramMembership. Organizations can be members of organizations; ProgramMembership is typically for individuals.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "memberOf": { - "type": "union", - "description": "An Organization (or ProgramMembership) to which this Person or Organization belongs.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.programmembership", - "social.flockfeeds.lexical.itemlist" - ] - }, - "members": { - "type": "union", - "description": "A member of this organization.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "naics": { - "type": "string", - "description": "The North American Industry Classification System (NAICS) code for a particular organization or business person." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nonprofitStatus": { - "type": "union", - "description": "nonprofitStatus indicates the legal status of a non-profit organization in its primary place of business.", - "refs": [ - "social.flockfeeds.lexical.nonprofittype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "numberOfEmployees": { - "type": "union", - "description": "The number of employees in an organization, e.g. business.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ownershipFundingInfo": { - "type": "union", - "description": "For an [[Organization]] (often but not necessarily a [[NewsMediaOrganization]]), a description of organizational ownership structure; funding and grants. In a news/media setting, this is with particular reference to editorial independence. Note that the [[funder]] is also available and can be used to make basic funder information machine-readable.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.aboutpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "owns": { - "type": "union", - "description": "Products owned by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.ownershipinfo", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parentOrganization": { - "type": "union", - "description": "The larger organization that this organization is a [[subOrganization]] of, if any.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seeks": { - "type": "union", - "description": "A pointer to products or services sought by the organization or person (demand).", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceArea": { - "type": "union", - "description": "The geographic area where the service is provided.", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "skills": { - "type": "union", - "description": "A statement of knowledge, skill, ability, task or any other assertion expressing a competency that is either claimed by a person, an organization or desired or required to fulfill a role or to work in an occupation.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subOrganization": { - "type": "union", - "description": "A relationship between two organizations where the first includes the second, e.g., as a subsidiary. See also: the more specific 'department' property.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "taxID": { - "type": "string", - "description": "The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain." - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "unnamedSourcesPolicy": { - "type": "union", - "description": "For an [[Organization]] (typically a [[NewsMediaOrganization]]), a statement about policy on use of unnamed sources and the decision process required.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "vatID": { - "type": "string", - "description": "The Value-added Tax ID of the organization or person." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_person.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_person.json deleted file mode 100644 index ac275775a..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_person.json +++ /dev/null @@ -1,566 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.person", - "defs": { - "main": { - "type": "record", - "description": "A person (alive, dead, undead, or fictional).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalName": { - "type": "string", - "description": "An additional name for a Person, can be used for a middle name." - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "affiliation": { - "type": "union", - "description": "An organization that this person is affiliated with. For example, a school/university, a club, or a team.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "agentInteractionStatistic": { - "type": "union", - "description": "The number of completed interactions for this entity, in a particular role (the 'agent'), in a particular action (indicated in the statistic), and in a particular context (i.e. interactionService).", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alumniOf": { - "type": "union", - "description": "An organization that the person is an alumni of.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.educationalorganization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "birthDate": { - "type": "string", - "description": "Date of birth.", - "format": "datetime" - }, - "birthPlace": { - "type": "union", - "description": "The place where the person was born.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "callSign": { - "type": "string", - "description": "A [callsign](https://en.wikipedia.org/wiki/Call_sign), as used in broadcasting and radio communications to identify people, radio and TV stations, or vehicles." - }, - "children": { - "type": "union", - "description": "A child of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "colleague": { - "type": "union", - "description": "A colleague of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "colleagues": { - "type": "union", - "description": "A colleague of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoint": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contactPoints": { - "type": "union", - "description": "A contact point for a person or organization.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "deathDate": { - "type": "string", - "description": "Date of death.", - "format": "datetime" - }, - "deathPlace": { - "type": "union", - "description": "The place where the person died.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "duns": { - "type": "string", - "description": "The Dun & Bradstreet DUNS number for identifying an organization or business person." - }, - "email": { - "type": "string", - "description": "Email address." - }, - "familyName": { - "type": "string", - "description": "Family name. In the U.S., the last name of a Person." - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "follows": { - "type": "union", - "description": "The most generic uni-directional social relation.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gender": { - "type": "union", - "description": "Gender of something, typically a [[Person]], but possibly also fictional characters, animals, etc. While https://schema.org/Male and https://schema.org/Female may be used, text strings are also acceptable for people who are not a binary gender. The [[gender]] property can also be used in an extended sense to cover e.g. the gender of sports teams. As with the gender of individuals, we do not try to enumerate all possibilities. A mixed-gender [[SportsTeam]] can be indicated with a text value of \"Mixed\".", - "refs": [ - "social.flockfeeds.lexical.gendertype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "givenName": { - "type": "string", - "description": "Given name. In the U.S., the first name of a Person." - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasCredential": { - "type": "union", - "description": "A credential awarded to the Person or Organization.", - "refs": [ - "social.flockfeeds.lexical.educationaloccupationalcredential", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOccupation": { - "type": "union", - "description": "The Person's occupation. For past professions, use Role for expressing dates.", - "refs": [ - "social.flockfeeds.lexical.occupation", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOfferCatalog": { - "type": "union", - "description": "Indicates an OfferCatalog listing for this Organization, Person, or Service.", - "refs": [ - "social.flockfeeds.lexical.offercatalog", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasPOS": { - "type": "union", - "description": "Points-of-Sales operated by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "homeLocation": { - "type": "union", - "description": "A contact location for a person's residence.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.itemlist" - ] - }, - "honorificPrefix": { - "type": "string", - "description": "An honorific prefix preceding a Person's name such as Dr/Mrs/Mr." - }, - "honorificSuffix": { - "type": "string", - "description": "An honorific suffix following a Person's name such as M.D./PhD/MSCSW." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "jobTitle": { - "type": "union", - "description": "The job title of the person (for example, Financial Manager).", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knows": { - "type": "union", - "description": "The most generic bi-directional social/work relation.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsAbout": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a topic that is known about - suggesting possible expertise but not implying it. We do not distinguish skill levels here, or relate this to educational content, events, objectives or [[JobPosting]] descriptions.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "knowsLanguage": { - "type": "union", - "description": "Of a [[Person]], and less typically of an [[Organization]], to indicate a known language. We do not distinguish skill levels or reading/writing/speaking/signing here. Use language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47).", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "makesOffer": { - "type": "union", - "description": "A pointer to products or services offered by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "memberOf": { - "type": "union", - "description": "An Organization (or ProgramMembership) to which this Person or Organization belongs.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.memberprogramtier", - "social.flockfeeds.lexical.programmembership", - "social.flockfeeds.lexical.itemlist" - ] - }, - "naics": { - "type": "string", - "description": "The North American Industry Classification System (NAICS) code for a particular organization or business person." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nationality": { - "type": "union", - "description": "Nationality of the person.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "netWorth": { - "type": "union", - "description": "The total financial value of the person as calculated by subtracting the total value of liabilities from the total value of assets.", - "refs": [ - "social.flockfeeds.lexical.pricespecification", - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "owns": { - "type": "union", - "description": "Products owned by the organization or person.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.ownershipinfo", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parent": { - "type": "union", - "description": "A parent of this person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "parents": { - "type": "union", - "description": "A parents of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performerIn": { - "type": "union", - "description": "Event that this person is a performer or participant in.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pronouns": { - "type": "union", - "description": "A short string listing or describing pronouns for a person. Typically the person concerned is the best authority as pronouns are a critical part of personal identity and expression. Publishers and consumers of this information are reminded to treat this data responsibly, take country-specific laws related to gender expression into account, and be wary of out-of-date data and drawing unwarranted inferences about the person being described.\n\nIn English, formulations such as \"they/them\", \"she/her\", and \"he/him\" are commonly used online and can also be used here. We do not intend to enumerate all possible micro-syntaxes in all languages. More structured and well-defined external values for pronouns can be referenced using the [[StructuredValue]] or [[DefinedTerm]] values.", - "refs": [ - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "relatedTo": { - "type": "union", - "description": "The most generic familial relation.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "seeks": { - "type": "union", - "description": "A pointer to products or services sought by the organization or person (demand).", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sibling": { - "type": "union", - "description": "A sibling of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "siblings": { - "type": "union", - "description": "A sibling of the person.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "skills": { - "type": "union", - "description": "A statement of knowledge, skill, ability, task or any other assertion expressing a competency that is either claimed by a person, an organization or desired or required to fulfill a role or to work in an occupation.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spouse": { - "type": "union", - "description": "The person's spouse.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "taxID": { - "type": "string", - "description": "The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US or the CIF/NIF in Spain." - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "vatID": { - "type": "string", - "description": "The Value-added Tax ID of the organization or person." - }, - "weight": { - "type": "union", - "description": "The weight of the product or person.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workLocation": { - "type": "union", - "description": "A contact location for a person's place of work.", - "refs": [ - "social.flockfeeds.lexical.contactpoint", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "worksFor": { - "type": "union", - "description": "Organizations that the person works for.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_physicalactivitycategory.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_physicalactivitycategory.json deleted file mode 100644 index 76b9d5481..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_physicalactivitycategory.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.physicalactivitycategory", - "defs": { - "main": { - "type": "record", - "description": "Categories of physical activity, organized by physiologic classification.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "supersededBy": { - "type": "union", - "description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", - "refs": [ - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.class", - "social.flockfeeds.lexical.property", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_place.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_place.json deleted file mode 100644 index 23531bcf5..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_place.json +++ /dev/null @@ -1,416 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.place", - "defs": { - "main": { - "type": "record", - "description": "Entities that have a somewhat fixed, physical extension.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "address": { - "type": "union", - "description": "Physical address of the item.", - "refs": [ - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.itemlist" - ] - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "amenityFeature": { - "type": "union", - "description": "An amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.", - "refs": [ - "social.flockfeeds.lexical.locationfeaturespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "branchCode": { - "type": "string", - "description": "A short textual code (also called \"store code\") that uniquely identifies a place of business. The code is typically assigned by the parentOrganization and used in structured URLs.\\n\\nFor example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code \"3047\" is a branchCode for a particular branch." - }, - "containedIn": { - "type": "union", - "description": "The basic containment relation between a place and one that contains it.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "containedInPlace": { - "type": "union", - "description": "The basic containment relation between a place and one that contains it.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "containsPlace": { - "type": "union", - "description": "The basic containment relation between a place and another that it contains.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "event": { - "type": "union", - "description": "Upcoming or past event associated with this place, organization, or action.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "events": { - "type": "union", - "description": "Upcoming or past events associated with this place or organization.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "faxNumber": { - "type": "string", - "description": "The fax number." - }, - "geo": { - "type": "union", - "description": "The geo coordinates of the place.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.geocoordinates", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoContains": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a containing geometry to a contained geometry. \"a contains b iff no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCoveredBy": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCovers": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a covering geometry to a covered geometry. \"Every point of b is a point of (the interior or boundary of) a\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoCrosses": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that crosses it: \"a crosses b: they have some but not all interior points in common, and the dimension of the intersection is less than that of at least one of them\". As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoDisjoint": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) are topologically disjoint: \"they have no point in common. They form a set of disconnected geometries.\" (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoEquals": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) are topologically equal, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM). \"Two geometries are topologically equal if their interiors intersect and no part of the interior or boundary of one geometry intersects the exterior of the other\" (a symmetric relationship).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoIntersects": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoOverlaps": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to another that geospatially overlaps it, i.e. they have some but not all points in common. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoTouches": { - "type": "union", - "description": "Represents spatial relations in which two geometries (or the places they represent) touch: \"they have at least one boundary point in common, but no interior points.\" (A symmetric relationship, as defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).)", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.itemlist" - ] - }, - "geoWithin": { - "type": "union", - "description": "Represents a relationship between two geometries (or the places they represent), relating a geometry to one that contains it, i.e. it is inside (i.e. within) its interior. As defined in [DE-9IM](https://en.wikipedia.org/wiki/DE-9IM).", - "refs": [ - "social.flockfeeds.lexical.geospatialgeometry", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "globalLocationNumber": { - "type": "string", - "description": "The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also referred to as International Location Number or ILN) of the respective organization, person, or place. The GLN is a 13-digit number used to identify parties and physical locations." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasDriveThroughService": { - "type": "boolean", - "description": "Indicates whether some facility (e.g. [[FoodEstablishment]], [[CovidTestingFacility]]) offers a service that can be used by driving through in a car. In the case of [[CovidTestingFacility]] such facilities could potentially help with social distancing from other potentially-infected users." - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMap": { - "type": "union", - "description": "A URL to a map of the place.", - "refs": [ - "social.flockfeeds.lexical.map", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isicV4": { - "type": "string", - "description": "The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "latitude": { - "type": "string", - "description": "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "longitude": { - "type": "string", - "description": "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System))." - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "map": { - "type": "string", - "description": "A URL to a map of the place.", - "format": "uri" - }, - "maps": { - "type": "string", - "description": "A URL to a map of the place.", - "format": "uri" - }, - "maximumAttendeeCapacity": { - "type": "integer", - "description": "The total number of individuals that may attend an event or venue." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "openingHoursSpecification": { - "type": "union", - "description": "The opening hours of a certain place.", - "refs": [ - "social.flockfeeds.lexical.openinghoursspecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "photo": { - "type": "union", - "description": "A photograph of this place.", - "refs": [ - "social.flockfeeds.lexical.photograph", - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "photos": { - "type": "union", - "description": "Photographs of this place.", - "refs": [ - "social.flockfeeds.lexical.photograph", - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publicAccess": { - "type": "boolean", - "description": "A flag to signal that the [[Place]] is open to public visitors. If this property is omitted there is no assumed default boolean value." - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "smokingAllowed": { - "type": "boolean", - "description": "Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room." - }, - "specialOpeningHoursSpecification": { - "type": "union", - "description": "The special opening hours of a certain place.\\n\\nUse this to explicitly override general opening hours brought in scope by [[openingHoursSpecification]] or [[openingHours]].", - "refs": [ - "social.flockfeeds.lexical.openinghoursspecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "telephone": { - "type": "string", - "description": "The telephone number." - }, - "tourBookingPage": { - "type": "string", - "description": "A page providing information on how to book a tour of some [[Place]], such as an [[Accommodation]] or [[ApartmentComplex]] in a real estate setting, as well as other kinds of tours as appropriate.", - "format": "uri" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_product.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_product.json deleted file mode 100644 index be56aea62..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_product.json +++ /dev/null @@ -1,479 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.product", - "defs": { - "main": { - "type": "record", - "description": "Any offered product or service. For example: a pair of shoes; a concert ticket; the rental of a car; a haircut; or an episode of a TV show streamed online.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "asin": { - "type": "string", - "description": "An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article).\n\nNote also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details.\nASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too." - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "category": { - "type": "union", - "description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.", - "refs": [ - "social.flockfeeds.lexical.physicalactivitycategory", - "social.flockfeeds.lexical.categorycode", - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "color": { - "type": "string", - "description": "The color of the product." - }, - "colorSwatch": { - "type": "union", - "description": "A color swatch image, visualizing the color of a [[Product]]. Should match the textual description specified in the [[color]] property. This can be a URL or a fully described ImageObject.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfAssembly": { - "type": "string", - "description": "The place where the product was assembled." - }, - "countryOfLastProcessing": { - "type": "string", - "description": "The place where the item (typically [[Product]]) was last processed and tested before importation." - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "depth": { - "type": "union", - "description": "The depth of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gtin": { - "type": "string", - "description": "A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.\n\nA correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1's GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.\n\nThe GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) expresses GTINs as URLs (URIs, IRIs, etc.).\nDigital Links should be populated into the [[hasGS1DigitalLink]] attribute.\n\nNote also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details." - }, - "gtin12": { - "type": "string", - "description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin13": { - "type": "string", - "description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin14": { - "type": "string", - "description": "The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin8": { - "type": "string", - "description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "hasAdultConsideration": { - "type": "string", - "description": "Used to tag an item to be intended or suitable for consumption or use by adults only." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasEnergyConsumptionDetails": { - "type": "union", - "description": "Defines the energy efficiency Category (also known as \"class\" or \"rating\") for a product according to an international energy efficiency standard.", - "refs": [ - "social.flockfeeds.lexical.energyconsumptiondetails", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inProductGroupWithID": { - "type": "string", - "description": "Indicates the [[productGroupID]] for a [[ProductGroup]] that this product [[isVariantOf]]." - }, - "isAccessoryOrSparePartFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is an accessory or spare part.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isConsumableFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is a consumable.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isRelatedTo": { - "type": "union", - "description": "A pointer to another, somehow related product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isSimilarTo": { - "type": "union", - "description": "A pointer to another, functionally similar product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isVariantOf": { - "type": "union", - "description": "Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.productgroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "manufacturer": { - "type": "union", - "description": "The manufacturer of the product.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mobileUrl": { - "type": "string", - "description": "The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated 'mobile site'.\n\nTo discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional \"mobile site\" alongside the main one. It should not be taken as an endorsement of this publication style.", - "format": "uri" - }, - "model": { - "type": "union", - "description": "The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mpn": { - "type": "string", - "description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "negativeNotes": { - "type": "union", - "description": "Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry \n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions \ntend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "nsn": { - "type": "string", - "description": "Indicates the [NATO stock number](https://en.wikipedia.org/wiki/NATO_Stock_Number) (nsn) of a [[Product]]." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "positiveNotes": { - "type": "union", - "description": "Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.\n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.listitem" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productID": { - "type": "string", - "description": "The product identifier, such as ISBN. For example: ``` meta itemprop=\"productID\" content=\"isbn:123-456-789\" ```." - }, - "productionDate": { - "type": "string", - "description": "The date of production of the item, e.g. vehicle.", - "format": "datetime" - }, - "purchaseDate": { - "type": "string", - "description": "The date the item, e.g. vehicle, was purchased by the current owner.", - "format": "datetime" - }, - "releaseDate": { - "type": "string", - "description": "The release date of a product or product model. This can be used to distinguish the exact variant of a product.", - "format": "datetime" - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sku": { - "type": "string", - "description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers." - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "weight": { - "type": "union", - "description": "The weight of the product or person.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productgroup.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productgroup.json deleted file mode 100644 index 5bcfce5d2..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productgroup.json +++ /dev/null @@ -1,499 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.productgroup", - "defs": { - "main": { - "type": "record", - "description": "A ProductGroup represents a group of [[Product]]s that vary only in certain well-described ways, such as by [[size]], [[color]], [[material]] etc.\n\nWhile a ProductGroup itself is not directly offered for sale, the various varying products that it represents can be. The ProductGroup serves as a prototype or template, standing in for all of the products who have an [[isVariantOf]] relationship to it. As such, properties (including additional types) can be applied to the ProductGroup to represent characteristics shared by each of the (possibly very many) variants. Properties that reference a ProductGroup are not included in this mechanism; neither are the following specific properties [[variesBy]], [[hasVariant]], [[url]].", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "asin": { - "type": "string", - "description": "An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article).\n\nNote also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details.\nASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too." - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "category": { - "type": "union", - "description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.", - "refs": [ - "social.flockfeeds.lexical.physicalactivitycategory", - "social.flockfeeds.lexical.categorycode", - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "color": { - "type": "string", - "description": "The color of the product." - }, - "colorSwatch": { - "type": "union", - "description": "A color swatch image, visualizing the color of a [[Product]]. Should match the textual description specified in the [[color]] property. This can be a URL or a fully described ImageObject.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfAssembly": { - "type": "string", - "description": "The place where the product was assembled." - }, - "countryOfLastProcessing": { - "type": "string", - "description": "The place where the item (typically [[Product]]) was last processed and tested before importation." - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "depth": { - "type": "union", - "description": "The depth of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gtin": { - "type": "string", - "description": "A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.\n\nA correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1's GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.\n\nThe GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) expresses GTINs as URLs (URIs, IRIs, etc.).\nDigital Links should be populated into the [[hasGS1DigitalLink]] attribute.\n\nNote also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details." - }, - "gtin12": { - "type": "string", - "description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin13": { - "type": "string", - "description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin14": { - "type": "string", - "description": "The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin8": { - "type": "string", - "description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "hasAdultConsideration": { - "type": "string", - "description": "Used to tag an item to be intended or suitable for consumption or use by adults only." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasEnergyConsumptionDetails": { - "type": "union", - "description": "Defines the energy efficiency Category (also known as \"class\" or \"rating\") for a product according to an international energy efficiency standard.", - "refs": [ - "social.flockfeeds.lexical.energyconsumptiondetails", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasVariant": { - "type": "union", - "description": "Indicates a [[Product]] that is a member of this [[ProductGroup]] (or [[ProductModel]]).", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inProductGroupWithID": { - "type": "string", - "description": "Indicates the [[productGroupID]] for a [[ProductGroup]] that this product [[isVariantOf]]." - }, - "isAccessoryOrSparePartFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is an accessory or spare part.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isConsumableFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is a consumable.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isRelatedTo": { - "type": "union", - "description": "A pointer to another, somehow related product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isSimilarTo": { - "type": "union", - "description": "A pointer to another, functionally similar product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isVariantOf": { - "type": "union", - "description": "Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.productgroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "manufacturer": { - "type": "union", - "description": "The manufacturer of the product.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mobileUrl": { - "type": "string", - "description": "The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated 'mobile site'.\n\nTo discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional \"mobile site\" alongside the main one. It should not be taken as an endorsement of this publication style.", - "format": "uri" - }, - "model": { - "type": "union", - "description": "The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mpn": { - "type": "string", - "description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "negativeNotes": { - "type": "union", - "description": "Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry \n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions \ntend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "nsn": { - "type": "string", - "description": "Indicates the [NATO stock number](https://en.wikipedia.org/wiki/NATO_Stock_Number) (nsn) of a [[Product]]." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "positiveNotes": { - "type": "union", - "description": "Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.\n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.listitem" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productGroupID": { - "type": "string", - "description": "Indicates a textual identifier for a ProductGroup." - }, - "productID": { - "type": "string", - "description": "The product identifier, such as ISBN. For example: ``` meta itemprop=\"productID\" content=\"isbn:123-456-789\" ```." - }, - "productionDate": { - "type": "string", - "description": "The date of production of the item, e.g. vehicle.", - "format": "datetime" - }, - "purchaseDate": { - "type": "string", - "description": "The date the item, e.g. vehicle, was purchased by the current owner.", - "format": "datetime" - }, - "releaseDate": { - "type": "string", - "description": "The release date of a product or product model. This can be used to distinguish the exact variant of a product.", - "format": "datetime" - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sku": { - "type": "string", - "description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers." - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "variesBy": { - "type": "union", - "description": "Indicates the property or properties by which the variants in a [[ProductGroup]] vary, e.g. their size, color etc. Schema.org properties can be referenced by their short name e.g. \"color\"; terms defined elsewhere can be referenced with their URIs.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "weight": { - "type": "union", - "description": "The weight of the product or person.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productmodel.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productmodel.json deleted file mode 100644 index 5e6e42399..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_productmodel.json +++ /dev/null @@ -1,495 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.productmodel", - "defs": { - "main": { - "type": "record", - "description": "A datasheet or vendor specification of a product (in the sense of a prototypical description).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "asin": { - "type": "string", - "description": "An Amazon Standard Identification Number (ASIN) is a 10-character alphanumeric unique identifier assigned by Amazon.com and its partners for product identification within the Amazon organization (summary from [Wikipedia](https://en.wikipedia.org/wiki/Amazon_Standard_Identification_Number)'s article).\n\nNote also that this is a definition for how to include ASINs in Schema.org data, and not a definition of ASINs in general - see documentation from Amazon for authoritative details.\nASINs are most commonly encoded as text strings, but the [asin] property supports URL/URI as potential values too." - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "category": { - "type": "union", - "description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.", - "refs": [ - "social.flockfeeds.lexical.physicalactivitycategory", - "social.flockfeeds.lexical.categorycode", - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "color": { - "type": "string", - "description": "The color of the product." - }, - "colorSwatch": { - "type": "union", - "description": "A color swatch image, visualizing the color of a [[Product]]. Should match the textual description specified in the [[color]] property. This can be a URL or a fully described ImageObject.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfAssembly": { - "type": "string", - "description": "The place where the product was assembled." - }, - "countryOfLastProcessing": { - "type": "string", - "description": "The place where the item (typically [[Product]]) was last processed and tested before importation." - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "depth": { - "type": "union", - "description": "The depth of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "gtin": { - "type": "string", - "description": "A Global Trade Item Number ([GTIN](https://www.gs1.org/standards/id-keys/gtin)). GTINs identify trade items, including products and services, using numeric identification codes.\n\nA correct [[gtin]] value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a [valid GS1 check digit](https://www.gs1.org/services/check-digit-calculator) and meet the other rules for valid GTINs. See also [GS1's GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) and [Wikipedia](https://en.wikipedia.org/wiki/Global_Trade_Item_Number) for more details. Left-padding of the gtin values is not required or encouraged. The [[gtin]] property generalizes the earlier [[gtin8]], [[gtin12]], [[gtin13]], and [[gtin14]] properties.\n\nThe GS1 [digital link specifications](https://www.gs1.org/standards/Digital-Link/) expresses GTINs as URLs (URIs, IRIs, etc.).\nDigital Links should be populated into the [[hasGS1DigitalLink]] attribute.\n\nNote also that this is a definition for how to include GTINs in Schema.org data, and not a definition of GTINs in general - see the GS1 documentation for authoritative details." - }, - "gtin12": { - "type": "string", - "description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin13": { - "type": "string", - "description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceding zero. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin14": { - "type": "string", - "description": "The GTIN-14 code of the product, or the product to which the offer refers. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "gtin8": { - "type": "string", - "description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See [GS1 GTIN Summary](http://www.gs1.org/barcodes/technical/idkeys/gtin) for more details." - }, - "hasAdultConsideration": { - "type": "string", - "description": "Used to tag an item to be intended or suitable for consumption or use by adults only." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasEnergyConsumptionDetails": { - "type": "union", - "description": "Defines the energy efficiency Category (also known as \"class\" or \"rating\") for a product according to an international energy efficiency standard.", - "refs": [ - "social.flockfeeds.lexical.energyconsumptiondetails", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasGS1DigitalLink": { - "type": "string", - "description": "The GS1 digital link associated with the object. This URL should conform to the particular requirements of digital links. The link should only contain the Application Identifiers (AIs) that are relevant for the entity being annotated, for instance a [[Product]] or an [[Organization]], and for the correct granularity. In particular, for products: Other item types should be adapted similarly.", - "format": "uri" - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMerchantReturnPolicy": { - "type": "union", - "description": "Specifies a MerchantReturnPolicy that may be applicable.", - "refs": [ - "social.flockfeeds.lexical.merchantreturnpolicy", - "social.flockfeeds.lexical.itemlist" - ] - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inProductGroupWithID": { - "type": "string", - "description": "Indicates the [[productGroupID]] for a [[ProductGroup]] that this product [[isVariantOf]]." - }, - "isAccessoryOrSparePartFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is an accessory or spare part.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isConsumableFor": { - "type": "union", - "description": "A pointer to another product (or multiple products) for which this product is a consumable.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isRelatedTo": { - "type": "union", - "description": "A pointer to another, somehow related product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isSimilarTo": { - "type": "union", - "description": "A pointer to another, functionally similar product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isVariantOf": { - "type": "union", - "description": "Indicates the kind of product that this is a variant of. In the case of [[ProductModel]], this is a pointer (from a ProductModel) to a base product from which this product is a variant. It is safe to infer that the variant inherits all product features from the base model, unless defined locally. This is not transitive. In the case of a [[ProductGroup]], the group description also serves as a template, representing a set of Products that vary on explicitly defined, specific dimensions only (so it defines both a set of variants, as well as which values distinguish amongst those variants). When used with [[ProductGroup]], this property can apply to any [[Product]] included in the group.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.productgroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemCondition": { - "type": "union", - "description": "A predefined value from OfferItemCondition specifying the condition of the product or service, or the products or services included in the offer. Also used for product return policies to specify the condition of products accepted for returns.", - "refs": [ - "social.flockfeeds.lexical.offeritemcondition", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "manufacturer": { - "type": "union", - "description": "The manufacturer of the product.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mobileUrl": { - "type": "string", - "description": "The [[mobileUrl]] property is provided for specific situations in which data consumers need to determine whether one of several provided URLs is a dedicated 'mobile site'.\n\nTo discourage over-use, and reflecting intial usecases, the property is expected only on [[Product]] and [[Offer]], rather than [[Thing]]. The general trend in web technology is towards [responsive design](https://en.wikipedia.org/wiki/Responsive_web_design) in which content can be flexibly adapted to a wide range of browsing environments. Pages and sites referenced with the long-established [[url]] property should ideally also be usable on a wide variety of devices, including mobile phones. In most cases, it would be pointless and counter productive to attempt to update all [[url]] markup to use [[mobileUrl]] for more mobile-oriented pages. The property is intended for the case when items (primarily [[Product]] and [[Offer]]) have extra URLs hosted on an additional \"mobile site\" alongside the main one. It should not be taken as an endorsement of this publication style.", - "format": "uri" - }, - "model": { - "type": "union", - "description": "The model of the product. Use with the URL of a ProductModel or a textual representation of the model identifier. The URL of the ProductModel can be from an external source. It is recommended to additionally provide strong product identifiers via the gtin8/gtin13/gtin14 and mpn properties.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mpn": { - "type": "string", - "description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "negativeNotes": { - "type": "union", - "description": "Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry \n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions \ntend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "nsn": { - "type": "string", - "description": "Indicates the [NATO stock number](https://en.wikipedia.org/wiki/NATO_Stock_Number) (nsn) of a [[Product]]." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "positiveNotes": { - "type": "union", - "description": "Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.\n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.listitem" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "predecessorOf": { - "type": "union", - "description": "A pointer from a previous, often discontinued variant of the product to its newer variant.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productID": { - "type": "string", - "description": "The product identifier, such as ISBN. For example: ``` meta itemprop=\"productID\" content=\"isbn:123-456-789\" ```." - }, - "productionDate": { - "type": "string", - "description": "The date of production of the item, e.g. vehicle.", - "format": "datetime" - }, - "purchaseDate": { - "type": "string", - "description": "The date the item, e.g. vehicle, was purchased by the current owner.", - "format": "datetime" - }, - "releaseDate": { - "type": "string", - "description": "The release date of a product or product model. This can be used to distinguish the exact variant of a product.", - "format": "datetime" - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sku": { - "type": "string", - "description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers." - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "successorOf": { - "type": "union", - "description": "A pointer from a newer variant of a product to its previous, often discontinued predecessor.", - "refs": [ - "social.flockfeeds.lexical.productmodel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "weight": { - "type": "union", - "description": "The weight of the product or person.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.mass", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_propertyvalue.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_propertyvalue.json deleted file mode 100644 index 0b48fb97d..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_propertyvalue.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.propertyvalue", - "defs": { - "main": { - "type": "record", - "description": "A property-value pair, e.g. representing a feature of a product or place. Use the 'name' property for the name of the property. If there is an additional human-readable version of the value, put that into the 'description' property.\\n\\n Always use specific schema.org properties when a) they exist and b) you can populate them. Using PropertyValue as a substitute will typically not trigger the same effect as using the original, specific property.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maxValue": { - "type": "integer", - "description": "The upper value of some characteristic or property." - }, - "measurementMethod": { - "type": "union", - "description": "A subproperty of [[measurementTechnique]] that can be used for specifying specific methods, in particular via [[MeasurementMethodEnum]].", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.measurementmethodenum", - "social.flockfeeds.lexical.itemlist" - ] - }, - "measurementTechnique": { - "type": "union", - "description": "A technique, method or technology used in an [[Observation]], [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], [[DataCatalog]]), corresponding to the method used for measuring the corresponding variable(s) (for datasets, described using [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). Often but not necessarily each [[variableMeasured]] will have an explicit representation as (or mapping to) an property such as those defined in Schema.org, or other RDF vocabularies and \"knowledge graphs\". In that case the subproperty of [[variableMeasured]] called [[measuredProperty]] is applicable.\n \nThe [[measurementTechnique]] property helps when extra clarification is needed about how a [[measuredProperty]] was measured. This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but can often serve as a high level summary for dataset discovery. \n\nFor example, if [[variableMeasured]] is: molecule concentration, [[measurementTechnique]] could be: \"mass spectrometry\" or \"nmr spectroscopy\" or \"colorimetry\" or \"immunofluorescence\". If the [[variableMeasured]] is \"depression rating\", the [[measurementTechnique]] could be \"Zung Scale\" or \"HAM-D\" or \"Beck Depression Inventory\". \n\nIf there are several [[variableMeasured]] properties recorded for some given data object, use a [[PropertyValue]] for each [[variableMeasured]] and attach the corresponding [[measurementTechnique]]. The value can also be from an enumeration, organized as a [[MeasurementMetholdEnumeration]].", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.measurementmethodenum", - "social.flockfeeds.lexical.itemlist" - ] - }, - "minValue": { - "type": "integer", - "description": "The lower value of some characteristic or property." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "propertyID": { - "type": "string", - "description": "A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property. propertyID can be\n(1) a prefixed string, mainly meant to be used with standards for product properties; (2) a site-specific, non-prefixed string (e.g. the primary key of the property or the vendor-specific ID of the property), or (3)\na URL indicating the type of the property, either pointing to an external vocabulary, or a Web resource that describes the property (e.g. a glossary entry).\nStandards bodies should promote a standard prefix for the identifiers of properties from their standards." - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "unitCode": { - "type": "string", - "description": "The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon." - }, - "unitText": { - "type": "string", - "description": "A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for\nunitCode." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "value": { - "type": "union", - "description": "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.", - "refs": [ - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "valueReference": { - "type": "union", - "description": "A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.measurementtypeenumeration", - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_publicationevent.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_publicationevent.json deleted file mode 100644 index f62d338e3..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_publicationevent.json +++ /dev/null @@ -1,414 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.publicationevent", - "defs": { - "main": { - "type": "record", - "description": "A PublicationEvent corresponds indifferently to the event of publication for a CreativeWork of any type, e.g. a broadcast event, an on-demand event, a book/journal publication via a variety of delivery media.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "attendee": { - "type": "union", - "description": "A person or organization attending the event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "attendees": { - "type": "union", - "description": "A person attending the event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "composer": { - "type": "union", - "description": "The person or organization who wrote a composition, or who is the composer of a work performed at some event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "doorTime": { - "type": "string", - "description": "The time admission will commence." - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endDate": { - "type": "string", - "description": "The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "eventAttendanceMode": { - "type": "string", - "description": "The eventAttendanceMode of an event indicates whether it occurs online, offline, or a mix." - }, - "eventSchedule": { - "type": "union", - "description": "Associates an [[Event]] with a [[Schedule]]. There are circumstances where it is preferable to share a schedule for a series of\n repeating events rather than data on the individual events themselves. For example, a website or application might prefer to publish a schedule for a weekly\n gym class rather than provide data on every event. A schedule could be processed by applications to add forthcoming events to a calendar. An [[Event]] that\n is associated with a [[Schedule]] using this property should not have [[startDate]] or [[endDate]] properties. These are instead defined within the associated\n [[Schedule]], this avoids any ambiguity for clients using the data. The property might have repeated values to specify different schedules, e.g. for different months\n or seasons.", - "refs": [ - "social.flockfeeds.lexical.schedule", - "social.flockfeeds.lexical.itemlist" - ] - }, - "eventStatus": { - "type": "union", - "description": "An eventStatus of an event represents its status; particularly useful when an event is cancelled or rescheduled.", - "refs": [ - "social.flockfeeds.lexical.eventstatustype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "free": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "location": { - "type": "union", - "description": "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.", - "refs": [ - "social.flockfeeds.lexical.virtuallocation", - "social.flockfeeds.lexical.postaladdress", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maximumAttendeeCapacity": { - "type": "integer", - "description": "The total number of individuals that may attend an event or venue." - }, - "maximumPhysicalAttendeeCapacity": { - "type": "integer", - "description": "The maximum physical attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OfflineEventAttendanceMode]] (or the offline aspects, in the case of a [[MixedEventAttendanceMode]])." - }, - "maximumVirtualAttendeeCapacity": { - "type": "integer", - "description": "The maximum virtual attendee capacity of an [[Event]] whose [[eventAttendanceMode]] is [[OnlineEventAttendanceMode]] (or the online aspects, in the case of a [[MixedEventAttendanceMode]])." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "organizer": { - "type": "union", - "description": "An organizer of an Event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performer": { - "type": "union", - "description": "A performer at the event—for example, a presenter, musician, musical group or actor.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performers": { - "type": "union", - "description": "The main performer or performers of the event—for example, a presenter, musician, or actor.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "previousStartDate": { - "type": "string", - "description": "Used in conjunction with eventStatus for rescheduled or cancelled events. This property contains the previously scheduled start date. For rescheduled events, the startDate property should be used for the newly scheduled start date. In the (rare) case of an event that has been postponed and rescheduled multiple times, this field may be repeated.", - "format": "datetime" - }, - "publishedBy": { - "type": "union", - "description": "An agent associated with the publication event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishedOn": { - "type": "union", - "description": "A broadcast service associated with the publication event.", - "refs": [ - "social.flockfeeds.lexical.broadcastservice", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedIn": { - "type": "union", - "description": "The CreativeWork that captured all or part of this Event.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "remainingAttendeeCapacity": { - "type": "integer", - "description": "The number of attendee places for an event that remain unallocated." - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startDate": { - "type": "string", - "description": "The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).", - "format": "datetime" - }, - "subEvent": { - "type": "union", - "description": "An Event that is part of this event. For example, a conference event includes many presentations, each of which is a subEvent of the conference.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subEvents": { - "type": "union", - "description": "Events that are a part of this event. For example, a conference event includes many presentations, each subEvents of the conference.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "superEvent": { - "type": "union", - "description": "An event that this event is a part of. For example, a collection of individual music performances might each have a music festival as their superEvent.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "workFeatured": { - "type": "union", - "description": "A work featured in some event, e.g. exhibited in an ExhibitionEvent.\n Specific subproperties are available for workPerformed (e.g. a play), or a workPresented (a Movie at a ScreeningEvent).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workPerformed": { - "type": "union", - "description": "A work performed in some event, for example a play performed in a TheaterEvent.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_quantitativevalue.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_quantitativevalue.json deleted file mode 100644 index 57d831ca3..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_quantitativevalue.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.quantitativevalue", - "defs": { - "main": { - "type": "record", - "description": "A point value or interval for product characteristics and other purposes.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maxValue": { - "type": "integer", - "description": "The upper value of some characteristic or property." - }, - "minValue": { - "type": "integer", - "description": "The lower value of some characteristic or property." - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "unitCode": { - "type": "string", - "description": "The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon." - }, - "unitText": { - "type": "string", - "description": "A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for\nunitCode." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "value": { - "type": "union", - "description": "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.", - "refs": [ - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "valueReference": { - "type": "union", - "description": "A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.measurementtypeenumeration", - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_rating.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_rating.json deleted file mode 100644 index 39056894c..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_rating.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.rating", - "defs": { - "main": { - "type": "record", - "description": "A rating is an evaluation on a numeric scale, such as 1 to 5 stars.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "bestRating": { - "type": "string", - "description": "The highest value allowed in this rating system." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ratingExplanation": { - "type": "string", - "description": "A short explanation (e.g. one to two sentences) providing background context and other information that led to the conclusion expressed in the rating. This is particularly applicable to ratings associated with \"fact check\" markup using [[ClaimReview]]." - }, - "ratingValue": { - "type": "string", - "description": "The rating for the content.\\n\\nUsage guidelines:\\n\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator." - }, - "reviewAspect": { - "type": "string", - "description": "This Review or Rating is relevant to this part or facet of the itemReviewed." - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "worstRating": { - "type": "string", - "description": "The lowest value allowed in this rating system." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_recipe.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_recipe.json deleted file mode 100644 index b86990c20..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_recipe.json +++ /dev/null @@ -1,1001 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.recipe", - "defs": { - "main": { - "type": "record", - "description": "A recipe. For dietary restrictions covered by the recipe, a few common restrictions are enumerated via [[suitableForDiet]]. The [[keywords]] property can also be used to add more detail.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "cookTime": { - "type": "union", - "description": "The time it takes to actually cook the dish, in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "cookingMethod": { - "type": "string", - "description": "The method of cooking, such as Frying, Steaming, ..." - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "estimatedCost": { - "type": "union", - "description": "The estimated cost of the supply or supplies consumed when performing instructions.", - "refs": [ - "social.flockfeeds.lexical.monetaryamount", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ingredients": { - "type": "string", - "description": "A single ingredient used in the recipe, e.g. sugar, flour or garlic." - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nutrition": { - "type": "union", - "description": "Nutrition information about the recipe or menu item.", - "refs": [ - "social.flockfeeds.lexical.nutritioninformation", - "social.flockfeeds.lexical.itemlist" - ] - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "performTime": { - "type": "union", - "description": "The length of time it takes to perform instructions or a direction (not including time to prepare the supplies), in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "prepTime": { - "type": "union", - "description": "The length of time it takes to prepare the items to be used in instructions or a direction, in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recipeCategory": { - "type": "string", - "description": "The category of the recipe—for example, appetizer, entree, etc." - }, - "recipeCuisine": { - "type": "string", - "description": "The cuisine of the recipe (for example, French or Ethiopian)." - }, - "recipeIngredient": { - "type": "union", - "description": "An ingredient or ordered list of ingredients and potentially quantities used in the recipe, e.g. 1 cup of sugar, flour or garlic. The ingredients can be represented as free text or more structured values.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recipeInstructions": { - "type": "union", - "description": "A step in making the recipe, in the form of a single item (document, video, etc.) or an ordered list with HowToStep and/or HowToSection items.", - "refs": [ - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.creativework" - ] - }, - "recipeYield": { - "type": "union", - "description": "The quantity produced by the recipe (for example, number of people served, number of servings, etc).", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "step": { - "type": "union", - "description": "A single step item (as HowToStep, text, document, video, etc.) or a HowToSection.", - "refs": [ - "social.flockfeeds.lexical.howtostep", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.howtosection", - "social.flockfeeds.lexical.itemlist" - ] - }, - "steps": { - "type": "union", - "description": "A single step item (as HowToStep, text, document, video, etc.) or a HowToSection (originally misnamed 'steps'; 'step' is preferred).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "suitableForDiet": { - "type": "union", - "description": "Indicates a dietary restriction or guideline for which this recipe or menu item is suitable, e.g. diabetic, halal etc.", - "refs": [ - "social.flockfeeds.lexical.restricteddiet", - "social.flockfeeds.lexical.itemlist" - ] - }, - "supply": { - "type": "union", - "description": "A sub-property of instrument. A supply consumed when performing instructions or a direction.", - "refs": [ - "social.flockfeeds.lexical.howtosupply", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "tool": { - "type": "union", - "description": "A sub property of instrument. An object used (but not consumed) when performing instructions or a direction.", - "refs": [ - "social.flockfeeds.lexical.howtotool", - "social.flockfeeds.lexical.itemlist" - ] - }, - "totalTime": { - "type": "union", - "description": "The total time required to perform instructions or a direction (including time to prepare the supplies), in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "yield": { - "type": "union", - "description": "The quantity that results by performing instructions. For example, a paper airplane, 10 personalized candles.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_restricteddiet.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_restricteddiet.json deleted file mode 100644 index b9073e2c6..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_restricteddiet.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.restricteddiet", - "defs": { - "main": { - "type": "record", - "description": "A diet restricted to certain foods or preparations for cultural, religious, health or lifestyle reasons.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "supersededBy": { - "type": "union", - "description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", - "refs": [ - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.class", - "social.flockfeeds.lexical.property", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_review.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_review.json deleted file mode 100644 index 8b7129e25..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_review.json +++ /dev/null @@ -1,929 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.review", - "defs": { - "main": { - "type": "record", - "description": "A review of an item - for example, of a restaurant, movie, or store.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedClaimReview": { - "type": "union", - "description": "An associated [[ClaimReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMediaReview": { - "type": "union", - "description": "An associated [[MediaReview]], related by specific common content, topic or claim. The expectation is that this property would be most typically used in cases where a single activity is conducting both claim reviews and media reviews, in which case [[relatedMediaReview]] would commonly be used on a [[ClaimReview]], while [[relatedClaimReview]] would be used on [[MediaReview]].", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedReview": { - "type": "union", - "description": "An associated [[Review]].", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "itemReviewed": { - "type": "union", - "description": "The item that is being reviewed/rated.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "negativeNotes": { - "type": "union", - "description": "Provides negative considerations regarding something, most typically in pro/con lists for reviews (alongside [[positiveNotes]]). For symmetry \n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described. Since product descriptions \ntend to emphasise positive claims, it may be relatively unusual to find [[negativeNotes]] used in this way. Nevertheless for the sake of symmetry, [[negativeNotes]] can be used on [[Product]].\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most negative is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.listitem", - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "positiveNotes": { - "type": "union", - "description": "Provides positive considerations regarding something, for example product highlights or (alongside [[negativeNotes]]) pro/con lists for reviews.\n\nIn the case of a [[Review]], the property describes the [[itemReviewed]] from the perspective of the review; in the case of a [[Product]], the product itself is being described.\n\nThe property values can be expressed either as unstructured text (repeated as necessary), or if ordered, as a list (in which case the most positive is at the beginning of the list).", - "refs": [ - "social.flockfeeds.lexical.webcontent", - "social.flockfeeds.lexical.itemlist", - "social.flockfeeds.lexical.listitem" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviewAspect": { - "type": "string", - "description": "This Review or Rating is relevant to this part or facet of the itemReviewed." - }, - "reviewBody": { - "type": "string", - "description": "The actual body of the review." - }, - "reviewRating": { - "type": "union", - "description": "The rating given in this review. Note that reviews can themselves be rated. The ```reviewRating``` applies to rating given by the review. The [[aggregateRating]] property applies to the review itself, as a creative work.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_service.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_service.json deleted file mode 100644 index edf41b9e0..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_service.json +++ /dev/null @@ -1,287 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.service", - "defs": { - "main": { - "type": "record", - "description": "A service provided by an organization, e.g. delivery service, print services, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "areaServed": { - "type": "union", - "description": "The geographic area where a service or offered item is provided.", - "refs": [ - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "availableChannel": { - "type": "union", - "description": "A means of accessing the service (e.g. a phone bank, a web site, a location, etc.).", - "refs": [ - "social.flockfeeds.lexical.servicechannel", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "brand": { - "type": "union", - "description": "The brand(s) associated with a product or service, or the brand(s) maintained by an organization or business person.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.brand", - "social.flockfeeds.lexical.itemlist" - ] - }, - "broker": { - "type": "union", - "description": "An entity that arranges for an exchange between a buyer and a seller. In most cases a broker never acquires or releases ownership of a product or service involved in an exchange. If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "category": { - "type": "union", - "description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.", - "refs": [ - "social.flockfeeds.lexical.physicalactivitycategory", - "social.flockfeeds.lexical.categorycode", - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "hasCertification": { - "type": "union", - "description": "Certification information about a product, organization, service, place, or person.", - "refs": [ - "social.flockfeeds.lexical.certification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasOfferCatalog": { - "type": "union", - "description": "Indicates an OfferCatalog listing for this Organization, Person, or Service.", - "refs": [ - "social.flockfeeds.lexical.offercatalog", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hoursAvailable": { - "type": "union", - "description": "The hours during which this service or contact is available.", - "refs": [ - "social.flockfeeds.lexical.openinghoursspecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isRelatedTo": { - "type": "union", - "description": "A pointer to another, somehow related product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isSimilarTo": { - "type": "union", - "description": "A pointer to another, functionally similar product (or multiple products).", - "refs": [ - "social.flockfeeds.lexical.service", - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "logo": { - "type": "union", - "description": "An associated logo.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "produces": { - "type": "union", - "description": "The tangible thing generated by the service, e.g. a passport, permit, etc.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "providerMobility": { - "type": "string", - "description": "Indicates the mobility of a provided service (e.g. 'static', 'dynamic')." - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "serviceArea": { - "type": "union", - "description": "The geographic area where the service is provided.", - "refs": [ - "social.flockfeeds.lexical.administrativearea", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceAudience": { - "type": "union", - "description": "The audience eligible for this service.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceOutput": { - "type": "union", - "description": "The tangible thing generated by the service, e.g. a passport, permit, etc.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "serviceType": { - "type": "union", - "description": "The type of service being offered, e.g. veterans' benefits, emergency relief, etc.", - "refs": [ - "social.flockfeeds.lexical.governmentbenefitstype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "slogan": { - "type": "string", - "description": "A slogan or motto associated with the item." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "termsOfService": { - "type": "string", - "description": "Human-readable terms of service documentation." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_sizespecification.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_sizespecification.json deleted file mode 100644 index 78250d885..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_sizespecification.json +++ /dev/null @@ -1,219 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.sizespecification", - "defs": { - "main": { - "type": "record", - "description": "Size related properties of a product, typically a size code ([[name]]) and optionally a [[sizeSystem]], [[sizeGroup]], and product measurements ([[hasMeasurement]]). In addition, the intended audience can be defined through [[suggestedAge]], [[suggestedGender]], and suggested body measurements ([[suggestedMeasurement]]).", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalProperty": { - "type": "union", - "description": "A property-value pair representing an additional characteristic of the entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.\\n\\nNote: Publishers should be aware that applications designed to use specific schema.org properties (e.g. https://schema.org/width, https://schema.org/color, https://schema.org/gtin13, ...) will typically expect such data to be provided using those properties, rather than using the generic property/value mechanism.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "equal": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is equal to the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "greater": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is greater than the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "greaterOrEqual": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is greater than or equal to the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "hasMeasurement": { - "type": "union", - "description": "A measurement of an item, For example, the inseam of pants, the wheel size of a bicycle, the gauge of a screw, or the carbon footprint measured for certification by an authority. Usually an exact measurement, but can also be a range of measurements for adjustable products, for example belts and ski bindings.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "lesser": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is lesser than the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "lesserOrEqual": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is lesser than or equal to the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "nonEqual": { - "type": "union", - "description": "This ordering relation for qualitative values indicates that the subject is not equal to the object.", - "refs": [ - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "sizeGroup": { - "type": "union", - "description": "The size group (also known as \"size type\") for a product's size. Size groups are common in the fashion industry to define size segments and suggested audiences for wearable products. Multiple values can be combined, for example \"men's big and tall\", \"petite maternity\" or \"regular\".", - "refs": [ - "social.flockfeeds.lexical.sizegroupenumeration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sizeSystem": { - "type": "union", - "description": "The size system used to identify a product's size. Typically either a standard (for example, \"GS1\" or \"ISO-EN13402\"), country code (for example \"US\" or \"JP\"), or a measuring system (for example \"Metric\" or \"Imperial\").", - "refs": [ - "social.flockfeeds.lexical.sizesystemenumeration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "suggestedAge": { - "type": "union", - "description": "The age or age range for the intended audience or person, for example 3-12 months for infants, 1-5 years for toddlers.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "suggestedGender": { - "type": "union", - "description": "The suggested gender of the intended person or audience, for example \"male\", \"female\", or \"unisex\".", - "refs": [ - "social.flockfeeds.lexical.gendertype", - "social.flockfeeds.lexical.itemlist" - ] - }, - "suggestedMeasurement": { - "type": "union", - "description": "A suggested range of body measurements for the intended audience or person, for example inseam between 32 and 34 inches or height between 170 and 190 cm. Typically found on a size chart for wearable products.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "supersededBy": { - "type": "union", - "description": "Relates a term (i.e. a property, class or enumeration) to one that supersedes it.", - "refs": [ - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.class", - "social.flockfeeds.lexical.property", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "valueReference": { - "type": "union", - "description": "A secondary value that provides additional information on the original value, e.g. a reference temperature or a type of measurement.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.measurementtypeenumeration", - "social.flockfeeds.lexical.enumeration", - "social.flockfeeds.lexical.qualitativevalue", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.structuredvalue", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_socialmediaposting.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_socialmediaposting.json deleted file mode 100644 index 604e2a1dd..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_socialmediaposting.json +++ /dev/null @@ -1,698 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.socialmediaposting", - "defs": { - "main": { - "type": "record", - "description": "A post to a social media platform, including blog posts, tweets, Facebook posts, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "ref", - "description": "The subject matter of the content.", - "ref": "social.flockfeeds.lexical.thing" - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "ref", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "ref": "social.flockfeeds.lexical.person" - }, - "acquireLicensePage": { - "type": "ref", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "ref", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "ref": "social.flockfeeds.lexical.aggregaterating" - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "ref", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "ref": "social.flockfeeds.lexical.webpage" - }, - "articleBody": { - "type": "string", - "description": "The actual body of the article." - }, - "articleSection": { - "type": "string", - "description": "Articles may belong to one or more 'sections' in a magazine or newspaper, such as Sports, Lifestyle, etc." - }, - "assesses": { - "type": "ref", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "associatedMedia": { - "type": "ref", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "audience": { - "type": "ref", - "description": "An intended audience, i.e. a group for whom something was created.", - "ref": "social.flockfeeds.lexical.audience" - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "backstory": { - "type": "ref", - "description": "For an [[Article]], typically a [[NewsArticle]], the backstory property provides a textual summary giving a brief explanation of why and how an article was created. In a journalistic setting this could include information about reporting process, methods, interviews, data sources, etc.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "character": { - "type": "ref", - "description": "Fictional person connected with a creative work.", - "ref": "social.flockfeeds.lexical.person" - }, - "citation": { - "type": "ref", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "comment": { - "type": "ref", - "description": "Comments, typically from users.", - "ref": "social.flockfeeds.lexical.comment" - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "ref", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "ref": "social.flockfeeds.lexical.place" - }, - "contentRating": { - "type": "ref", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "ref": "social.flockfeeds.lexical.rating" - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "ref", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "ref": "social.flockfeeds.lexical.correctioncomment" - }, - "countryOfOrigin": { - "type": "ref", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "ref": "social.flockfeeds.lexical.country" - }, - "creativeWorkStatus": { - "type": "ref", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "ref", - "description": "A description of the item.", - "ref": "social.flockfeeds.lexical.textobject" - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "ref", - "description": "Specifies the Person who edited the CreativeWork.", - "ref": "social.flockfeeds.lexical.person" - }, - "educationalAlignment": { - "type": "ref", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "ref": "social.flockfeeds.lexical.alignmentobject" - }, - "educationalLevel": { - "type": "ref", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "educationalUse": { - "type": "ref", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "encoding": { - "type": "ref", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "ref", - "description": "A media object that encodes this CreativeWork.", - "ref": "social.flockfeeds.lexical.mediaobject" - }, - "exampleOfWork": { - "type": "ref", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "funding": { - "type": "ref", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "ref": "social.flockfeeds.lexical.grant" - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "ref", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "ref": "social.flockfeeds.lexical.creativework" - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "ref", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "ref": "social.flockfeeds.lexical.propertyvalue" - }, - "image": { - "type": "ref", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "inLanguage": { - "type": "ref", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "ref": "social.flockfeeds.lexical.language" - }, - "interactionStatistic": { - "type": "ref", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "ref": "social.flockfeeds.lexical.interactioncounter" - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "ref", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "ref": "social.flockfeeds.lexical.claim" - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "ref", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "keywords": { - "type": "ref", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "learningResourceType": { - "type": "ref", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "license": { - "type": "ref", - "description": "A license document that applies to this content, typically indicated by URL.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "locationCreated": { - "type": "ref", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "ref": "social.flockfeeds.lexical.place" - }, - "mainEntity": { - "type": "ref", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "ref": "social.flockfeeds.lexical.thing" - }, - "mainEntityOfPage": { - "type": "ref", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "material": { - "type": "ref", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "ref": "social.flockfeeds.lexical.product" - }, - "materialExtent": { - "type": "ref", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "ref": "social.flockfeeds.lexical.quantitativevalue" - }, - "mentions": { - "type": "ref", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "ref": "social.flockfeeds.lexical.thing" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer" - ] - }, - "pageEnd": { - "type": "string", - "description": "The page on which the work ends; for example \"138\" or \"xvi\"." - }, - "pageStart": { - "type": "string", - "description": "The page on which the work starts; for example \"135\" or \"xiii\"." - }, - "pagination": { - "type": "string", - "description": "Any description of pages that is not separated into pageStart and pageEnd; for example, \"1-6, 9, 55\" or \"10-12, 46-49\"." - }, - "pattern": { - "type": "ref", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "ref", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "ref": "social.flockfeeds.lexical.action" - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "publication": { - "type": "ref", - "description": "A publication event associated with the item.", - "ref": "social.flockfeeds.lexical.publicationevent" - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "publisherImprint": { - "type": "ref", - "description": "The publishing division which published the comic.", - "ref": "social.flockfeeds.lexical.organization" - }, - "publishingPrinciples": { - "type": "ref", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "recordedAt": { - "type": "ref", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "ref": "social.flockfeeds.lexical.event" - }, - "releasedEvent": { - "type": "ref", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "ref": "social.flockfeeds.lexical.publicationevent" - }, - "review": { - "type": "ref", - "description": "A review of the item.", - "ref": "social.flockfeeds.lexical.review" - }, - "reviews": { - "type": "ref", - "description": "Review of the item.", - "ref": "social.flockfeeds.lexical.review" - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "ref", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "sharedContent": { - "type": "ref", - "description": "A CreativeWork such as an image, video, or audio clip shared as part of this posting.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue" - ] - }, - "sourceOrganization": { - "type": "ref", - "description": "The Organization on whose behalf the creator was working.", - "ref": "social.flockfeeds.lexical.organization" - }, - "spatial": { - "type": "ref", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "ref": "social.flockfeeds.lexical.place" - }, - "spatialCoverage": { - "type": "ref", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "ref": "social.flockfeeds.lexical.place" - }, - "speakable": { - "type": "ref", - "description": "Indicates sections of a Web page that are particularly 'speakable' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the 'speakable' property serves to indicate the parts most likely to be generally useful for speech.\n\nThe *speakable* property can be repeated an arbitrary number of times, with three kinds of possible 'content-locator' values:\n\n1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.\n\n2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.\n\n3.) XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.\n\n\nFor more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this\nwe define a supporting type, [[SpeakableSpecification]] which is defined to be a possible value of the *speakable* property.", - "ref": "social.flockfeeds.lexical.speakablespecification" - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework" - ] - }, - "teaches": { - "type": "ref", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "ref": "social.flockfeeds.lexical.definedterm" - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "ref", - "description": "Thumbnail image for an image or video.", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "ref", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "ref": "social.flockfeeds.lexical.duration" - }, - "translationOfWork": { - "type": "ref", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "ref", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "ref", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "workTranslation": { - "type": "ref", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "ref": "social.flockfeeds.lexical.creativework" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_speakablespecification.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_speakablespecification.json deleted file mode 100644 index 35eabf0bb..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_speakablespecification.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.speakablespecification", - "defs": { - "main": { - "type": "record", - "description": "A SpeakableSpecification indicates (typically via [[xpath]] or [[cssSelector]]) sections of a document that are highlighted as particularly [[speakable]]. Instances of this type are expected to be used primarily as values of the [[speakable]] property.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "cssSelector": { - "type": "ref", - "description": "A CSS selector, e.g. of a [[SpeakableSpecification]] or [[WebPageElement]]. In the latter case, multiple matches within a page can constitute a single conceptual \"Web page element\".", - "ref": "social.flockfeeds.lexical.cssselectortype" - }, - "description": { - "type": "ref", - "description": "A description of the item.", - "ref": "social.flockfeeds.lexical.textobject" - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "ref", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "ref": "social.flockfeeds.lexical.propertyvalue" - }, - "image": { - "type": "ref", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "ref": "social.flockfeeds.lexical.imageobject" - }, - "mainEntityOfPage": { - "type": "ref", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "ref": "social.flockfeeds.lexical.creativework" - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "ref", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "ref": "social.flockfeeds.lexical.action" - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "xpath": { - "type": "ref", - "description": "An XPath, e.g. of a [[SpeakableSpecification]] or [[WebPageElement]]. In the latter case, multiple matches within a page can constitute a single conceptual \"Web page element\".", - "ref": "social.flockfeeds.lexical.xpathtype" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_textobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_textobject.json deleted file mode 100644 index 18b8defab..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_textobject.json +++ /dev/null @@ -1,978 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.textobject", - "defs": { - "main": { - "type": "record", - "description": "A text file. The text can be unformatted or contain markup, html, etc.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedArticle": { - "type": "union", - "description": "A NewsArticle associated with the Media Object.", - "refs": [ - "social.flockfeeds.lexical.newsarticle", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "bitrate": { - "type": "string", - "description": "The bitrate of the media object." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contentSize": { - "type": "string", - "description": "File size in (mega/kilo)bytes." - }, - "contentUrl": { - "type": "string", - "description": "Actual bytes of the media object, for example the image file or video file.", - "format": "uri" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "embedUrl": { - "type": "string", - "description": "A URL pointing to a player for a specific video. In general, this is the information in the ```src``` element of an ```embed``` tag and should not be the same as the content of the ```loc``` tag.", - "format": "uri" - }, - "encodesCreativeWork": { - "type": "union", - "description": "The CreativeWork encoded by this media object.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "playerType": { - "type": "string", - "description": "Player type required—for example, Flash or Silverlight." - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "regionsAllowed": { - "type": "union", - "description": "The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiresSubscription": { - "type": "union", - "description": "Indicates if use of the media require a subscription (either paid or free). Allowed values are ```true``` or ```false``` (note that an earlier version had 'yes', 'no').", - "refs": [ - "social.flockfeeds.lexical.mediasubscription", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sha256": { - "type": "string", - "description": "The [SHA-2](https://en.wikipedia.org/wiki/SHA-2) SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "uploadDate": { - "type": "string", - "description": "Date (including time if available) when this media object was uploaded to this site.", - "format": "datetime" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_thing.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_thing.json deleted file mode 100644 index c2b90b721..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_thing.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.thing", - "defs": { - "main": { - "type": "record", - "description": "The most generic type of item.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_videoobject.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_videoobject.json deleted file mode 100644 index 9aba795a4..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_videoobject.json +++ /dev/null @@ -1,1044 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.videoobject", - "defs": { - "main": { - "type": "record", - "description": "A video file.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actor": { - "type": "union", - "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.performinggroup", - "social.flockfeeds.lexical.itemlist" - ] - }, - "actors": { - "type": "union", - "description": "An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedArticle": { - "type": "union", - "description": "A NewsArticle associated with the Media Object.", - "refs": [ - "social.flockfeeds.lexical.newsarticle", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "bitrate": { - "type": "string", - "description": "The bitrate of the media object." - }, - "caption": { - "type": "union", - "description": "The caption for this object. For downloadable machine formats (closed caption, subtitles etc.) use MediaObject and indicate the [[encodingFormat]].", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contentSize": { - "type": "string", - "description": "File size in (mega/kilo)bytes." - }, - "contentUrl": { - "type": "string", - "description": "Actual bytes of the media object, for example the image file or video file.", - "format": "uri" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "director": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "directors": { - "type": "union", - "description": "A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "duration": { - "type": "union", - "description": "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "embedUrl": { - "type": "string", - "description": "A URL pointing to a player for a specific video. In general, this is the information in the ```src``` element of an ```embed``` tag and should not be the same as the content of the ```loc``` tag.", - "format": "uri" - }, - "embeddedTextCaption": { - "type": "string", - "description": "Represents textual captioning from a [[MediaObject]], e.g. text of a 'meme'." - }, - "encodesCreativeWork": { - "type": "union", - "description": "The CreativeWork encoded by this media object.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "endTime": { - "type": "string", - "description": "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "height": { - "type": "union", - "description": "The height of the item.", - "refs": [ - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "ineligibleRegion": { - "type": "union", - "description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\\n\\nSee also [[eligibleRegion]].", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.geoshape", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "musicBy": { - "type": "union", - "description": "The composer of the soundtrack.", - "refs": [ - "social.flockfeeds.lexical.musicgroup", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "playerType": { - "type": "string", - "description": "Player type required—for example, Flash or Silverlight." - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "productionCompany": { - "type": "union", - "description": "The production company or studio responsible for the item, e.g. series, video game, episode etc.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "regionsAllowed": { - "type": "union", - "description": "The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in [ISO 3166 format](http://en.wikipedia.org/wiki/ISO_3166).", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "requiresSubscription": { - "type": "union", - "description": "Indicates if use of the media require a subscription (either paid or free). Allowed values are ```true``` or ```false``` (note that an earlier version had 'yes', 'no').", - "refs": [ - "social.flockfeeds.lexical.mediasubscription", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sha256": { - "type": "string", - "description": "The [SHA-2](https://en.wikipedia.org/wiki/SHA-2) SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'." - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "startTime": { - "type": "string", - "description": "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions." - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "transcript": { - "type": "string", - "description": "If this MediaObject is an AudioObject or VideoObject, the transcript of that object." - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "uploadDate": { - "type": "string", - "description": "Date (including time if available) when this media object was uploaded to this site.", - "format": "datetime" - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "videoFrameSize": { - "type": "string", - "description": "The frame size of the video." - }, - "videoQuality": { - "type": "string", - "description": "The quality of the video." - }, - "width": { - "type": "union", - "description": "The width of the item.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.distance", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_vocab.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_vocab.json deleted file mode 100644 index d6e38bf14..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_vocab.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.vocab", - "defs": { - "main": { - "type": "record", - "description": "Canonical schema for vocabulary entries.", - "key": "tid", - "record": { - "type": "object", - "required": [ - "id", - "label", - "createdAt" - ], - "properties": { - "alternateType": { - "type": "string", - "description": "Specifies the kind of this record, expected to be a URI (recommended) or plain string." - }, - "createdAt": { - "type": "string", - "description": "Timestamp when this vocab entry was created (ISO 8601).", - "format": "datetime" - }, - "description": { - "type": "string", - "description": "Optional longer description." - }, - "id": { - "type": "string", - "description": "Canonical URI/IRI for this vocab term.", - "format": "uri" - }, - "label": { - "type": "string", - "description": "Human-readable label." - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webcontent.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webcontent.json deleted file mode 100644 index ddbc973ee..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webcontent.json +++ /dev/null @@ -1,863 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.webcontent", - "defs": { - "main": { - "type": "record", - "description": "WebContent is a type representing all [[WebPage]], [[WebSite]] and [[WebPageElement]] content. It is sometimes the case that detailed distinctions between Web pages, sites and their parts are not always important or obvious. The [[WebContent]] type makes it easier to describe Web-addressable content without requiring such distinctions to always be stated. (The intent is that the existing types [[WebPage]], [[WebSite]] and [[WebPageElement]] will eventually be declared as subtypes of [[WebContent]].)", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webpage.json b/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webpage.json deleted file mode 100644 index 3cc62c4d9..000000000 --- a/crates/jacquard-api/lexicons/social_flockfeeds_lexical_webpage.json +++ /dev/null @@ -1,932 +0,0 @@ -{ - "lexicon": 1, - "id": "social.flockfeeds.lexical.webpage", - "defs": { - "main": { - "type": "record", - "description": "A web page. Every web page is implicitly assumed to be declared to be of type WebPage, so the various properties about that webpage, such as breadcrumb may be used. We recommend explicit declaration if these properties are specified, but if they are found outside of an itemscope, they will be assumed to be about the page.", - "key": "tid", - "record": { - "type": "object", - "properties": { - "about": { - "type": "union", - "description": "The subject matter of the content.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "abstract": { - "type": "string", - "description": "An abstract is a short description that summarizes a [[CreativeWork]]." - }, - "accessMode": { - "type": "string", - "description": "The human sensory perceptual system or cognitive faculty through which a person may process or perceive information. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessMode-vocabulary)." - }, - "accessModeSufficient": { - "type": "ref", - "description": "A list of single or combined accessModes that are sufficient to understand all the intellectual content of a resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessModeSufficient-vocabulary).", - "ref": "social.flockfeeds.lexical.itemlist" - }, - "accessibilityAPI": { - "type": "string", - "description": "Indicates that the resource is compatible with the referenced accessibility API. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityAPI-vocabulary)." - }, - "accessibilityControl": { - "type": "string", - "description": "Identifies input methods that are sufficient to fully control the described resource. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityControl-vocabulary)." - }, - "accessibilityFeature": { - "type": "string", - "description": "Content features of the resource, such as accessible media, alternatives and supported enhancements for accessibility. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityFeature-vocabulary)." - }, - "accessibilityHazard": { - "type": "string", - "description": "A characteristic of the described resource that is physiologically dangerous to some users. Related to WCAG 2.0 guideline 2.3. Values should be drawn from the [approved vocabulary](https://www.w3.org/2021/a11y-discov-vocab/latest/#accessibilityHazard-vocabulary)." - }, - "accessibilitySummary": { - "type": "string", - "description": "A human-readable summary of specific accessibility features or deficiencies, consistent with the other accessibility metadata but expressing subtleties such as \"short descriptions are present but long descriptions will be needed for non-visual users\" or \"short descriptions are present and no long descriptions are needed\"." - }, - "accountablePerson": { - "type": "union", - "description": "Specifies the Person that is legally accountable for the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "acquireLicensePage": { - "type": "union", - "description": "Indicates a page documenting how licenses can be purchased or otherwise acquired, for the current item.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "additionalType": { - "type": "string", - "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. Typically the value is a URI-identified RDF class, and in this case corresponds to the\n use of rdf:type in RDF. Text values can be used sparingly, for cases where useful information can be added without their being an appropriate schema to reference. In the case of text values, the class label should follow the schema.org style guide." - }, - "aggregateRating": { - "type": "union", - "description": "The overall rating, based on a collection of reviews or ratings, of the item.", - "refs": [ - "social.flockfeeds.lexical.aggregaterating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "alternateName": { - "type": "string", - "description": "An alias for the item." - }, - "alternativeHeadline": { - "type": "string", - "description": "A secondary title of the CreativeWork." - }, - "archivedAt": { - "type": "union", - "description": "Indicates a page or other link involved in archival of a [[CreativeWork]]. In the case of [[MediaReview]], the items in a [[MediaReviewItem]] may often become inaccessible, but be archived by archival, journalistic, activist, or law enforcement organizations. In such cases, the referenced page may not directly publish the content.", - "refs": [ - "social.flockfeeds.lexical.webpage", - "social.flockfeeds.lexical.itemlist" - ] - }, - "assesses": { - "type": "union", - "description": "The item being described is intended to assess the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "associatedMedia": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audience": { - "type": "union", - "description": "An intended audience, i.e. a group for whom something was created.", - "refs": [ - "social.flockfeeds.lexical.audience", - "social.flockfeeds.lexical.itemlist" - ] - }, - "audio": { - "type": "union", - "description": "An embedded audio object.", - "refs": [ - "social.flockfeeds.lexical.audioobject", - "social.flockfeeds.lexical.musicrecording", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "author": { - "type": "union", - "description": "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "award": { - "type": "string", - "description": "An award won by or for this item." - }, - "awards": { - "type": "string", - "description": "Awards won by or for this item." - }, - "breadcrumb": { - "type": "union", - "description": "A set of links that can help a user understand and navigate a website hierarchy.", - "refs": [ - "social.flockfeeds.lexical.breadcrumblist", - "social.flockfeeds.lexical.itemlist" - ] - }, - "character": { - "type": "union", - "description": "Fictional person connected with a creative work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "citation": { - "type": "union", - "description": "A citation or reference to another creative work, such as another publication, web page, scholarly article, etc.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "comment": { - "type": "union", - "description": "Comments, typically from users.", - "refs": [ - "social.flockfeeds.lexical.comment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "commentCount": { - "type": "integer", - "description": "The number of comments this CreativeWork (e.g. Article, Question or Answer) has received. This is most applicable to works published in Web sites with commenting system; additional comments may exist elsewhere." - }, - "conditionsOfAccess": { - "type": "string", - "description": "Conditions that affect the availability of, or method(s) of access to, an item. Typically used for real world items such as an [[ArchiveComponent]] held by an [[ArchiveOrganization]]. This property is not suitable for use as a general Web access control mechanism. It is expressed only in natural language.\\n\\nFor example \"Available by appointment from the Reading Room\" or \"Accessible only from logged-in accounts \"." - }, - "contentLocation": { - "type": "union", - "description": "The location depicted or described in the content. For example, the location in a photograph or painting.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentRating": { - "type": "union", - "description": "Official rating of a piece of content—for example, 'MPAA PG-13'.", - "refs": [ - "social.flockfeeds.lexical.rating", - "social.flockfeeds.lexical.itemlist" - ] - }, - "contentReferenceTime": { - "type": "string", - "description": "The specific time described by a creative work, for works (e.g. articles, video objects etc.) that emphasise a particular moment within an Event.", - "format": "datetime" - }, - "contributor": { - "type": "union", - "description": "A secondary contributor to the CreativeWork or Event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightHolder": { - "type": "union", - "description": "The party holding the legal copyright to the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "copyrightNotice": { - "type": "string", - "description": "Text of a notice appropriate for describing the copyright aspects of this Creative Work, ideally indicating the owner of the copyright for the Work." - }, - "copyrightYear": { - "type": "integer", - "description": "The year during which the claimed copyright for the CreativeWork was first asserted." - }, - "correction": { - "type": "union", - "description": "Indicates a correction to a [[CreativeWork]], either via a [[CorrectionComment]], textually or in another document.", - "refs": [ - "social.flockfeeds.lexical.correctioncomment", - "social.flockfeeds.lexical.itemlist" - ] - }, - "countryOfOrigin": { - "type": "union", - "description": "The country of origin of something, including products as well as creative works such as movie and TV content.\n\nIn the case of TV and movie, this would be the country of the principle offices of the production company or individual responsible for the movie. For other kinds of [[CreativeWork]] it is difficult to provide fully general guidance, and properties such as [[contentLocation]] and [[locationCreated]] may be more applicable.\n\nIn the case of products, the country of origin of the product. The exact interpretation of this may vary by context and product type, and cannot be fully enumerated here.", - "refs": [ - "social.flockfeeds.lexical.country", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creativeWorkStatus": { - "type": "union", - "description": "The status of a creative work in terms of its stage in a lifecycle. Example terms include Incomplete, Draft, Published, Obsolete. Some organizations define a set of terms for the stages of their publication lifecycle.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creator": { - "type": "union", - "description": "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "creditText": { - "type": "string", - "description": "Text that can be used to credit person(s) and/or organization(s) associated with a published Creative Work." - }, - "dateCreated": { - "type": "string", - "description": "The date on which the CreativeWork was created or the item was added to a DataFeed.", - "format": "datetime" - }, - "dateModified": { - "type": "string", - "description": "The date on which the CreativeWork was most recently modified or when the item's entry was modified within a DataFeed.", - "format": "datetime" - }, - "datePublished": { - "type": "string", - "description": "Date of first publication or broadcast. For example the date a [[CreativeWork]] was broadcast or a [[Certification]] was issued.", - "format": "datetime" - }, - "description": { - "type": "union", - "description": "A description of the item.", - "refs": [ - "social.flockfeeds.lexical.textobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "digitalSourceType": { - "type": "string", - "description": "Indicates an IPTCDigitalSourceEnumeration code indicating the nature of the digital source(s) for some [[CreativeWork]]." - }, - "disambiguatingDescription": { - "type": "string", - "description": "A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation." - }, - "discussionUrl": { - "type": "string", - "description": "A link to the page containing the comments of the CreativeWork.", - "format": "uri" - }, - "editEIDR": { - "type": "string", - "description": "An [EIDR](https://eidr.org/) (Entertainment Identifier Registry) [[identifier]] representing a specific edit / edition for a work of film or television.\n\nFor example, the motion picture known as \"Ghostbusters\" whose [[titleEIDR]] is \"10.5240/7EC7-228A-510A-053E-CBB8-J\" has several edits, e.g. \"10.5240/1F2A-E1C5-680A-14C6-E76B-I\" and \"10.5240/8A35-3BEE-6497-5D12-9E4F-3\".\n\nSince schema.org types like [[Movie]] and [[TVEpisode]] can be used for both works and their multiple expressions, it is possible to use [[titleEIDR]] alone (for a general description), or alongside [[editEIDR]] for a more edit-specific description." - }, - "editor": { - "type": "union", - "description": "Specifies the Person who edited the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalAlignment": { - "type": "union", - "description": "An alignment to an established educational framework.\n\nThis property should not be used where the nature of the alignment can be described using a simple property, for example to express that a resource [[teaches]] or [[assesses]] a competency.", - "refs": [ - "social.flockfeeds.lexical.alignmentobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalLevel": { - "type": "union", - "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "educationalUse": { - "type": "union", - "description": "The purpose of a work in the context of education; for example, 'assignment', 'group work'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encoding": { - "type": "union", - "description": "A media object that encodes this CreativeWork. This property is a synonym for associatedMedia.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "encodingFormat": { - "type": "string", - "description": "Media type typically expressed using a MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml) and [MDN reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)), e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.\n\nIn cases where a [[CreativeWork]] has several media type representations, [[encoding]] can be used to indicate each [[MediaObject]] alongside particular [[encodingFormat]] information.\n\nUnregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry." - }, - "encodings": { - "type": "union", - "description": "A media object that encodes this CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.mediaobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "exampleOfWork": { - "type": "union", - "description": "A creative work that this work is an example/instance/realization/derivation of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "expires": { - "type": "string", - "description": "Date the content expires and is no longer useful or available. For example a [[VideoObject]] or [[NewsArticle]] whose availability or relevance is time-limited, a [[ClaimReview]] fact check whose publisher wants to indicate that it may no longer be relevant (or helpful to highlight) after some date, or a [[Certification]] the validity has expired.", - "format": "datetime" - }, - "fileFormat": { - "type": "string", - "description": "Media type, typically MIME format (see [IANA site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of the content, e.g. application/zip of a SoftwareApplication binary. In cases where a CreativeWork has several media type representations, 'encoding' can be used to indicate each MediaObject alongside particular fileFormat information. Unregistered or niche file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia entry." - }, - "funder": { - "type": "union", - "description": "A person or organization that supports (sponsors) something through some kind of financial contribution.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "funding": { - "type": "union", - "description": "A [[Grant]] that directly or indirectly provide funding or sponsorship for this item. See also [[ownershipFundingInfo]].", - "refs": [ - "social.flockfeeds.lexical.grant", - "social.flockfeeds.lexical.itemlist" - ] - }, - "genre": { - "type": "string", - "description": "Genre of the creative work, broadcast channel or group." - }, - "hasPart": { - "type": "union", - "description": "Indicates an item or CreativeWork that is part of this item, or CreativeWork (in some sense).", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "headline": { - "type": "string", - "description": "Headline of the article." - }, - "identifier": { - "type": "union", - "description": "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.", - "refs": [ - "social.flockfeeds.lexical.propertyvalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "image": { - "type": "union", - "description": "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "inLanguage": { - "type": "union", - "description": "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].", - "refs": [ - "social.flockfeeds.lexical.language", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactionStatistic": { - "type": "union", - "description": "The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used.", - "refs": [ - "social.flockfeeds.lexical.interactioncounter", - "social.flockfeeds.lexical.itemlist" - ] - }, - "interactivityType": { - "type": "string", - "description": "The predominant mode of learning supported by the learning resource. Acceptable values are 'active', 'expositive', or 'mixed'." - }, - "interpretedAsClaim": { - "type": "union", - "description": "Used to indicate a specific claim contained, implied, translated or refined from the content of a [[MediaObject]] or other [[CreativeWork]]. The interpreting party can be indicated using [[claimInterpreter]].", - "refs": [ - "social.flockfeeds.lexical.claim", - "social.flockfeeds.lexical.itemlist" - ] - }, - "isAccessibleForFree": { - "type": "boolean", - "description": "A flag to signal that the item, event, or place is accessible for free." - }, - "isBasedOn": { - "type": "string", - "description": "A resource from which this work is derived or from which it is a modification or adaptation.", - "format": "uri" - }, - "isFamilyFriendly": { - "type": "boolean", - "description": "Indicates whether this content is family friendly." - }, - "isPartOf": { - "type": "union", - "description": "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "keywords": { - "type": "union", - "description": "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "lastReviewed": { - "type": "string", - "description": "Date on which the content on this web page was last reviewed for accuracy and/or completeness.", - "format": "datetime" - }, - "learningResourceType": { - "type": "union", - "description": "The predominant type or kind characterizing the learning resource. For example, 'presentation', 'handout'.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "license": { - "type": "union", - "description": "A license document that applies to this content, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "locationCreated": { - "type": "union", - "description": "The location where the CreativeWork was created, which may not be the same as the location depicted in the CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainContentOfPage": { - "type": "union", - "description": "Indicates if this web page element is the main subject of the page.", - "refs": [ - "social.flockfeeds.lexical.webpageelement", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntity": { - "type": "union", - "description": "Indicates the primary entity described in some page or other CreativeWork.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mainEntityOfPage": { - "type": "union", - "description": "Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See [background notes](/docs/datamodel.html#mainEntityBackground) for details.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "maintainer": { - "type": "union", - "description": "A maintainer of a [[Dataset]], software package ([[SoftwareApplication]]), or other [[Project]]. A maintainer is a [[Person]] or [[Organization]] that manages contributions to, and/or publication of, some (typically complex) artifact. It is common for distributions of software and data to be based on \"upstream\" sources. When [[maintainer]] is applied to a specific version of something e.g. a particular version or packaging of a [[Dataset]], it is always possible that the upstream source has a different maintainer. The [[isBasedOn]] property can be used to indicate such relationships between datasets to make the different maintenance roles clear. Similarly in the case of software, a package may have dedicated maintainers working on integration into software distributions such as Ubuntu, as well as upstream maintainers of the underlying work.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "material": { - "type": "union", - "description": "A material that something is made from, e.g. leather, wool, cotton, paper.", - "refs": [ - "social.flockfeeds.lexical.product", - "social.flockfeeds.lexical.itemlist" - ] - }, - "materialExtent": { - "type": "union", - "description": "The quantity of the materials being described or an expression of the physical space they occupy.", - "refs": [ - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "mentions": { - "type": "union", - "description": "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.", - "refs": [ - "social.flockfeeds.lexical.thing", - "social.flockfeeds.lexical.itemlist" - ] - }, - "name": { - "type": "string", - "description": "The name of the item." - }, - "offers": { - "type": "union", - "description": "An offer to provide this item—for example, an offer to sell a product, rent the DVD of a movie, perform a service, or give away tickets to an event. Use [[businessFunction]] to indicate the kind of transaction offered, i.e. sell, lease, etc. This property can also be used to describe a [[Demand]]. While this property is listed as expected on a number of common types, it can be used in others. In that case, using a second type, such as Product or a subtype of Product, can clarify the nature of the offer.", - "refs": [ - "social.flockfeeds.lexical.demand", - "social.flockfeeds.lexical.offer", - "social.flockfeeds.lexical.itemlist" - ] - }, - "pattern": { - "type": "union", - "description": "A pattern that something has, for example 'polka dot', 'striped', 'Canadian flag'. Values are typically expressed as text, although links to controlled value schemes are also supported.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "position": { - "type": "string", - "description": "The position of an item in a series or sequence of items." - }, - "potentialAction": { - "type": "union", - "description": "Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.", - "refs": [ - "social.flockfeeds.lexical.action", - "social.flockfeeds.lexical.itemlist" - ] - }, - "primaryImageOfPage": { - "type": "union", - "description": "Indicates the main image on the page.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "producer": { - "type": "union", - "description": "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "provider": { - "type": "union", - "description": "The service provider, service operator, or service performer; the goods producer. Another party (a seller) may offer those services or goods on behalf of the provider. A provider may also serve as the seller.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publication": { - "type": "union", - "description": "A publication event associated with the item.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisher": { - "type": "union", - "description": "The publisher of the article in question.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publisherImprint": { - "type": "union", - "description": "The publishing division which published the comic.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "publishingPrinciples": { - "type": "union", - "description": "The publishingPrinciples property indicates (typically via [[URL]]) a document describing the editorial principles of an [[Organization]] (or individual, e.g. a [[Person]] writing a blog) that relate to their activities as a publisher, e.g. ethics or diversity policies. When applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are those of the party primarily responsible for the creation of the [[CreativeWork]].\n\nWhile such policies are most typically expressed in natural language, sometimes related information (e.g. indicating a [[funder]]) can be expressed using schema.org terminology.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "recordedAt": { - "type": "union", - "description": "The Event where the CreativeWork was recorded. The CreativeWork may capture all or part of the event.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.itemlist" - ] - }, - "relatedLink": { - "type": "string", - "description": "A link related to this web page, for example to other related web pages.", - "format": "uri" - }, - "releasedEvent": { - "type": "union", - "description": "The place and time the release was issued, expressed as a PublicationEvent.", - "refs": [ - "social.flockfeeds.lexical.publicationevent", - "social.flockfeeds.lexical.itemlist" - ] - }, - "review": { - "type": "union", - "description": "A review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviewedBy": { - "type": "union", - "description": "People or organizations that have reviewed the content on this web page for accuracy and/or completeness.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "reviews": { - "type": "union", - "description": "Review of the item.", - "refs": [ - "social.flockfeeds.lexical.review", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sameAs": { - "type": "string", - "description": "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.", - "format": "uri" - }, - "schemaVersion": { - "type": "string", - "description": "Indicates (by URL or string) a particular version of a schema used in some CreativeWork. This property was created primarily to\n indicate the use of a specific schema.org release, e.g. ```10.0``` as a simple string, or more explicitly via URL, ```https://schema.org/docs/releases.html#v10.0```. There may be situations in which other schemas might usefully be referenced this way, e.g. ```http://dublincore.org/specifications/dublin-core/dces/1999-07-02/``` but this has not been carefully explored in the community." - }, - "sdDatePublished": { - "type": "string", - "description": "Indicates the date on which the current structured data was generated / published. Typically used alongside [[sdPublisher]].", - "format": "datetime" - }, - "sdLicense": { - "type": "union", - "description": "A license document that applies to this structured data, typically indicated by URL.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sdPublisher": { - "type": "union", - "description": "Indicates the party responsible for generating and publishing the current structured data markup, typically in cases where the structured data is derived automatically from existing published content but published on a different site. For example, student projects and open data initiatives often re-publish existing content with more explicitly structured metadata. The\n[[sdPublisher]] property helps make such practices more explicit.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "significantLink": { - "type": "string", - "description": "One of the more significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.", - "format": "uri" - }, - "significantLinks": { - "type": "string", - "description": "The most significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.", - "format": "uri" - }, - "size": { - "type": "union", - "description": "A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured [[SizeSpecification]]; in other cases, the [[width]], [[height]], [[depth]] and [[weight]] properties may be more applicable.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.sizespecification", - "social.flockfeeds.lexical.quantitativevalue", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sourceOrganization": { - "type": "union", - "description": "The Organization on whose behalf the creator was working.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatial": { - "type": "union", - "description": "The \"spatial\" property can be used in cases when more specific properties\n(e.g. [[locationCreated]], [[spatialCoverage]], [[contentLocation]]) are not known to be appropriate.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "spatialCoverage": { - "type": "union", - "description": "The spatialCoverage of a CreativeWork indicates the place(s) which are the focus of the content. It is a subproperty of\n contentLocation intended primarily for more technical and detailed materials. For example with a Dataset, it indicates\n areas that the dataset describes: a dataset of New York weather would have spatialCoverage which was the place: the state of New York.", - "refs": [ - "social.flockfeeds.lexical.place", - "social.flockfeeds.lexical.itemlist" - ] - }, - "speakable": { - "type": "union", - "description": "Indicates sections of a Web page that are particularly 'speakable' in the sense of being highlighted as being especially appropriate for text-to-speech conversion. Other sections of a page may also be usefully spoken in particular circumstances; the 'speakable' property serves to indicate the parts most likely to be generally useful for speech.\n\nThe *speakable* property can be repeated an arbitrary number of times, with three kinds of possible 'content-locator' values:\n\n1.) *id-value* URL references - uses *id-value* of an element in the page being annotated. The simplest use of *speakable* has (potentially relative) URL values, referencing identified sections of the document concerned.\n\n2.) CSS Selectors - addresses content in the annotated page, e.g. via class attribute. Use the [[cssSelector]] property.\n\n3.) XPaths - addresses content via XPaths (assuming an XML view of the content). Use the [[xpath]] property.\n\n\nFor more sophisticated markup of speakable sections beyond simple ID references, either CSS selectors or XPath expressions to pick out document section(s) as speakable. For this\nwe define a supporting type, [[SpeakableSpecification]] which is defined to be a possible value of the *speakable* property.", - "refs": [ - "social.flockfeeds.lexical.speakablespecification", - "social.flockfeeds.lexical.itemlist" - ] - }, - "specialty": { - "type": "union", - "description": "One of the domain specialities to which this web page's content applies.", - "refs": [ - "social.flockfeeds.lexical.specialty", - "social.flockfeeds.lexical.itemlist" - ] - }, - "sponsor": { - "type": "union", - "description": "A person or organization that supports a thing through a pledge, promise, or financial contribution. E.g. a sponsor of a Medical Study or a corporate sponsor of an event.", - "refs": [ - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.itemlist" - ] - }, - "subjectOf": { - "type": "union", - "description": "A CreativeWork or Event about this Thing.", - "refs": [ - "social.flockfeeds.lexical.event", - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "teaches": { - "type": "union", - "description": "The item being described is intended to help a person learn the competency or learning outcome defined by the referenced term.", - "refs": [ - "social.flockfeeds.lexical.definedterm", - "social.flockfeeds.lexical.itemlist" - ] - }, - "temporal": { - "type": "string", - "description": "The \"temporal\" property can be used in cases where more specific properties\n(e.g. [[temporalCoverage]], [[dateCreated]], [[dateModified]], [[datePublished]]) are not known to be appropriate." - }, - "temporalCoverage": { - "type": "string", - "description": "The temporalCoverage of a CreativeWork indicates the period that the content applies to, i.e. that it describes, either as a DateTime or as a textual string indicating a time period in [ISO 8601 time interval format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In\n the case of a Dataset it will typically indicate the relevant time period in a precise notation (e.g. for a 2011 census dataset, the year 2011 would be written \"2011/2012\"). Other forms of content, e.g. ScholarlyArticle, Book, TVSeries or TVEpisode, may indicate their temporalCoverage in broader terms - textually or via well-known URL.\n Written works such as books may sometimes have precise temporal coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601 interval format format via \"1939/1945\".\n\nOpen-ended date ranges can be written with \"..\" in place of the end date. For example, \"2015-11/..\" indicates a range beginning in November 2015 and with no specified final date. This is tentative and might be updated in future when ISO 8601 is officially updated." - }, - "text": { - "type": "string", - "description": "The textual content of this CreativeWork." - }, - "thumbnail": { - "type": "union", - "description": "Thumbnail image for an image or video.", - "refs": [ - "social.flockfeeds.lexical.imageobject", - "social.flockfeeds.lexical.itemlist" - ] - }, - "thumbnailUrl": { - "type": "string", - "description": "A thumbnail image relevant to the Thing.", - "format": "uri" - }, - "timeRequired": { - "type": "union", - "description": "Approximate or typical time it usually takes to work with or through the content of this work for the typical or target audience.", - "refs": [ - "social.flockfeeds.lexical.duration", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translationOfWork": { - "type": "union", - "description": "The work that this work has been translated from. E.g. 物种起源 is a translationOf “On the Origin of Species”.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "translator": { - "type": "union", - "description": "Organization or person who adapts a creative work to different languages, regional differences and technical requirements of a target market, or that translates during some event.", - "refs": [ - "social.flockfeeds.lexical.person", - "social.flockfeeds.lexical.organization", - "social.flockfeeds.lexical.itemlist" - ] - }, - "typicalAgeRange": { - "type": "string", - "description": "The typical expected age range, e.g. '7-9', '11-'." - }, - "url": { - "type": "string", - "description": "URL of the item.", - "format": "uri" - }, - "usageInfo": { - "type": "union", - "description": "The schema.org [[usageInfo]] property indicates further information about a [[CreativeWork]]. This property is applicable both to works that are freely available and to those that require payment or other transactions. It can reference additional information, e.g. community expectations on preferred linking and citation conventions, as well as purchasing details. For something that can be commercially licensed, usageInfo can provide detailed, resource-specific information about licensing options.\n\nThis property can be used alongside the license property which indicates license(s) applicable to some piece of content. The usageInfo property can provide information about other licensing options, e.g. acquiring commercial usage rights for an image that is also available under non-commercial creative commons licenses.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "version": { - "type": "string", - "description": "The version of the CreativeWork embodied by a specified resource." - }, - "video": { - "type": "union", - "description": "An embedded video object.", - "refs": [ - "social.flockfeeds.lexical.videoobject", - "social.flockfeeds.lexical.clip", - "social.flockfeeds.lexical.itemlist" - ] - }, - "wordCount": { - "type": "integer", - "description": "The number of words in the text of the CreativeWork such as an Article, Book, etc." - }, - "workExample": { - "type": "union", - "description": "Example/instance/realization/derivation of the concept of this creative work. E.g. the paperback edition, first edition, or e-book.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - }, - "workTranslation": { - "type": "union", - "description": "A work that is a translation of the content of this work. E.g. 西遊記 has an English workTranslation “Journey to the West”, a German workTranslation “Monkeys Pilgerfahrt” and a Vietnamese translation Tây du ký bình khảo.", - "refs": [ - "social.flockfeeds.lexical.creativework", - "social.flockfeeds.lexical.itemlist" - ] - } - } - } - } - } -} \ No newline at end of file diff --git a/crates/jacquard-api/lexicons/tech_manos_twmirror_post.json b/crates/jacquard-api/lexicons/tech_manos_twmirror_post.json new file mode 100644 index 000000000..04f63ad5e --- /dev/null +++ b/crates/jacquard-api/lexicons/tech_manos_twmirror_post.json @@ -0,0 +1,47 @@ +{ + "lexicon": 1, + "id": "tech.manos.twmirror.post", + "defs": { + "TwitterId": { + "type": "string", + "minLength": 1, + "maxLength": 20 + }, + "main": { + "type": "record", + "description": "Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref.", + "key": "tid", + "record": { + "type": "object", + "required": [ + "tweetId", + "twUserId", + "bskyPost", + "createdAt" + ], + "properties": { + "bskyPost": { + "type": "ref", + "description": "strongRef to mirrored post on Bluesky.", + "ref": "com.atproto.repo.strongRef#strongRef" + }, + "createdAt": { + "type": "string", + "description": "Tweet timestamp (regardless of backdating setting).", + "format": "datetime" + }, + "twUserId": { + "type": "ref", + "description": "ID of the mirrored Twitter user.", + "ref": "#TwitterId" + }, + "tweetId": { + "type": "ref", + "description": "ID of mirrored tweet.", + "ref": "#TwitterId" + } + } + } + } + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/app_bsky/actor.rs b/crates/jacquard-api/src/app_bsky/actor.rs index 0c69f98a1..2e09d9ba1 100644 --- a/crates/jacquard-api/src/app_bsky/actor.rs +++ b/crates/jacquard-api/src/app_bsky/actor.rs @@ -2124,16 +2124,6 @@ fn lexicon_doc_app_bsky_actor_defs() -> ::jacquard_lexicon::lexicon::LexiconDoc< properties: { #[allow(unused_mut)] let mut map = ::std::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "prioritizeFollowedUsers", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }), - ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("sort"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { @@ -7111,9 +7101,6 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for StatusView<'a> { )] #[serde(rename_all = "camelCase")] pub struct ThreadViewPref<'a> { - /// Show followed users at the top of all replies. - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub prioritize_followed_users: std::option::Option, /// Sorting mode for threads. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs index 3fc1d1fd2..691dc9b6e 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_other_v2.rs @@ -18,9 +18,6 @@ pub struct GetPostThreadOtherV2<'a> { #[serde(borrow)] pub anchor: jacquard_common::types::string::AtUri<'a>, - /// (default: false) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub prioritize_followed_users: std::option::Option, } pub mod get_post_thread_other_v2_state { @@ -60,7 +57,6 @@ pub struct GetPostThreadOtherV2Builder<'a, S: get_post_thread_other_v2_state::St _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -80,7 +76,7 @@ impl<'a> GetPostThreadOtherV2Builder<'a, get_post_thread_other_v2_state::Empty> pub fn new() -> Self { GetPostThreadOtherV2Builder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None), + __unsafe_private_named: (None,), _phantom: ::core::marker::PhantomData, } } @@ -105,19 +101,6 @@ where } } -impl<'a, S: get_post_thread_other_v2_state::State> GetPostThreadOtherV2Builder<'a, S> { - /// Set the `prioritizeFollowedUsers` field (optional) - pub fn prioritize_followed_users(mut self, value: impl Into>) -> Self { - self.__unsafe_private_named.1 = value.into(); - self - } - /// Set the `prioritizeFollowedUsers` field to an Option value (optional) - pub fn maybe_prioritize_followed_users(mut self, value: Option) -> Self { - self.__unsafe_private_named.1 = value; - self - } -} - impl<'a, S> GetPostThreadOtherV2Builder<'a, S> where S: get_post_thread_other_v2_state::State, @@ -127,7 +110,6 @@ where pub fn build(self) -> GetPostThreadOtherV2<'a> { GetPostThreadOtherV2 { anchor: self.__unsafe_private_named.0.unwrap(), - prioritize_followed_users: self.__unsafe_private_named.1, } } } @@ -422,16 +404,6 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadOtherV2() -> ::jacquard_lexicon:: known_values: None, }), ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "prioritizeFollowedUsers", - ), - ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }), - ); map }, }), diff --git a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs index e554a0662..25e75df2c 100644 --- a/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs +++ b/crates/jacquard-api/src/app_bsky/unspecced/get_post_thread_v2.rs @@ -27,9 +27,6 @@ pub struct GetPostThreadV2<'a> { ///(default: 10, min: 0, max: 100) #[serde(skip_serializing_if = "std::option::Option::is_none")] pub branching_factor: std::option::Option, - /// (default: false) - #[serde(skip_serializing_if = "std::option::Option::is_none")] - pub prioritize_followed_users: std::option::Option, ///(default: "oldest") #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] @@ -76,7 +73,6 @@ pub struct GetPostThreadV2Builder<'a, S: get_post_thread_v2_state::State> { ::core::option::Option>, ::core::option::Option, ::core::option::Option, - ::core::option::Option, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -94,7 +90,7 @@ impl<'a> GetPostThreadV2Builder<'a, get_post_thread_v2_state::Empty> { pub fn new() -> Self { GetPostThreadV2Builder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None, None), + __unsafe_private_named: (None, None, None, None, None), _phantom: ::core::marker::PhantomData, } } @@ -158,31 +154,18 @@ impl<'a, S: get_post_thread_v2_state::State> GetPostThreadV2Builder<'a, S> { } } -impl<'a, S: get_post_thread_v2_state::State> GetPostThreadV2Builder<'a, S> { - /// Set the `prioritizeFollowedUsers` field (optional) - pub fn prioritize_followed_users(mut self, value: impl Into>) -> Self { - self.__unsafe_private_named.4 = value.into(); - self - } - /// Set the `prioritizeFollowedUsers` field to an Option value (optional) - pub fn maybe_prioritize_followed_users(mut self, value: Option) -> Self { - self.__unsafe_private_named.4 = value; - self - } -} - impl<'a, S: get_post_thread_v2_state::State> GetPostThreadV2Builder<'a, S> { /// Set the `sort` field (optional) pub fn sort( mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.5 = value.into(); + self.__unsafe_private_named.4 = value.into(); self } /// Set the `sort` field to an Option value (optional) pub fn maybe_sort(mut self, value: Option>) -> Self { - self.__unsafe_private_named.5 = value; + self.__unsafe_private_named.4 = value; self } } @@ -199,8 +182,7 @@ where anchor: self.__unsafe_private_named.1.unwrap(), below: self.__unsafe_private_named.2, branching_factor: self.__unsafe_private_named.3, - prioritize_followed_users: self.__unsafe_private_named.4, - sort: self.__unsafe_private_named.5, + sort: self.__unsafe_private_named.4, } } } @@ -553,16 +535,6 @@ fn lexicon_doc_app_bsky_unspecced_getPostThreadV2() -> ::jacquard_lexicon::lexic r#const: None, }), ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "prioritizeFollowedUsers", - ), - ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { - description: None, - default: None, - r#const: None, - }), - ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("sort"), ::jacquard_lexicon::lexicon::LexXrpcParametersProperty::String(::jacquard_lexicon::lexicon::LexString { diff --git a/crates/jacquard-api/src/blog_pckt.rs b/crates/jacquard-api/src/blog_pckt.rs index 9f176d770..b5b856e4d 100644 --- a/crates/jacquard-api/src/blog_pckt.rs +++ b/crates/jacquard-api/src/blog_pckt.rs @@ -3,7 +3,10 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. +pub mod block; pub mod blog; +pub mod document; +pub mod mark; pub mod post; pub mod publication; pub mod theme; \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block.rs b/crates/jacquard-api/src/blog_pckt/block.rs new file mode 100644 index 000000000..d59175f73 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block.rs @@ -0,0 +1,17 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod blockquote; +pub mod bluesky_embed; +pub mod bullet_list; +pub mod code_block; +pub mod heading; +pub mod image; +pub mod list_item; +pub mod ordered_list; +pub mod paragraph; +pub mod task_item; +pub mod task_list; +pub mod text; \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/blockquote.rs b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs new file mode 100644 index 000000000..e2e019fe8 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/blockquote.rs @@ -0,0 +1,194 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.blockquote +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Blockquote<'a> { + /// Array of paragraph content + #[serde(borrow)] + pub content: Vec>, +} + +pub mod blockquote_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct BlockquoteBuilder<'a, S: blockquote_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Blockquote<'a> { + /// Create a new builder for this type + pub fn new() -> BlockquoteBuilder<'a, blockquote_state::Empty> { + BlockquoteBuilder::new() + } +} + +impl<'a> BlockquoteBuilder<'a, blockquote_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BlockquoteBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BlockquoteBuilder<'a, S> +where + S: blockquote_state::State, + S::Content: blockquote_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> BlockquoteBuilder<'a, blockquote_state::SetContent> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + BlockquoteBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BlockquoteBuilder<'a, S> +where + S: blockquote_state::State, + S::Content: blockquote_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Blockquote<'a> { + Blockquote { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Blockquote<'a> { + Blockquote { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_blockquote() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.blockquote"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of paragraph content", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.paragraph") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Blockquote<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.blockquote" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_blockquote() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs b/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs new file mode 100644 index 000000000..b53dfc872 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/bluesky_embed.rs @@ -0,0 +1,414 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.blueskyEmbed +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Embed attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct EmbedAttrs<'a> { + /// Pre-rendered HTML content of the embedded post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub html: Option>, + /// URL of the Bluesky post to embed + #[serde(borrow)] + pub url: jacquard_common::types::string::Uri<'a>, +} + +pub mod embed_attrs_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Url; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Url = Unset; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Url = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `url` field + pub struct url(()); + } +} + +/// Builder for constructing an instance of this type +pub struct EmbedAttrsBuilder<'a, S: embed_attrs_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> EmbedAttrs<'a> { + /// Create a new builder for this type + pub fn new() -> EmbedAttrsBuilder<'a, embed_attrs_state::Empty> { + EmbedAttrsBuilder::new() + } +} + +impl<'a> EmbedAttrsBuilder<'a, embed_attrs_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + EmbedAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: embed_attrs_state::State> EmbedAttrsBuilder<'a, S> { + /// Set the `html` field (optional) + pub fn html( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `html` field to an Option value (optional) + pub fn maybe_html(mut self, value: Option>) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S> EmbedAttrsBuilder<'a, S> +where + S: embed_attrs_state::State, + S::Url: embed_attrs_state::IsUnset, +{ + /// Set the `url` field (required) + pub fn url( + mut self, + value: impl Into>, + ) -> EmbedAttrsBuilder<'a, embed_attrs_state::SetUrl> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + EmbedAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> EmbedAttrsBuilder<'a, S> +where + S: embed_attrs_state::State, + S::Url: embed_attrs_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> EmbedAttrs<'a> { + EmbedAttrs { + html: self.__unsafe_private_named.0, + url: self.__unsafe_private_named.1.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> EmbedAttrs<'a> { + EmbedAttrs { + html: self.__unsafe_private_named.0, + url: self.__unsafe_private_named.1.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_blueskyEmbed() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.blueskyEmbed"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("embedAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Embed attributes"), + ), + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("url")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("html"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Pre-rendered HTML content of the embedded post", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "URL of the Bluesky post to embed", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Uri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#embedAttrs"), + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EmbedAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.blueskyEmbed" + } + fn def_name() -> &'static str { + "embedAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_blueskyEmbed() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.html { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "html", + ), + max: 50000usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BlueskyEmbed<'a> { + /// Embed attributes + #[serde(borrow)] + pub attrs: crate::blog_pckt::block::bluesky_embed::EmbedAttrs<'a>, +} + +pub mod bluesky_embed_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Attrs; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Attrs = Unset; + } + ///State transition - sets the `attrs` field to Set + pub struct SetAttrs(PhantomData S>); + impl sealed::Sealed for SetAttrs {} + impl State for SetAttrs { + type Attrs = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `attrs` field + pub struct attrs(()); + } +} + +/// Builder for constructing an instance of this type +pub struct BlueskyEmbedBuilder<'a, S: bluesky_embed_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> BlueskyEmbed<'a> { + /// Create a new builder for this type + pub fn new() -> BlueskyEmbedBuilder<'a, bluesky_embed_state::Empty> { + BlueskyEmbedBuilder::new() + } +} + +impl<'a> BlueskyEmbedBuilder<'a, bluesky_embed_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BlueskyEmbedBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BlueskyEmbedBuilder<'a, S> +where + S: bluesky_embed_state::State, + S::Attrs: bluesky_embed_state::IsUnset, +{ + /// Set the `attrs` field (required) + pub fn attrs( + mut self, + value: impl Into>, + ) -> BlueskyEmbedBuilder<'a, bluesky_embed_state::SetAttrs> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + BlueskyEmbedBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BlueskyEmbedBuilder<'a, S> +where + S: bluesky_embed_state::State, + S::Attrs: bluesky_embed_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> BlueskyEmbed<'a> { + BlueskyEmbed { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> BlueskyEmbed<'a> { + BlueskyEmbed { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BlueskyEmbed<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.blueskyEmbed" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_blueskyEmbed() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs b/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs new file mode 100644 index 000000000..51ed11ed8 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/bullet_list.rs @@ -0,0 +1,191 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.bulletList +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BulletList<'a> { + /// Array of list items + #[serde(borrow)] + pub content: Vec>, +} + +pub mod bullet_list_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct BulletListBuilder<'a, S: bullet_list_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> BulletList<'a> { + /// Create a new builder for this type + pub fn new() -> BulletListBuilder<'a, bullet_list_state::Empty> { + BulletListBuilder::new() + } +} + +impl<'a> BulletListBuilder<'a, bullet_list_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BulletListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BulletListBuilder<'a, S> +where + S: bullet_list_state::State, + S::Content: bullet_list_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> BulletListBuilder<'a, bullet_list_state::SetContent> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + BulletListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BulletListBuilder<'a, S> +where + S: bullet_list_state::State, + S::Content: bullet_list_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> BulletList<'a> { + BulletList { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> BulletList<'a> { + BulletList { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_bulletList() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.bulletList"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static("Array of list items"), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "blog.pckt.block.listItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BulletList<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.bulletList" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_bulletList() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/code_block.rs b/crates/jacquard-api/src/blog_pckt/block/code_block.rs new file mode 100644 index 000000000..8c0c9d5d3 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/code_block.rs @@ -0,0 +1,186 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.codeBlock +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Code block attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct CodeBlockAttrs<'a> { + /// Programming language for syntax highlighting (e.g., 'javascript', 'python', 'php') + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub language: std::option::Option>, +} + +fn lexicon_doc_blog_pckt_block_codeBlock() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.codeBlock"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("codeBlockAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Code block attributes"), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("language"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Programming language for syntax highlighting (e.g., 'javascript', 'python', 'php')", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#codeBlockAttrs", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of text nodes containing the code", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "blog.pckt.block.text", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CodeBlockAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.codeBlock" + } + fn def_name() -> &'static str { + "codeBlockAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_codeBlock() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.language { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "language", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct CodeBlock<'a> { + /// Code block attributes + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attrs: std::option::Option< + crate::blog_pckt::block::code_block::CodeBlockAttrs<'a>, + >, + /// Array of text nodes containing the code + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content: std::option::Option>>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CodeBlock<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.codeBlock" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_codeBlock() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/heading.rs b/crates/jacquard-api/src/blog_pckt/block/heading.rs new file mode 100644 index 000000000..862aa07af --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/heading.rs @@ -0,0 +1,433 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.heading +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Heading attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct HeadingAttrs<'a> { + /// Heading level from 1 (most important) to 6 (least important) + pub level: i64, +} + +pub mod heading_attrs_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Level; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Level = Unset; + } + ///State transition - sets the `level` field to Set + pub struct SetLevel(PhantomData S>); + impl sealed::Sealed for SetLevel {} + impl State for SetLevel { + type Level = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `level` field + pub struct level(()); + } +} + +/// Builder for constructing an instance of this type +pub struct HeadingAttrsBuilder<'a, S: heading_attrs_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option,), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> HeadingAttrs<'a> { + /// Create a new builder for this type + pub fn new() -> HeadingAttrsBuilder<'a, heading_attrs_state::Empty> { + HeadingAttrsBuilder::new() + } +} + +impl<'a> HeadingAttrsBuilder<'a, heading_attrs_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + HeadingAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> HeadingAttrsBuilder<'a, S> +where + S: heading_attrs_state::State, + S::Level: heading_attrs_state::IsUnset, +{ + /// Set the `level` field (required) + pub fn level( + mut self, + value: impl Into, + ) -> HeadingAttrsBuilder<'a, heading_attrs_state::SetLevel> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + HeadingAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> HeadingAttrsBuilder<'a, S> +where + S: heading_attrs_state::State, + S::Level: heading_attrs_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> HeadingAttrs<'a> { + HeadingAttrs { + level: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> HeadingAttrs<'a> { + HeadingAttrs { + level: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_heading() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.heading"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("headingAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Heading attributes"), + ), + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("level")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("level"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: Some(6i64), + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#headingAttrs", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Inline content of the heading (text with optional formatting)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.text"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.hardBreak") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for HeadingAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.heading" + } + fn def_name() -> &'static str { + "headingAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_heading() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.level; + if *value > 6i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Maximum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "level", + ), + max: 6i64, + actual: *value, + }); + } + } + { + let value = &self.level; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "level", + ), + min: 1i64, + actual: *value, + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Heading<'a> { + /// Heading attributes + #[serde(borrow)] + pub attrs: crate::blog_pckt::block::heading::HeadingAttrs<'a>, + /// Inline content of the heading (text with optional formatting) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content: Option>>, +} + +pub mod heading_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Attrs; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Attrs = Unset; + } + ///State transition - sets the `attrs` field to Set + pub struct SetAttrs(PhantomData S>); + impl sealed::Sealed for SetAttrs {} + impl State for SetAttrs { + type Attrs = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `attrs` field + pub struct attrs(()); + } +} + +/// Builder for constructing an instance of this type +pub struct HeadingBuilder<'a, S: heading_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Heading<'a> { + /// Create a new builder for this type + pub fn new() -> HeadingBuilder<'a, heading_state::Empty> { + HeadingBuilder::new() + } +} + +impl<'a> HeadingBuilder<'a, heading_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + HeadingBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> HeadingBuilder<'a, S> +where + S: heading_state::State, + S::Attrs: heading_state::IsUnset, +{ + /// Set the `attrs` field (required) + pub fn attrs( + mut self, + value: impl Into>, + ) -> HeadingBuilder<'a, heading_state::SetAttrs> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + HeadingBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: heading_state::State> HeadingBuilder<'a, S> { + /// Set the `content` field (optional) + pub fn content( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `content` field to an Option value (optional) + pub fn maybe_content(mut self, value: Option>>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> HeadingBuilder<'a, S> +where + S: heading_state::State, + S::Attrs: heading_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Heading<'a> { + Heading { + attrs: self.__unsafe_private_named.0.unwrap(), + content: self.__unsafe_private_named.1, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Heading<'a> { + Heading { + attrs: self.__unsafe_private_named.0.unwrap(), + content: self.__unsafe_private_named.1, + extra_data: Some(extra_data), + } + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum HeadingContentItem<'a> { + #[serde(rename = "blog.pckt.block.text")] + Text(Box>), +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Heading<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.heading" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_heading() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/image.rs b/crates/jacquard-api/src/blog_pckt/block/image.rs new file mode 100644 index 000000000..0d6e5a45b --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/image.rs @@ -0,0 +1,664 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.image +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Image aspect ratio represented as width and height dimensions +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct AspectRatio<'a> { + /// Height component of aspect ratio + pub height: i64, + /// Width component of aspect ratio + pub width: i64, +} + +pub mod aspect_ratio_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Width; + type Height; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Width = Unset; + type Height = Unset; + } + ///State transition - sets the `width` field to Set + pub struct SetWidth(PhantomData S>); + impl sealed::Sealed for SetWidth {} + impl State for SetWidth { + type Width = Set; + type Height = S::Height; + } + ///State transition - sets the `height` field to Set + pub struct SetHeight(PhantomData S>); + impl sealed::Sealed for SetHeight {} + impl State for SetHeight { + type Width = S::Width; + type Height = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `width` field + pub struct width(()); + ///Marker type for the `height` field + pub struct height(()); + } +} + +/// Builder for constructing an instance of this type +pub struct AspectRatioBuilder<'a, S: aspect_ratio_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option, ::core::option::Option), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> AspectRatio<'a> { + /// Create a new builder for this type + pub fn new() -> AspectRatioBuilder<'a, aspect_ratio_state::Empty> { + AspectRatioBuilder::new() + } +} + +impl<'a> AspectRatioBuilder<'a, aspect_ratio_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + AspectRatioBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> AspectRatioBuilder<'a, S> +where + S: aspect_ratio_state::State, + S::Height: aspect_ratio_state::IsUnset, +{ + /// Set the `height` field (required) + pub fn height( + mut self, + value: impl Into, + ) -> AspectRatioBuilder<'a, aspect_ratio_state::SetHeight> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + AspectRatioBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> AspectRatioBuilder<'a, S> +where + S: aspect_ratio_state::State, + S::Width: aspect_ratio_state::IsUnset, +{ + /// Set the `width` field (required) + pub fn width( + mut self, + value: impl Into, + ) -> AspectRatioBuilder<'a, aspect_ratio_state::SetWidth> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + AspectRatioBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> AspectRatioBuilder<'a, S> +where + S: aspect_ratio_state::State, + S::Width: aspect_ratio_state::IsSet, + S::Height: aspect_ratio_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> AspectRatio<'a> { + AspectRatio { + height: self.__unsafe_private_named.0.unwrap(), + width: self.__unsafe_private_named.1.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> AspectRatio<'a> { + AspectRatio { + height: self.__unsafe_private_named.0.unwrap(), + width: self.__unsafe_private_named.1.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_image() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.image"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("aspectRatio"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Image aspect ratio represented as width and height dimensions", + ), + ), + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_common::smol_str::SmolStr::new_static("height") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("height"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("width"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("imageAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Image attributes"), + ), + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("src")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("align"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Horizontal alignment of the image within its container", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("alt"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Alternative text description for accessibility and screen readers", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(1000usize), + min_graphemes: None, + max_graphemes: Some(300usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "aspectRatio", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#aspectRatio"), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("blob"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("src"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Image source URL or blob reference (blob:CID format for AT Protocol blobs)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Optional image title displayed on hover", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(500usize), + min_graphemes: None, + max_graphemes: Some(200usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#imageAttrs"), + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AspectRatio<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.image" + } + fn def_name() -> &'static str { + "aspectRatio" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_image() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.height; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "height", + ), + min: 1i64, + actual: *value, + }); + } + } + { + let value = &self.width; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "width", + ), + min: 1i64, + actual: *value, + }); + } + } + Ok(()) + } +} + +/// Image attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ImageAttrs<'a> { + /// Horizontal alignment of the image within its container + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub align: std::option::Option>, + /// Alternative text description for accessibility and screen readers + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub alt: std::option::Option>, + /// Image aspect ratio for proper layout before loading + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub aspect_ratio: std::option::Option< + crate::blog_pckt::block::image::AspectRatio<'a>, + >, + /// AT Protocol blob reference (10MB max). Used when image is uploaded to PDS. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub blob: std::option::Option>, + /// Image source URL or blob reference (blob:CID format for AT Protocol blobs) + #[serde(borrow)] + pub src: jacquard_common::CowStr<'a>, + /// Optional image title displayed on hover + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ImageAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.image" + } + fn def_name() -> &'static str { + "imageAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_image() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.alt { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 1000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "alt", + ), + max: 1000usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.alt { + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 300usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "alt", + ), + max: 300usize, + actual: count, + }); + } + } + } + { + let value = &self.src; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 2000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "src", + ), + max: 2000usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.title { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "title", + ), + max: 500usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.title { + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 200usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "title", + ), + max: 200usize, + actual: count, + }); + } + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Image<'a> { + /// Image attributes + #[serde(borrow)] + pub attrs: crate::blog_pckt::block::image::ImageAttrs<'a>, +} + +pub mod image_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Attrs; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Attrs = Unset; + } + ///State transition - sets the `attrs` field to Set + pub struct SetAttrs(PhantomData S>); + impl sealed::Sealed for SetAttrs {} + impl State for SetAttrs { + type Attrs = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `attrs` field + pub struct attrs(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ImageBuilder<'a, S: image_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Image<'a> { + /// Create a new builder for this type + pub fn new() -> ImageBuilder<'a, image_state::Empty> { + ImageBuilder::new() + } +} + +impl<'a> ImageBuilder<'a, image_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ImageBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImageBuilder<'a, S> +where + S: image_state::State, + S::Attrs: image_state::IsUnset, +{ + /// Set the `attrs` field (required) + pub fn attrs( + mut self, + value: impl Into>, + ) -> ImageBuilder<'a, image_state::SetAttrs> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ImageBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ImageBuilder<'a, S> +where + S: image_state::State, + S::Attrs: image_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Image<'a> { + Image { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Image<'a> { + Image { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Image<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.image" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_image() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/list_item.rs b/crates/jacquard-api/src/blog_pckt/block/list_item.rs new file mode 100644 index 000000000..ca372f72a --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/list_item.rs @@ -0,0 +1,215 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.listItem +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ListItem<'a> { + /// Array of block content (paragraphs or nested lists) + #[serde(borrow)] + pub content: Vec>, +} + +pub mod list_item_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ListItemBuilder<'a, S: list_item_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option>>,), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ListItem<'a> { + /// Create a new builder for this type + pub fn new() -> ListItemBuilder<'a, list_item_state::Empty> { + ListItemBuilder::new() + } +} + +impl<'a> ListItemBuilder<'a, list_item_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ListItemBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ListItemBuilder<'a, S> +where + S: list_item_state::State, + S::Content: list_item_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> ListItemBuilder<'a, list_item_state::SetContent> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ListItemBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ListItemBuilder<'a, S> +where + S: list_item_state::State, + S::Content: list_item_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ListItem<'a> { + ListItem { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ListItem<'a> { + ListItem { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ListItemContentItem<'a> { + #[serde(rename = "blog.pckt.block.paragraph")] + Paragraph(Box>), + #[serde(rename = "blog.pckt.block.bulletList")] + BulletList(Box>), + #[serde(rename = "blog.pckt.block.orderedList")] + OrderedList(Box>), +} + +fn lexicon_doc_blog_pckt_block_listItem() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.listItem"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of block content (paragraphs or nested lists)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.paragraph"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.bulletList"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.orderedList") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ListItem<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.listItem" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_listItem() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs b/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs new file mode 100644 index 000000000..22441403d --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/ordered_list.rs @@ -0,0 +1,303 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.orderedList +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct OrderedList<'a> { + /// Optional attributes for the ordered list + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub attrs: Option>, + /// Array of list items + #[serde(borrow)] + pub content: Vec>, +} + +pub mod ordered_list_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct OrderedListBuilder<'a, S: ordered_list_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option< + crate::blog_pckt::block::ordered_list::OrderedListAttrs<'a>, + >, + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> OrderedList<'a> { + /// Create a new builder for this type + pub fn new() -> OrderedListBuilder<'a, ordered_list_state::Empty> { + OrderedListBuilder::new() + } +} + +impl<'a> OrderedListBuilder<'a, ordered_list_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + OrderedListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: ordered_list_state::State> OrderedListBuilder<'a, S> { + /// Set the `attrs` field (optional) + pub fn attrs( + mut self, + value: impl Into< + Option>, + >, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `attrs` field to an Option value (optional) + pub fn maybe_attrs( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S> OrderedListBuilder<'a, S> +where + S: ordered_list_state::State, + S::Content: ordered_list_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> OrderedListBuilder<'a, ordered_list_state::SetContent> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + OrderedListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> OrderedListBuilder<'a, S> +where + S: ordered_list_state::State, + S::Content: ordered_list_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> OrderedList<'a> { + OrderedList { + attrs: self.__unsafe_private_named.0, + content: self.__unsafe_private_named.1.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> OrderedList<'a> { + OrderedList { + attrs: self.__unsafe_private_named.0, + content: self.__unsafe_private_named.1.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_orderedList() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.orderedList"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#orderedListAttrs", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static("Array of list items"), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "blog.pckt.block.listItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("orderedListAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Ordered list attributes"), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("start"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for OrderedList<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.orderedList" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_orderedList() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Ordered list attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct OrderedListAttrs<'a> { + /// Starting number for the ordered list + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub start: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for OrderedListAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.orderedList" + } + fn def_name() -> &'static str { + "orderedListAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_orderedList() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.start { + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "start", + ), + min: 1i64, + actual: *value, + }); + } + } + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/paragraph.rs b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs new file mode 100644 index 000000000..998051343 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/paragraph.rs @@ -0,0 +1,107 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.paragraph +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Paragraph<'a> { + /// Array of inline content nodes (text and hard breaks) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub content: std::option::Option>>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ParagraphContentItem<'a> { + #[serde(rename = "blog.pckt.block.text")] + Text(Box>), +} + +fn lexicon_doc_blog_pckt_block_paragraph() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.paragraph"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of inline content nodes (text and hard breaks)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.text"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.hardBreak") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Paragraph<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.paragraph" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_paragraph() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/task_item.rs b/crates/jacquard-api/src/blog_pckt/block/task_item.rs new file mode 100644 index 000000000..a60c1d103 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/task_item.rs @@ -0,0 +1,406 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.taskItem +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TaskItem<'a> { + /// Task item attributes + #[serde(borrow)] + pub attrs: crate::blog_pckt::block::task_item::TaskItemAttrs<'a>, + /// Array of paragraph content + #[serde(borrow)] + pub content: Vec>, +} + +pub mod task_item_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Attrs; + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Attrs = Unset; + type Content = Unset; + } + ///State transition - sets the `attrs` field to Set + pub struct SetAttrs(PhantomData S>); + impl sealed::Sealed for SetAttrs {} + impl State for SetAttrs { + type Attrs = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Attrs = S::Attrs; + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `attrs` field + pub struct attrs(()); + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct TaskItemBuilder<'a, S: task_item_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TaskItem<'a> { + /// Create a new builder for this type + pub fn new() -> TaskItemBuilder<'a, task_item_state::Empty> { + TaskItemBuilder::new() + } +} + +impl<'a> TaskItemBuilder<'a, task_item_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TaskItemBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskItemBuilder<'a, S> +where + S: task_item_state::State, + S::Attrs: task_item_state::IsUnset, +{ + /// Set the `attrs` field (required) + pub fn attrs( + mut self, + value: impl Into>, + ) -> TaskItemBuilder<'a, task_item_state::SetAttrs> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + TaskItemBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskItemBuilder<'a, S> +where + S: task_item_state::State, + S::Content: task_item_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> TaskItemBuilder<'a, task_item_state::SetContent> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + TaskItemBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskItemBuilder<'a, S> +where + S: task_item_state::State, + S::Attrs: task_item_state::IsSet, + S::Content: task_item_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> TaskItem<'a> { + TaskItem { + attrs: self.__unsafe_private_named.0.unwrap(), + content: self.__unsafe_private_named.1.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TaskItem<'a> { + TaskItem { + attrs: self.__unsafe_private_named.0.unwrap(), + content: self.__unsafe_private_named.1.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_taskItem() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.taskItem"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_common::smol_str::SmolStr::new_static("content") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#taskItemAttrs", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Array of paragraph content", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.paragraph") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("taskItemAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Task item attributes"), + ), + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("checked")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("checked"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaskItem<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.taskItem" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_taskItem() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Task item attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TaskItemAttrs<'a> { + /// Whether the task is checked or unchecked + pub checked: bool, +} + +pub mod task_item_attrs_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Checked; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Checked = Unset; + } + ///State transition - sets the `checked` field to Set + pub struct SetChecked(PhantomData S>); + impl sealed::Sealed for SetChecked {} + impl State for SetChecked { + type Checked = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `checked` field + pub struct checked(()); + } +} + +/// Builder for constructing an instance of this type +pub struct TaskItemAttrsBuilder<'a, S: task_item_attrs_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: (::core::option::Option,), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TaskItemAttrs<'a> { + /// Create a new builder for this type + pub fn new() -> TaskItemAttrsBuilder<'a, task_item_attrs_state::Empty> { + TaskItemAttrsBuilder::new() + } +} + +impl<'a> TaskItemAttrsBuilder<'a, task_item_attrs_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TaskItemAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskItemAttrsBuilder<'a, S> +where + S: task_item_attrs_state::State, + S::Checked: task_item_attrs_state::IsUnset, +{ + /// Set the `checked` field (required) + pub fn checked( + mut self, + value: impl Into, + ) -> TaskItemAttrsBuilder<'a, task_item_attrs_state::SetChecked> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + TaskItemAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskItemAttrsBuilder<'a, S> +where + S: task_item_attrs_state::State, + S::Checked: task_item_attrs_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> TaskItemAttrs<'a> { + TaskItemAttrs { + checked: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TaskItemAttrs<'a> { + TaskItemAttrs { + checked: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaskItemAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.taskItem" + } + fn def_name() -> &'static str { + "taskItemAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_taskItem() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/task_list.rs b/crates/jacquard-api/src/blog_pckt/block/task_list.rs new file mode 100644 index 000000000..662917723 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/task_list.rs @@ -0,0 +1,191 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.taskList +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct TaskList<'a> { + /// Array of task items + #[serde(borrow)] + pub content: Vec>, +} + +pub mod task_list_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Content = Unset; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct TaskListBuilder<'a, S: task_list_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> TaskList<'a> { + /// Create a new builder for this type + pub fn new() -> TaskListBuilder<'a, task_list_state::Empty> { + TaskListBuilder::new() + } +} + +impl<'a> TaskListBuilder<'a, task_list_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + TaskListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskListBuilder<'a, S> +where + S: task_list_state::State, + S::Content: task_list_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>>, + ) -> TaskListBuilder<'a, task_list_state::SetContent> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + TaskListBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> TaskListBuilder<'a, S> +where + S: task_list_state::State, + S::Content: task_list_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> TaskList<'a> { + TaskList { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> TaskList<'a> { + TaskList { + content: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_block_taskList() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.taskList"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("content")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static("Array of task items"), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "blog.pckt.block.taskItem", + ), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for TaskList<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.taskList" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_taskList() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/block/text.rs b/crates/jacquard-api/src/blog_pckt/block/text.rs new file mode 100644 index 000000000..2626b388f --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/block/text.rs @@ -0,0 +1,167 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.block.text +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct Text<'a> { + /// Optional array of formatting marks applied to this text (bold, italic, links, etc.) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub marks: std::option::Option>>, + /// The actual text content + #[serde(borrow)] + pub text: jacquard_common::CowStr<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum TextMarksItem<'a> { + #[serde(rename = "blog.pckt.mark.link")] + Link(Box>), +} + +fn lexicon_doc_blog_pckt_block_text() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.block.text"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("text")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("marks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Optional array of formatting marks applied to this text (bold, italic, links, etc.)", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.mark.bold"), + ::jacquard_common::CowStr::new_static("blog.pckt.mark.italic"), + ::jacquard_common::CowStr::new_static("blog.pckt.mark.underline"), + ::jacquard_common::CowStr::new_static("blog.pckt.mark.strike"), + ::jacquard_common::CowStr::new_static("blog.pckt.mark.code"), + ::jacquard_common::CowStr::new_static("blog.pckt.mark.link") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "The actual text content", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10000usize), + min_graphemes: None, + max_graphemes: Some(5000usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Text<'a> { + fn nsid() -> &'static str { + "blog.pckt.block.text" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_block_text() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.text; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 10000usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.text; + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 5000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "text", + ), + max: 5000usize, + actual: count, + }); + } + } + } + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/document.rs b/crates/jacquard-api/src/blog_pckt/document.rs new file mode 100644 index 000000000..781013976 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/document.rs @@ -0,0 +1,847 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.document +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Document<'a> { + /// Structured content blocks composing the document body + #[serde(borrow)] + pub blocks: Vec>, + /// Reference to the parent publication (blog) this document belongs to + #[serde(borrow)] + pub blog: crate::com_atproto::repo::strong_ref::StrongRef<'a>, + /// Plain text representation of the document content for search and preview + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub body_plain: Option>, + /// Optional cover/featured image (10MB max) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cover: Option>, + /// Blob references for images used within the document content + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub images: Option>>, + /// Timestamp when the document was first published + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub published_at: Option, + /// Optional tags for categorization and discovery + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tags: Option>>, + /// Document title/headline + #[serde(borrow)] + pub title: jacquard_common::CowStr<'a>, + /// Timestamp when the document was last modified + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub updated_at: Option, + /// Canonical URL where this document is published + #[serde(borrow)] + pub url: jacquard_common::types::string::Uri<'a>, +} + +pub mod document_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Title; + type Blocks; + type Url; + type Blog; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Title = Unset; + type Blocks = Unset; + type Url = Unset; + type Blog = Unset; + } + ///State transition - sets the `title` field to Set + pub struct SetTitle(PhantomData S>); + impl sealed::Sealed for SetTitle {} + impl State for SetTitle { + type Title = Set; + type Blocks = S::Blocks; + type Url = S::Url; + type Blog = S::Blog; + } + ///State transition - sets the `blocks` field to Set + pub struct SetBlocks(PhantomData S>); + impl sealed::Sealed for SetBlocks {} + impl State for SetBlocks { + type Title = S::Title; + type Blocks = Set; + type Url = S::Url; + type Blog = S::Blog; + } + ///State transition - sets the `url` field to Set + pub struct SetUrl(PhantomData S>); + impl sealed::Sealed for SetUrl {} + impl State for SetUrl { + type Title = S::Title; + type Blocks = S::Blocks; + type Url = Set; + type Blog = S::Blog; + } + ///State transition - sets the `blog` field to Set + pub struct SetBlog(PhantomData S>); + impl sealed::Sealed for SetBlog {} + impl State for SetBlog { + type Title = S::Title; + type Blocks = S::Blocks; + type Url = S::Url; + type Blog = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `title` field + pub struct title(()); + ///Marker type for the `blocks` field + pub struct blocks(()); + ///Marker type for the `url` field + pub struct url(()); + ///Marker type for the `blog` field + pub struct blog(()); + } +} + +/// Builder for constructing an instance of this type +pub struct DocumentBuilder<'a, S: document_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>>, + ::core::option::Option, + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Document<'a> { + /// Create a new builder for this type + pub fn new() -> DocumentBuilder<'a, document_state::Empty> { + DocumentBuilder::new() + } +} + +impl<'a> DocumentBuilder<'a, document_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + DocumentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> DocumentBuilder<'a, S> +where + S: document_state::State, + S::Blocks: document_state::IsUnset, +{ + /// Set the `blocks` field (required) + pub fn blocks( + mut self, + value: impl Into>>, + ) -> DocumentBuilder<'a, document_state::SetBlocks> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + DocumentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> DocumentBuilder<'a, S> +where + S: document_state::State, + S::Blog: document_state::IsUnset, +{ + /// Set the `blog` field (required) + pub fn blog( + mut self, + value: impl Into>, + ) -> DocumentBuilder<'a, document_state::SetBlog> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + DocumentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `bodyPlain` field (optional) + pub fn body_plain( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `bodyPlain` field to an Option value (optional) + pub fn maybe_body_plain( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `cover` field (optional) + pub fn cover( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `cover` field to an Option value (optional) + pub fn maybe_cover( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `images` field (optional) + pub fn images( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `images` field to an Option value (optional) + pub fn maybe_images( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `publishedAt` field (optional) + pub fn published_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `publishedAt` field to an Option value (optional) + pub fn maybe_published_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `tags` field (optional) + pub fn tags( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.6 = value.into(); + self + } + /// Set the `tags` field to an Option value (optional) + pub fn maybe_tags( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.6 = value; + self + } +} + +impl<'a, S> DocumentBuilder<'a, S> +where + S: document_state::State, + S::Title: document_state::IsUnset, +{ + /// Set the `title` field (required) + pub fn title( + mut self, + value: impl Into>, + ) -> DocumentBuilder<'a, document_state::SetTitle> { + self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); + DocumentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: document_state::State> DocumentBuilder<'a, S> { + /// Set the `updatedAt` field (optional) + pub fn updated_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `updatedAt` field to an Option value (optional) + pub fn maybe_updated_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + +impl<'a, S> DocumentBuilder<'a, S> +where + S: document_state::State, + S::Url: document_state::IsUnset, +{ + /// Set the `url` field (required) + pub fn url( + mut self, + value: impl Into>, + ) -> DocumentBuilder<'a, document_state::SetUrl> { + self.__unsafe_private_named.9 = ::core::option::Option::Some(value.into()); + DocumentBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> DocumentBuilder<'a, S> +where + S: document_state::State, + S::Title: document_state::IsSet, + S::Blocks: document_state::IsSet, + S::Url: document_state::IsSet, + S::Blog: document_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Document<'a> { + Document { + blocks: self.__unsafe_private_named.0.unwrap(), + blog: self.__unsafe_private_named.1.unwrap(), + body_plain: self.__unsafe_private_named.2, + cover: self.__unsafe_private_named.3, + images: self.__unsafe_private_named.4, + published_at: self.__unsafe_private_named.5, + tags: self.__unsafe_private_named.6, + title: self.__unsafe_private_named.7.unwrap(), + updated_at: self.__unsafe_private_named.8, + url: self.__unsafe_private_named.9.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Document<'a> { + Document { + blocks: self.__unsafe_private_named.0.unwrap(), + blog: self.__unsafe_private_named.1.unwrap(), + body_plain: self.__unsafe_private_named.2, + cover: self.__unsafe_private_named.3, + images: self.__unsafe_private_named.4, + published_at: self.__unsafe_private_named.5, + tags: self.__unsafe_private_named.6, + title: self.__unsafe_private_named.7.unwrap(), + updated_at: self.__unsafe_private_named.8, + url: self.__unsafe_private_named.9.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> Document<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, DocumentRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum DocumentBlocksItem<'a> { + #[serde(rename = "blog.pckt.block.paragraph")] + Paragraph(Box>), + #[serde(rename = "blog.pckt.block.heading")] + Heading(Box>), + #[serde(rename = "blog.pckt.block.image")] + Image(Box>), + #[serde(rename = "blog.pckt.block.bulletList")] + BulletList(Box>), + #[serde(rename = "blog.pckt.block.orderedList")] + OrderedList(Box>), + #[serde(rename = "blog.pckt.block.listItem")] + ListItem(Box>), + #[serde(rename = "blog.pckt.block.taskList")] + TaskList(Box>), + #[serde(rename = "blog.pckt.block.taskItem")] + TaskItem(Box>), + #[serde(rename = "blog.pckt.block.blockquote")] + Blockquote(Box>), + #[serde(rename = "blog.pckt.block.codeBlock")] + CodeBlock(Box>), + #[serde(rename = "blog.pckt.block.blueskyEmbed")] + BlueskyEmbed(Box>), +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct DocumentGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Document<'a>, +} + +impl From> for Document<'_> { + fn from(output: DocumentGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Document<'_> { + const NSID: &'static str = "blog.pckt.document"; + type Record = DocumentRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct DocumentRecord; +impl jacquard_common::xrpc::XrpcResp for DocumentRecord { + const NSID: &'static str = "blog.pckt.document"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = DocumentGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for DocumentRecord { + const NSID: &'static str = "blog.pckt.document"; + type Record = DocumentRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Document<'a> { + fn nsid() -> &'static str { + "blog.pckt.document" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_document() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.body_plain { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "body_plain", + ), + max: 100000usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.body_plain { + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 50000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "body_plain", + ), + max: 50000usize, + actual: count, + }); + } + } + } + if let Some(ref value) = self.tags { + #[allow(unused_comparisons)] + if value.len() > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "tags", + ), + max: 20usize, + actual: value.len(), + }); + } + } + { + let value = &self.title; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 1280usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "title", + ), + max: 1280usize, + actual: ::len(value.as_ref()), + }); + } + } + { + let value = &self.title; + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 128usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "title", + ), + max: 128usize, + actual: count, + }); + } + } + } + { + let value = &self.url; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 2000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "url", + ), + max: 2000usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +fn lexicon_doc_blog_pckt_document() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.document"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: None, + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_common::smol_str::SmolStr::new_static("blog") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("blocks"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Structured content blocks composing the document body", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("blog.pckt.block.paragraph"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.heading"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.image"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.bulletList"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.orderedList"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.listItem"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.taskList"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.taskItem"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.blockquote"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.codeBlock"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.horizontalRule"), + ::jacquard_common::CowStr::new_static("blog.pckt.block.blueskyEmbed") + ], + closed: Some(false), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("blog"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bodyPlain", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Plain text representation of the document content for search and preview", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100000usize), + min_graphemes: None, + max_graphemes: Some(50000usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("cover"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Blob references for images used within the document content", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "publishedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Timestamp when the document was first published", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Optional tags for categorization and discovery", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: Some(50usize), + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: Some(20usize), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Document title/headline", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(1280usize), + min_graphemes: None, + max_graphemes: Some(128usize), + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "updatedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Timestamp when the document was last modified", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("url"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Canonical URL where this document is published", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Uri, + ), + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/mark.rs b/crates/jacquard-api/src/blog_pckt/mark.rs new file mode 100644 index 000000000..9e49ee8d4 --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/mark.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod link; \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/mark/link.rs b/crates/jacquard-api/src/blog_pckt/mark/link.rs new file mode 100644 index 000000000..873b4339f --- /dev/null +++ b/crates/jacquard-api/src/blog_pckt/mark/link.rs @@ -0,0 +1,532 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: blog.pckt.mark.link +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Link attributes +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct LinkAttrs<'a> { + /// The URL destination of the hyperlink + #[serde(borrow)] + pub href: jacquard_common::types::string::Uri<'a>, + /// Defines the relationship between the current document and the linked resource (e.g., nofollow, noopener) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub rel: Option>, + /// Specifies where to open the linked document (e.g., _blank, _self) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub target: Option>, + /// Additional information about the link, typically shown as a tooltip on hover + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title: Option>, +} + +pub mod link_attrs_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Href; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Href = Unset; + } + ///State transition - sets the `href` field to Set + pub struct SetHref(PhantomData S>); + impl sealed::Sealed for SetHref {} + impl State for SetHref { + type Href = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `href` field + pub struct href(()); + } +} + +/// Builder for constructing an instance of this type +pub struct LinkAttrsBuilder<'a, S: link_attrs_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> LinkAttrs<'a> { + /// Create a new builder for this type + pub fn new() -> LinkAttrsBuilder<'a, link_attrs_state::Empty> { + LinkAttrsBuilder::new() + } +} + +impl<'a> LinkAttrsBuilder<'a, link_attrs_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + LinkAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> LinkAttrsBuilder<'a, S> +where + S: link_attrs_state::State, + S::Href: link_attrs_state::IsUnset, +{ + /// Set the `href` field (required) + pub fn href( + mut self, + value: impl Into>, + ) -> LinkAttrsBuilder<'a, link_attrs_state::SetHref> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + LinkAttrsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: link_attrs_state::State> LinkAttrsBuilder<'a, S> { + /// Set the `rel` field (optional) + pub fn rel(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `rel` field to an Option value (optional) + pub fn maybe_rel(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: link_attrs_state::State> LinkAttrsBuilder<'a, S> { + /// Set the `target` field (optional) + pub fn target( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `target` field to an Option value (optional) + pub fn maybe_target(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: link_attrs_state::State> LinkAttrsBuilder<'a, S> { + /// Set the `title` field (optional) + pub fn title( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `title` field to an Option value (optional) + pub fn maybe_title(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S> LinkAttrsBuilder<'a, S> +where + S: link_attrs_state::State, + S::Href: link_attrs_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> LinkAttrs<'a> { + LinkAttrs { + href: self.__unsafe_private_named.0.unwrap(), + rel: self.__unsafe_private_named.1, + target: self.__unsafe_private_named.2, + title: self.__unsafe_private_named.3, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> LinkAttrs<'a> { + LinkAttrs { + href: self.__unsafe_private_named.0.unwrap(), + rel: self.__unsafe_private_named.1, + target: self.__unsafe_private_named.2, + title: self.__unsafe_private_named.3, + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_blog_pckt_mark_link() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("blog.pckt.mark.link"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("linkAttrs"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Link attributes"), + ), + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("href")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("href"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "The URL destination of the hyperlink", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Uri, + ), + default: None, + min_length: None, + max_length: Some(2000usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("rel"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Defines the relationship between the current document and the linked resource (e.g., nofollow, noopener)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("target"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Specifies where to open the linked document (e.g., _blank, _self)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Additional information about the link, typically shown as a tooltip on hover", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(500usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("attrs")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("attrs"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#linkAttrs"), + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for LinkAttrs<'a> { + fn nsid() -> &'static str { + "blog.pckt.mark.link" + } + fn def_name() -> &'static str { + "linkAttrs" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_mark_link() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.href; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 2000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "href", + ), + max: 2000usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.rel { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "rel", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.target { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "target", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.title { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "title", + ), + max: 500usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Link<'a> { + /// Link attributes that define the hyperlink behavior and destination + #[serde(borrow)] + pub attrs: crate::blog_pckt::mark::link::LinkAttrs<'a>, +} + +pub mod link_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Attrs; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Attrs = Unset; + } + ///State transition - sets the `attrs` field to Set + pub struct SetAttrs(PhantomData S>); + impl sealed::Sealed for SetAttrs {} + impl State for SetAttrs { + type Attrs = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `attrs` field + pub struct attrs(()); + } +} + +/// Builder for constructing an instance of this type +pub struct LinkBuilder<'a, S: link_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Link<'a> { + /// Create a new builder for this type + pub fn new() -> LinkBuilder<'a, link_state::Empty> { + LinkBuilder::new() + } +} + +impl<'a> LinkBuilder<'a, link_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + LinkBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> LinkBuilder<'a, S> +where + S: link_state::State, + S::Attrs: link_state::IsUnset, +{ + /// Set the `attrs` field (required) + pub fn attrs( + mut self, + value: impl Into>, + ) -> LinkBuilder<'a, link_state::SetAttrs> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + LinkBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> LinkBuilder<'a, S> +where + S: link_state::State, + S::Attrs: link_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Link<'a> { + Link { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Link<'a> { + Link { + attrs: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Link<'a> { + fn nsid() -> &'static str { + "blog.pckt.mark.link" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_mark_link() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/blog_pckt/publication.rs b/crates/jacquard-api/src/blog_pckt/publication.rs index 4637d99ae..46cf3a76a 100644 --- a/crates/jacquard-api/src/blog_pckt/publication.rs +++ b/crates/jacquard-api/src/blog_pckt/publication.rs @@ -18,13 +18,13 @@ )] #[serde(rename_all = "camelCase")] pub struct Publication<'a> { - /// Base URL path for the publication ex https://blog.pckt.blog + /// Base URL path for the publication (e.g., https://blog.pckt.blog) #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub base_path: Option>, /// Timestamp when the publication was first created pub created_at: jacquard_common::types::string::Datetime, - /// Publication description + /// Publication description or tagline #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub description: Option>, @@ -394,6 +394,18 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Publication<'a> { fn validate( &self, ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.base_path { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 2000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "base_path", + ), + max: 2000usize, + actual: ::len(value.as_ref()), + }); + } + } if let Some(ref value) = self.description { #[allow(unused_comparisons)] if ::len(value.as_ref()) > 2000usize { @@ -406,6 +418,24 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Publication<'a> { }); } } + if let Some(ref value) = self.description { + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 500usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "description", + ), + max: 500usize, + actual: count, + }); + } + } + } if let Some(ref value) = self.extensions { #[allow(unused_comparisons)] if value.len() > 10usize { @@ -431,6 +461,25 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Publication<'a> { }); } } + { + let value = &self.name; + { + let count = ::unicode_segmentation::UnicodeSegmentation::graphemes( + value.as_ref(), + true, + ) + .count(); + if count > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxGraphemes { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "name", + ), + max: 100usize, + actual: count, + }); + } + } + } Ok(()) } } @@ -473,7 +522,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( - "Base URL path for the publication ex https://blog.pckt.blog", + "Base URL path for the publication (e.g., https://blog.pckt.blog)", ), ), format: Some( @@ -481,7 +530,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo ), default: None, min_length: None, - max_length: None, + max_length: Some(2000usize), min_graphemes: None, max_graphemes: None, r#enum: None, @@ -519,7 +568,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: Some( ::jacquard_common::CowStr::new_static( - "Publication description", + "Publication description or tagline", ), ), format: None, @@ -527,7 +576,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo min_length: None, max_length: Some(2000usize), min_graphemes: None, - max_graphemes: None, + max_graphemes: Some(500usize), r#enum: None, r#const: None, known_values: None, @@ -573,7 +622,7 @@ fn lexicon_doc_blog_pckt_publication() -> ::jacquard_lexicon::lexicon::LexiconDo min_length: None, max_length: Some(200usize), min_graphemes: None, - max_graphemes: None, + max_graphemes: Some(100usize), r#enum: None, r#const: None, known_values: None, diff --git a/crates/jacquard-api/src/blog_pckt/theme.rs b/crates/jacquard-api/src/blog_pckt/theme.rs index 8d4290ae3..e544602de 100644 --- a/crates/jacquard-api/src/blog_pckt/theme.rs +++ b/crates/jacquard-api/src/blog_pckt/theme.rs @@ -189,96 +189,6 @@ where } } -impl<'a> Theme<'a> { - pub fn uri( - uri: impl Into>, - ) -> Result< - jacquard_common::types::uri::RecordUri<'a, ThemeRecord>, - jacquard_common::types::uri::UriError, - > { - jacquard_common::types::uri::RecordUri::try_from_uri( - jacquard_common::types::string::AtUri::new_cow(uri.into())?, - ) - } -} - -/// Typed wrapper for GetRecord response with this collection's record type. -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(rename_all = "camelCase")] -pub struct ThemeGetRecordOutput<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub cid: std::option::Option>, - #[serde(borrow)] - pub uri: jacquard_common::types::string::AtUri<'a>, - #[serde(borrow)] - pub value: Theme<'a>, -} - -impl From> for Theme<'_> { - fn from(output: ThemeGetRecordOutput<'_>) -> Self { - use jacquard_common::IntoStatic; - output.value.into_static() - } -} - -impl jacquard_common::types::collection::Collection for Theme<'_> { - const NSID: &'static str = "blog.pckt.theme"; - type Record = ThemeRecord; -} - -/// Marker type for deserializing records from this collection. -#[derive(Debug, serde::Serialize, serde::Deserialize)] -pub struct ThemeRecord; -impl jacquard_common::xrpc::XrpcResp for ThemeRecord { - const NSID: &'static str = "blog.pckt.theme"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = ThemeGetRecordOutput<'de>; - type Err<'de> = jacquard_common::types::collection::RecordError<'de>; -} - -impl jacquard_common::types::collection::Collection for ThemeRecord { - const NSID: &'static str = "blog.pckt.theme"; - type Record = ThemeRecord; -} - -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Theme<'a> { - fn nsid() -> &'static str { - "blog.pckt.theme" - } - fn def_name() -> &'static str { - "main" - } - fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { - lexicon_doc_blog_pckt_theme() - } - fn validate( - &self, - ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { - if let Some(ref value) = self.font { - #[allow(unused_comparisons)] - if ::len(value.as_ref()) > 100usize { - return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field( - "font", - ), - max: 100usize, - actual: ::len(value.as_ref()), - }); - } - } - Ok(()) - } -} - fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { ::jacquard_lexicon::lexicon::LexiconDoc { lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, @@ -289,61 +199,57 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta let mut map = ::std::collections::BTreeMap::new(); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("main"), - ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: Some( ::jacquard_common::CowStr::new_static( "Theme configuration for a blog publication", ), ), - key: Some(::jacquard_common::CowStr::new_static("tid")), - record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { - description: None, - required: Some( - vec![ - ::jacquard_common::smol_str::SmolStr::new_static("light"), - ::jacquard_common::smol_str::SmolStr::new_static("dark") - ], - ), - nullable: None, - properties: { - #[allow(unused_mut)] - let mut map = ::std::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("dark"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static("#palette"), - }), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("font"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: Some( - ::jacquard_common::CowStr::new_static( - "Font family name (optional)", - ), + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("light"), + ::jacquard_common::smol_str::SmolStr::new_static("dark") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("dark"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#palette"), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("font"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Font family name (optional)", ), - format: None, - default: None, - min_length: None, - max_length: Some(100usize), - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), - ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("light"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static("#palette"), - }), - ); - map - }, - }), + ), + format: None, + default: None, + min_length: None, + max_length: Some(100usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("light"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#palette"), + }), + ); + map + }, }), ); map.insert( @@ -475,6 +381,35 @@ fn lexicon_doc_blog_pckt_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta } } +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Theme<'a> { + fn nsid() -> &'static str { + "blog.pckt.theme" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_blog_pckt_theme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.font { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 100usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "font", + ), + max: 100usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + /// Color palette with CSS hex values #[jacquard_derive::lexicon] #[derive( diff --git a/crates/jacquard-api/src/com_atproto/lexicon.rs b/crates/jacquard-api/src/com_atproto/lexicon.rs index afe0ab684..409f66bd1 100644 --- a/crates/jacquard-api/src/com_atproto/lexicon.rs +++ b/crates/jacquard-api/src/com_atproto/lexicon.rs @@ -3,4 +3,5 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. +pub mod resolve_lexicon; pub mod schema; \ No newline at end of file diff --git a/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs new file mode 100644 index 000000000..9174b357f --- /dev/null +++ b/crates/jacquard-api/src/com_atproto/lexicon/resolve_lexicon.rs @@ -0,0 +1,196 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: com.atproto.lexicon.resolveLexicon +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ResolveLexicon<'a> { + #[serde(borrow)] + pub nsid: jacquard_common::types::string::Nsid<'a>, +} + +pub mod resolve_lexicon_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Nsid; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Nsid = Unset; + } + ///State transition - sets the `nsid` field to Set + pub struct SetNsid(PhantomData S>); + impl sealed::Sealed for SetNsid {} + impl State for SetNsid { + type Nsid = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `nsid` field + pub struct nsid(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ResolveLexiconBuilder<'a, S: resolve_lexicon_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ResolveLexicon<'a> { + /// Create a new builder for this type + pub fn new() -> ResolveLexiconBuilder<'a, resolve_lexicon_state::Empty> { + ResolveLexiconBuilder::new() + } +} + +impl<'a> ResolveLexiconBuilder<'a, resolve_lexicon_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ResolveLexiconBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ResolveLexiconBuilder<'a, S> +where + S: resolve_lexicon_state::State, + S::Nsid: resolve_lexicon_state::IsUnset, +{ + /// Set the `nsid` field (required) + pub fn nsid( + mut self, + value: impl Into>, + ) -> ResolveLexiconBuilder<'a, resolve_lexicon_state::SetNsid> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ResolveLexiconBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ResolveLexiconBuilder<'a, S> +where + S: resolve_lexicon_state::State, + S::Nsid: resolve_lexicon_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ResolveLexicon<'a> { + ResolveLexicon { + nsid: self.__unsafe_private_named.0.unwrap(), + } + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ResolveLexiconOutput<'a> { + /// The CID of the lexicon schema record. + #[serde(borrow)] + pub cid: jacquard_common::types::string::Cid<'a>, + /// The resolved lexicon schema record. + #[serde(borrow)] + pub schema: crate::com_atproto::lexicon::schema::Schema<'a>, + /// The AT-URI of the lexicon schema record. + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + thiserror::Error, + miette::Diagnostic, + jacquard_derive::IntoStatic +)] +#[serde(tag = "error", content = "message")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ResolveLexiconError<'a> { + /// No lexicon was resolved for the NSID. + #[serde(rename = "LexiconNotFound")] + LexiconNotFound(std::option::Option), +} + +impl std::fmt::Display for ResolveLexiconError<'_> { + fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + match self { + Self::LexiconNotFound(msg) => { + write!(f, "LexiconNotFound")?; + if let Some(msg) = msg { + write!(f, ": {}", msg)?; + } + Ok(()) + } + Self::Unknown(err) => write!(f, "Unknown error: {:?}", err), + } + } +} + +/// Response type for +///com.atproto.lexicon.resolveLexicon +pub struct ResolveLexiconResponse; +impl jacquard_common::xrpc::XrpcResp for ResolveLexiconResponse { + const NSID: &'static str = "com.atproto.lexicon.resolveLexicon"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ResolveLexiconOutput<'de>; + type Err<'de> = ResolveLexiconError<'de>; +} + +impl<'a> jacquard_common::xrpc::XrpcRequest for ResolveLexicon<'a> { + const NSID: &'static str = "com.atproto.lexicon.resolveLexicon"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Response = ResolveLexiconResponse; +} + +/// Endpoint type for +///com.atproto.lexicon.resolveLexicon +pub struct ResolveLexiconRequest; +impl jacquard_common::xrpc::XrpcEndpoint for ResolveLexiconRequest { + const PATH: &'static str = "/xrpc/com.atproto.lexicon.resolveLexicon"; + const METHOD: jacquard_common::xrpc::XrpcMethod = jacquard_common::xrpc::XrpcMethod::Query; + type Request<'de> = ResolveLexicon<'de>; + type Response = ResolveLexiconResponse; +} \ No newline at end of file diff --git a/crates/jacquard-api/src/lib.rs b/crates/jacquard-api/src/lib.rs index e73f04a2e..207f3471c 100644 --- a/crates/jacquard-api/src/lib.rs +++ b/crates/jacquard-api/src/lib.rs @@ -52,6 +52,9 @@ pub mod com_atproto; #[cfg(feature = "com_bad_example")] pub mod com_bad_example; +#[cfg(feature = "com_crabdance")] +pub mod com_crabdance; + #[cfg(feature = "com_shinolabs")] pub mod com_shinolabs; @@ -88,6 +91,9 @@ pub mod fyi_unravel; #[cfg(feature = "garden_lexicon")] pub mod garden_lexicon; +#[cfg(feature = "lol_jbc")] +pub mod lol_jbc; + #[cfg(feature = "moe_karashiiro")] pub mod moe_karashiiro; @@ -109,6 +115,9 @@ pub mod net_bnewbold; #[cfg(feature = "net_mmatt")] pub mod net_mmatt; +#[cfg(feature = "net_wafrn")] +pub mod net_wafrn; + #[cfg(feature = "network_slices")] pub mod network_slices; @@ -142,9 +151,6 @@ pub mod sh_weaver; #[cfg(feature = "social_clippr")] pub mod social_clippr; -#[cfg(feature = "social_flockfeeds")] -pub mod social_flockfeeds; - #[cfg(feature = "social_grain")] pub mod social_grain; @@ -154,6 +160,9 @@ pub mod social_pmsky; #[cfg(feature = "social_psky")] pub mod social_psky; +#[cfg(feature = "tech_manos")] +pub mod tech_manos; + #[cfg(feature = "tools_ozone")] pub mod tools_ozone; diff --git a/crates/jacquard-api/src/lol_jbc.rs b/crates/jacquard-api/src/lol_jbc.rs new file mode 100644 index 000000000..72d5ac7f2 --- /dev/null +++ b/crates/jacquard-api/src/lol_jbc.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod feed; \ No newline at end of file diff --git a/crates/jacquard-api/src/lol_jbc/feed.rs b/crates/jacquard-api/src/lol_jbc/feed.rs new file mode 100644 index 000000000..5d0aa0a75 --- /dev/null +++ b/crates/jacquard-api/src/lol_jbc/feed.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod bite; \ No newline at end of file diff --git a/crates/jacquard-api/src/lol_jbc/feed/bite.rs b/crates/jacquard-api/src/lol_jbc/feed/bite.rs new file mode 100644 index 000000000..bd17c9c30 --- /dev/null +++ b/crates/jacquard-api/src/lol_jbc/feed/bite.rs @@ -0,0 +1,282 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: lol.jbc.feed.bite +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Record declaring a 'bite' of a piece of subject content. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Bite<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub created_at: Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject: Option>, +} + +pub mod bite_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct BiteBuilder<'a, S: bite_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Bite<'a> { + /// Create a new builder for this type + pub fn new() -> BiteBuilder<'a, bite_state::Empty> { + BiteBuilder::new() + } +} + +impl<'a> BiteBuilder<'a, bite_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BiteBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: bite_state::State> BiteBuilder<'a, S> { + /// Set the `createdAt` field (optional) + pub fn created_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `createdAt` field to an Option value (optional) + pub fn maybe_created_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: bite_state::State> BiteBuilder<'a, S> { + /// Set the `subject` field (optional) + pub fn subject( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `subject` field to an Option value (optional) + pub fn maybe_subject(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> BiteBuilder<'a, S> +where + S: bite_state::State, +{ + /// Build the final struct + pub fn build(self) -> Bite<'a> { + Bite { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Bite<'a> { + Bite { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Bite<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, BiteRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BiteGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Bite<'a>, +} + +impl From> for Bite<'_> { + fn from(output: BiteGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Bite<'_> { + const NSID: &'static str = "lol.jbc.feed.bite"; + type Record = BiteRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct BiteRecord; +impl jacquard_common::xrpc::XrpcResp for BiteRecord { + const NSID: &'static str = "lol.jbc.feed.bite"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = BiteGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for BiteRecord { + const NSID: &'static str = "lol.jbc.feed.bite"; + type Record = BiteRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bite<'a> { + fn nsid() -> &'static str { + "lol.jbc.feed.bite" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_lol_jbc_feed_bite() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +fn lexicon_doc_lol_jbc_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("lol.jbc.feed.bite"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "Record declaring a 'bite' of a piece of subject content.", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/net_anisota.rs b/crates/jacquard-api/src/net_anisota.rs index 4a669d96e..70136a244 100644 --- a/crates/jacquard-api/src/net_anisota.rs +++ b/crates/jacquard-api/src/net_anisota.rs @@ -5,4 +5,5 @@ pub mod beta; pub mod feed; -pub mod graph; \ No newline at end of file +pub mod graph; +pub mod settings; \ No newline at end of file diff --git a/crates/jacquard-api/src/net_anisota/settings.rs b/crates/jacquard-api/src/net_anisota/settings.rs new file mode 100644 index 000000000..cd3a935fc --- /dev/null +++ b/crates/jacquard-api/src/net_anisota/settings.rs @@ -0,0 +1,4442 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: net.anisota.settings +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Animation timing and speed settings for various UI animations +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct AnimationTiming<'a> { + /// Card advance exit to right and entrance back in from right (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub card_advance: std::option::Option>, + /// Card flip animation between front and back (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub card_flip: std::option::Option>, + /// Card stack animate in entrance from the top of screen (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub card_stack_entrance: std::option::Option>, + /// Staggered interactive corner element entrance animation (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corner_elements: std::option::Option>, + /// Card stack height expansion and shrinking when entering/exiting fullscreen (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fullscreen_transitions: std::option::Option>, + /// Modal entrance and exit animations (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub modals: std::option::Option>, + /// Master speed multiplier that affects all animations (stored as string, e.g. '1.0' = normal speed) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub overall: std::option::Option>, + /// Page transitions and navigation animations (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub page_transitions: std::option::Option>, + /// Thread train sliding, entering, and exiting animations (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub thread_transitions: std::option::Option>, + /// Control row and feed subtitle fade in/out animations (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ui_transitions: std::option::Option>, +} + +fn lexicon_doc_net_anisota_settings() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("net.anisota.settings"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("animationTiming"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Animation timing and speed settings for various UI animations", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cardAdvance", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Card advance exit to right and entrance back in from right (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("cardFlip"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Card flip animation between front and back (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cardStackEntrance", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Card stack animate in entrance from the top of screen (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cornerElements", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Staggered interactive corner element entrance animation (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fullscreenTransitions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Card stack height expansion and shrinking when entering/exiting fullscreen (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("modals"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Modal entrance and exit animations (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("overall"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Master speed multiplier that affects all animations (stored as string, e.g. '1.0' = normal speed)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pageTransitions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Page transitions and navigation animations (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "threadTransitions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Thread train sliding, entering, and exiting animations (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "uiTransitions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Control row and feed subtitle fade in/out animations (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "batchNotificationTypes", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("likes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("behaviorSettings"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "App behavior and functionality settings", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "animationTiming", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#animationTiming", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "anisotaOnlyMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "audioEnabled", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "batchNotificationTypes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#batchNotificationTypes", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "batchNotifications", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "combineRelationshipAndFollowerFilters", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "confirmDeletes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "confirmDraftSaves", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "defaultHomePage", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Default page to show on app load", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "defaultPostTarget", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Default publishing target for new posts", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "feedCacheLength", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterByFollowerRatio", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterNotificationTypes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#filterNotificationTypes", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterNotificationsByFollowers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterNotificationsByRelationship", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterRelationshipTypes", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#filterRelationshipTypes", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "forceChronologicalSort", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fullscreenBehavior", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Fullscreen behavior mode: fullscreen (show control row), immersive (hide all UI), or cycle (cycle through states)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hideInteractedPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hideNotificationCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hideReadPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "hideReposts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#hideReposts"), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "includeReplyEngagement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcuts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcuts", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "maxFollowerCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: None, + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "minFollowerCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Minimum follower count for notification filtering (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "minFollowerRatio", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Minimum follower ratio for filtering (stored as string)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "moderationSettings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#moderationSettings", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "postDrafts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "reverseFeedOrder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showRarityInHeader", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showThreadSuggestion", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "soundscape", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Selected background audio soundscape", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "statsVisibleSections", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#statsVisibleSections", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "textOnlyMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "trackReadPosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("controlSettings"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Control button visibility settings", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "accountList", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("back"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "commentButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyAuthorDID", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyPostLink", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "copyPostText", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("delete"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "engageButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "feedSwitcher", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("fetch"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("flip"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("forward"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "fullscreen", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "leafletPublications", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("list"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "multiEngageButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "multiRepostButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "positionButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("postList"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "quickAccess", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "relationshipButton", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("shuffle"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "textOnlyMode", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("cornerElements"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Corner element positioning settings", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bottomLeft", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Element to show in bottom left corner", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bottomRight", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Element to show in bottom right corner", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("topLeft"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Element to show in top left corner", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("topRight"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Element to show in top right corner", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterNotificationTypes", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("follows"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("likes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mentions"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("quotes"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("replies"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reposts"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "filterRelationshipTypes", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "followers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "following", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("mutuals"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "nonMutuals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("hideReposts"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("keyboardShortcuts"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Keyboard shortcut configuration", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("composer"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcutsComposer", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("global"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcutsGlobal", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("modals"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcutsModals", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "navigation", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcutsNavigation", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "postInteractions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#keyboardShortcutsPostInteractions", + ), + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcutsComposer", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post composer keyboard shortcuts", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("publish"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Publish post (e.g., ctrl+enter)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcutsGlobal", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Global navigation keyboard shortcuts", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "collection", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Navigate to collection", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("feed"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Navigate to feed"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "inventory", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Navigate to inventory", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Navigate to profile"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcutsModals", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static("Modal keyboard shortcuts"), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardHelp", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Show keyboard shortcuts help", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "notifications", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Open notifications"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "postComposer", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Open post composer"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("stats"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Open stats modal"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "touchMenu", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Open touch menu"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcutsNavigation", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Navigation keyboard shortcuts", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "arrowDown", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Scroll down or next item", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "arrowLeft", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Go back to previous card", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "arrowRight", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Advance to next card", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("arrowUp"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Scroll up or previous item", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("escape"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Exit fullscreen or close modals", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "keyboardShortcutsPostInteractions", + ), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Post interaction keyboard shortcuts", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("like"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Like current post"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("quote"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Quote current post"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("reply"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Reply to current post", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("repost"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Repost current post"), + ), + format: None, + default: None, + min_length: None, + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "User settings for the Anisota app, synchronized across devices via ATProto", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("literal:settings")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_common::smol_str::SmolStr::new_static("createdAt"), + ::jacquard_common::smol_str::SmolStr::new_static("updatedAt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "behaviorSettings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#behaviorSettings", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "controlOrder", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Order of control buttons", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "controlSettings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#controlSettings", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "When the settings record was first created", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Selected color theme", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "uiSettings", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#uiSettings"), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "updatedAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "When the settings were last updated", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("version"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { + description: None, + default: None, + minimum: Some(1i64), + maximum: None, + r#enum: None, + r#const: None, + }), + ); + map + }, + }), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("moderationSettings"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "Content moderation and filtering settings", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mutedAccountsHandling", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "How to handle posts from muted accounts", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "mutedContentHandling", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "How to handle posts containing muted words or phrases", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("statsVisibleSections"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("activity"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "engagement", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("progress"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("uiSettings"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "UI visibility and behavior settings", + ), + ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "cornerElements", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#cornerElements", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("fontSize"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Font size scale (0.8 = 80%, 1.0 = 100% default, 1.2 = 120%)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(10usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "postCardPrimarySlot", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Primary name slot for post cards", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "postCardSecondarySlot", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Secondary name slot for post cards", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "profileCardPrimarySlot", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Primary name slot for profile cards", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "profileCardSecondarySlot", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Secondary name slot for profile cards", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardAtSymbol", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardAvatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardDisplayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardFooter", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardHandle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCardHeader", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostCount", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showPostReadIndicator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileAtSymbol", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileBlocked", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileBlocking", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCancelled", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCancelling", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCardAvatar", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCardFooter", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCardHeader", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileCollections", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileDisplayName", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileFollowers", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileFollowing", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileHandle", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileLexicons", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileListed", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileListing", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileLists", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfilePosts", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfilePronouns", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileVerified", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileVerifying", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showProfileWebsite", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showRarityIndicator", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showTimestamp", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "showUsername", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Boolean(::jacquard_lexicon::lexicon::LexBoolean { + description: None, + default: None, + r#const: None, + }), + ); + map + }, + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for AnimationTiming<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "animationTiming" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.card_advance { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "card_advance", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.card_flip { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "card_flip", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.card_stack_entrance { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "card_stack_entrance", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.corner_elements { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "corner_elements", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.fullscreen_transitions { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "fullscreen_transitions", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.modals { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "modals", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.overall { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "overall", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.page_transitions { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "page_transitions", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.thread_transitions { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "thread_transitions", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.ui_transitions { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "ui_transitions", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct BatchNotificationTypes<'a> { + /// Batch follow notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub follows: std::option::Option, + /// Batch like notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub likes: std::option::Option, + /// Batch mention notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub mentions: std::option::Option, + /// Batch quote notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub quotes: std::option::Option, + /// Batch reply notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub replies: std::option::Option, + /// Batch repost notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub reposts: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BatchNotificationTypes<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "batchNotificationTypes" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// App behavior and functionality settings +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct BehaviorSettings<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub animation_timing: std::option::Option< + crate::net_anisota::settings::AnimationTiming<'a>, + >, + /// Show only Anisota posts in profiles instead of regular Bluesky posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub anisota_only_mode: std::option::Option, + /// Whether background audio/soundscapes are enabled by default + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub audio_enabled: std::option::Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub batch_notification_types: std::option::Option< + crate::net_anisota::settings::BatchNotificationTypes<'a>, + >, + /// Group similar notifications together + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub batch_notifications: std::option::Option, + /// When enabled, show notifications that match either relationship OR follower count filters + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub combine_relationship_and_follower_filters: std::option::Option, + /// Show confirmation before deleting + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub confirm_deletes: std::option::Option, + /// Show warning before saving drafts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub confirm_draft_saves: std::option::Option, + /// Default page to show on app load + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub default_home_page: std::option::Option>, + /// Default publishing target for new posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub default_post_target: std::option::Option>, + /// How long to cache feed position in minutes (30, 60, 360, 720, 1440, 10080) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub feed_cache_length: std::option::Option, + /// Filter by follower to following ratio + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub filter_by_follower_ratio: std::option::Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub filter_notification_types: std::option::Option< + crate::net_anisota::settings::FilterNotificationTypes<'a>, + >, + /// Filter notifications by follower count + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub filter_notifications_by_followers: std::option::Option, + /// Filter notifications based on relationship with the author + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub filter_notifications_by_relationship: std::option::Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub filter_relationship_types: std::option::Option< + crate::net_anisota::settings::FilterRelationshipTypes<'a>, + >, + /// Force chronological sorting of posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub force_chronological_sort: std::option::Option, + /// Fullscreen behavior mode: fullscreen (show control row), immersive (hide all UI), or cycle (cycle through states) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub fullscreen_behavior: std::option::Option>, + /// Hide posts that have been liked or reposted to focus on new content + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub hide_interacted_posts: std::option::Option, + /// Hide the exact notification count in the corner element, always showing 'notifications' instead + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub hide_notification_count: std::option::Option, + /// Hide posts that have been read + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub hide_read_posts: std::option::Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub hide_reposts: std::option::Option>, + /// Include engagement metrics from reply posts in stats calculations + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub include_reply_engagement: std::option::Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keyboard_shortcuts: std::option::Option< + crate::net_anisota::settings::KeyboardShortcuts<'a>, + >, + /// Maximum follower count for notification filtering + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub max_follower_count: std::option::Option, + /// Minimum follower count for notification filtering (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub min_follower_count: std::option::Option>, + /// Minimum follower ratio for filtering (stored as string) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub min_follower_ratio: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub moderation_settings: std::option::Option< + crate::net_anisota::settings::ModerationSettings<'a>, + >, + /// Enable post drafts feature + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub post_drafts: std::option::Option, + /// Show newest posts first + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub reverse_feed_order: std::option::Option, + /// Display rarity indicator and rate in the stats modal header + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_rarity_in_header: std::option::Option, + /// Show thread suggestion when typing beyond character limit in post composer + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_thread_suggestion: std::option::Option, + /// Selected background audio soundscape + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub soundscape: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub stats_visible_sections: std::option::Option< + crate::net_anisota::settings::StatsVisibleSections<'a>, + >, + /// Filter out posts with images and videos for distraction-free reading + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub text_only_mode: std::option::Option, + /// Track which posts have been read + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub track_read_posts: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for BehaviorSettings<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "behaviorSettings" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.feed_cache_length { + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "feed_cache_length", + ), + min: 1i64, + actual: *value, + }); + } + } + if let Some(ref value) = self.min_follower_count { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "min_follower_count", + ), + max: 20usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.min_follower_ratio { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 20usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "min_follower_ratio", + ), + max: 20usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Control button visibility settings +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ControlSettings<'a> { + /// Show account list button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub account_list: std::option::Option, + /// Show back button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub back: std::option::Option, + /// Show expandable comment button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub comment_button: std::option::Option, + /// Show copy author DID button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub copy_author_did: std::option::Option, + /// Show expandable copy button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub copy_button: std::option::Option, + /// Show copy post link button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub copy_post_link: std::option::Option, + /// Show copy post text button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub copy_post_text: std::option::Option, + /// Show delete button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub delete: std::option::Option, + /// Show expandable engage button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub engage_button: std::option::Option, + /// Show feed switcher button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub feed_switcher: std::option::Option, + /// Show fetch button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub fetch: std::option::Option, + /// Show flip button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub flip: std::option::Option, + /// Show forward button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub forward: std::option::Option, + /// Show fullscreen button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub fullscreen: std::option::Option, + /// Show leaflet publications button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub leaflet_publications: std::option::Option, + /// Show like button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub like: std::option::Option, + /// Show list button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub list: std::option::Option, + /// Show expandable multi-engage button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub multi_engage_button: std::option::Option, + /// Show expandable multi-repost button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub multi_repost_button: std::option::Option, + /// Show position button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub position_button: std::option::Option, + /// Show post list button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub post_list: std::option::Option, + /// Show quick access button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub quick_access: std::option::Option, + /// Show quote button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub quote: std::option::Option, + /// Show relationship button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub relationship_button: std::option::Option, + /// Show reply button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub reply: std::option::Option, + /// Show repost button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub repost: std::option::Option, + /// Show shuffle button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub shuffle: std::option::Option, + /// Show text only mode button + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub text_only_mode: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ControlSettings<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "controlSettings" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Corner element positioning settings +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct CornerElements<'a> { + /// Element to show in bottom left corner + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub bottom_left: std::option::Option>, + /// Element to show in bottom right corner + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub bottom_right: std::option::Option>, + /// Element to show in top left corner + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub top_left: std::option::Option>, + /// Element to show in top right corner + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub top_right: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CornerElements<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "cornerElements" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct FilterNotificationTypes<'a> { + /// Show follow notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub follows: std::option::Option, + /// Show like notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub likes: std::option::Option, + /// Show mention notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub mentions: std::option::Option, + /// Show quote notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub quotes: std::option::Option, + /// Show reply notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub replies: std::option::Option, + /// Show repost notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub reposts: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for FilterNotificationTypes<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "filterNotificationTypes" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct FilterRelationshipTypes<'a> { + /// Show notifications from followers + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub followers: std::option::Option, + /// Show notifications from accounts you follow + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub following: std::option::Option, + /// Show notifications from mutual connections + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub mutuals: std::option::Option, + /// Show notifications from followers you don't follow back + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub non_mutuals: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for FilterRelationshipTypes<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "filterRelationshipTypes" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct HideReposts<'a> { + /// Hide reposts in feed + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub feed: std::option::Option, + /// Hide reposts in profile + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub profile: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for HideReposts<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "hideReposts" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Keyboard shortcut configuration +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcuts<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub composer: std::option::Option< + crate::net_anisota::settings::KeyboardShortcutsComposer<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub global: std::option::Option< + crate::net_anisota::settings::KeyboardShortcutsGlobal<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub modals: std::option::Option< + crate::net_anisota::settings::KeyboardShortcutsModals<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub navigation: std::option::Option< + crate::net_anisota::settings::KeyboardShortcutsNavigation<'a>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub post_interactions: std::option::Option< + crate::net_anisota::settings::KeyboardShortcutsPostInteractions<'a>, + >, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for KeyboardShortcuts<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcuts" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Post composer keyboard shortcuts +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcutsComposer<'a> { + /// Publish post (e.g., ctrl+enter) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub publish: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for KeyboardShortcutsComposer<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcutsComposer" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.publish { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "publish", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Global navigation keyboard shortcuts +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcutsGlobal<'a> { + /// Navigate to collection + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub collection: std::option::Option>, + /// Navigate to feed + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub feed: std::option::Option>, + /// Navigate to inventory + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub inventory: std::option::Option>, + /// Navigate to profile + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub profile: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for KeyboardShortcutsGlobal<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcutsGlobal" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.collection { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "collection", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.feed { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "feed", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.inventory { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "inventory", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.profile { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "profile", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Modal keyboard shortcuts +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcutsModals<'a> { + /// Show keyboard shortcuts help + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub keyboard_help: std::option::Option>, + /// Open notifications + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub notifications: std::option::Option>, + /// Open post composer + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub post_composer: std::option::Option>, + /// Open stats modal + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub stats: std::option::Option>, + /// Open touch menu + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub touch_menu: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for KeyboardShortcutsModals<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcutsModals" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.keyboard_help { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "keyboard_help", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.notifications { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "notifications", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.post_composer { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "post_composer", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.stats { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "stats", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.touch_menu { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "touch_menu", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Navigation keyboard shortcuts +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcutsNavigation<'a> { + /// Scroll down or next item + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub arrow_down: std::option::Option>, + /// Go back to previous card + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub arrow_left: std::option::Option>, + /// Advance to next card + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub arrow_right: std::option::Option>, + /// Scroll up or previous item + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub arrow_up: std::option::Option>, + /// Exit fullscreen or close modals + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub escape: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for KeyboardShortcutsNavigation<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcutsNavigation" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.arrow_down { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "arrow_down", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.arrow_left { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "arrow_left", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.arrow_right { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "arrow_right", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.arrow_up { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "arrow_up", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.escape { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "escape", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// Post interaction keyboard shortcuts +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct KeyboardShortcutsPostInteractions<'a> { + /// Like current post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub like: std::option::Option>, + /// Quote current post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub quote: std::option::Option>, + /// Reply to current post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub reply: std::option::Option>, + /// Repost current post + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub repost: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema +for KeyboardShortcutsPostInteractions<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "keyboardShortcutsPostInteractions" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.like { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "like", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.quote { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "quote", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.reply { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "reply", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + if let Some(ref value) = self.repost { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "repost", + ), + max: 50usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} + +/// User settings for the Anisota app, synchronized across devices via ATProto +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Settings<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub behavior_settings: Option>, + /// Order of control buttons + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub control_order: Option>>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub control_settings: Option>, + /// When the settings record was first created + pub created_at: jacquard_common::types::string::Datetime, + /// Selected color theme + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub theme: Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub ui_settings: Option>, + /// When the settings were last updated + pub updated_at: jacquard_common::types::string::Datetime, + /// Settings schema version for backward compatibility + pub version: i64, +} + +pub mod settings_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Version; + type CreatedAt; + type UpdatedAt; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Version = Unset; + type CreatedAt = Unset; + type UpdatedAt = Unset; + } + ///State transition - sets the `version` field to Set + pub struct SetVersion(PhantomData S>); + impl sealed::Sealed for SetVersion {} + impl State for SetVersion { + type Version = Set; + type CreatedAt = S::CreatedAt; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type Version = S::Version; + type CreatedAt = Set; + type UpdatedAt = S::UpdatedAt; + } + ///State transition - sets the `updated_at` field to Set + pub struct SetUpdatedAt(PhantomData S>); + impl sealed::Sealed for SetUpdatedAt {} + impl State for SetUpdatedAt { + type Version = S::Version; + type CreatedAt = S::CreatedAt; + type UpdatedAt = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `version` field + pub struct version(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + ///Marker type for the `updated_at` field + pub struct updated_at(()); + } +} + +/// Builder for constructing an instance of this type +pub struct SettingsBuilder<'a, S: settings_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Settings<'a> { + /// Create a new builder for this type + pub fn new() -> SettingsBuilder<'a, settings_state::Empty> { + SettingsBuilder::new() + } +} + +impl<'a> SettingsBuilder<'a, settings_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + SettingsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: settings_state::State> SettingsBuilder<'a, S> { + /// Set the `behaviorSettings` field (optional) + pub fn behavior_settings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `behaviorSettings` field to an Option value (optional) + pub fn maybe_behavior_settings( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: settings_state::State> SettingsBuilder<'a, S> { + /// Set the `controlOrder` field (optional) + pub fn control_order( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `controlOrder` field to an Option value (optional) + pub fn maybe_control_order( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S: settings_state::State> SettingsBuilder<'a, S> { + /// Set the `controlSettings` field (optional) + pub fn control_settings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `controlSettings` field to an Option value (optional) + pub fn maybe_control_settings( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S> SettingsBuilder<'a, S> +where + S: settings_state::State, + S::CreatedAt: settings_state::IsUnset, +{ + /// Set the `createdAt` field (required) + pub fn created_at( + mut self, + value: impl Into, + ) -> SettingsBuilder<'a, settings_state::SetCreatedAt> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + SettingsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: settings_state::State> SettingsBuilder<'a, S> { + /// Set the `theme` field (optional) + pub fn theme( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `theme` field to an Option value (optional) + pub fn maybe_theme(mut self, value: Option>) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S: settings_state::State> SettingsBuilder<'a, S> { + /// Set the `uiSettings` field (optional) + pub fn ui_settings( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `uiSettings` field to an Option value (optional) + pub fn maybe_ui_settings( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + +impl<'a, S> SettingsBuilder<'a, S> +where + S: settings_state::State, + S::UpdatedAt: settings_state::IsUnset, +{ + /// Set the `updatedAt` field (required) + pub fn updated_at( + mut self, + value: impl Into, + ) -> SettingsBuilder<'a, settings_state::SetUpdatedAt> { + self.__unsafe_private_named.6 = ::core::option::Option::Some(value.into()); + SettingsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> SettingsBuilder<'a, S> +where + S: settings_state::State, + S::Version: settings_state::IsUnset, +{ + /// Set the `version` field (required) + pub fn version( + mut self, + value: impl Into, + ) -> SettingsBuilder<'a, settings_state::SetVersion> { + self.__unsafe_private_named.7 = ::core::option::Option::Some(value.into()); + SettingsBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> SettingsBuilder<'a, S> +where + S: settings_state::State, + S::Version: settings_state::IsSet, + S::CreatedAt: settings_state::IsSet, + S::UpdatedAt: settings_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Settings<'a> { + Settings { + behavior_settings: self.__unsafe_private_named.0, + control_order: self.__unsafe_private_named.1, + control_settings: self.__unsafe_private_named.2, + created_at: self.__unsafe_private_named.3.unwrap(), + theme: self.__unsafe_private_named.4, + ui_settings: self.__unsafe_private_named.5, + updated_at: self.__unsafe_private_named.6.unwrap(), + version: self.__unsafe_private_named.7.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Settings<'a> { + Settings { + behavior_settings: self.__unsafe_private_named.0, + control_order: self.__unsafe_private_named.1, + control_settings: self.__unsafe_private_named.2, + created_at: self.__unsafe_private_named.3.unwrap(), + theme: self.__unsafe_private_named.4, + ui_settings: self.__unsafe_private_named.5, + updated_at: self.__unsafe_private_named.6.unwrap(), + version: self.__unsafe_private_named.7.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> Settings<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, SettingsRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct SettingsGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Settings<'a>, +} + +impl From> for Settings<'_> { + fn from(output: SettingsGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Settings<'_> { + const NSID: &'static str = "net.anisota.settings"; + type Record = SettingsRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct SettingsRecord; +impl jacquard_common::xrpc::XrpcResp for SettingsRecord { + const NSID: &'static str = "net.anisota.settings"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = SettingsGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for SettingsRecord { + const NSID: &'static str = "net.anisota.settings"; + type Record = SettingsRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Settings<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.version; + if *value < 1i64 { + return Err(::jacquard_lexicon::validation::ConstraintError::Minimum { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "version", + ), + min: 1i64, + actual: *value, + }); + } + } + Ok(()) + } +} + +/// Content moderation and filtering settings +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ModerationSettings<'a> { + /// How to handle posts from muted accounts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub muted_accounts_handling: std::option::Option>, + /// How to handle posts containing muted words or phrases + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub muted_content_handling: std::option::Option>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ModerationSettings<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "moderationSettings" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct StatsVisibleSections<'a> { + /// Show activity section in stats overview + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub activity: std::option::Option, + /// Show engagement section in stats overview + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub engagement: std::option::Option, + /// Show progress section in stats overview + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub progress: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for StatsVisibleSections<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "statsVisibleSections" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// UI visibility and behavior settings +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct UiSettings<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub corner_elements: std::option::Option< + crate::net_anisota::settings::CornerElements<'a>, + >, + /// Font size scale (0.8 = 80%, 1.0 = 100% default, 1.2 = 120%) + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub font_size: std::option::Option>, + /// Primary name slot for post cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub post_card_primary_slot: std::option::Option>, + /// Secondary name slot for post cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub post_card_secondary_slot: std::option::Option>, + /// Primary name slot for profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub profile_card_primary_slot: std::option::Option>, + /// Secondary name slot for profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub profile_card_secondary_slot: std::option::Option>, + /// Show Bluesky icon in post card headers + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_at_symbol: std::option::Option, + /// Show avatar image in post card footer + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_avatar: std::option::Option, + /// Show display name on post cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_display_name: std::option::Option, + /// Show the entire post card footer section + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_footer: std::option::Option, + /// Show handle/username on post cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_handle: std::option::Option, + /// Show the entire post card header section + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_card_header: std::option::Option, + /// Show post number indicator + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_count: std::option::Option, + /// Show indicator for posts that have been read + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_post_read_indicator: std::option::Option, + /// Show Bluesky icon on profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_at_symbol: std::option::Option, + /// Show blocked count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_blocked: std::option::Option, + /// Show blocking count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_blocking: std::option::Option, + /// Show cancelled count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_cancelled: std::option::Option, + /// Show cancelling count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_cancelling: std::option::Option, + /// Show avatar image in profile card footer + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_card_avatar: std::option::Option, + /// Show the entire profile card footer section + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_card_footer: std::option::Option, + /// Show the entire profile card header section + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_card_header: std::option::Option, + /// Show collection count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_collections: std::option::Option, + /// Show display name on profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_display_name: std::option::Option, + /// Show follower count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_followers: std::option::Option, + /// Show following count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_following: std::option::Option, + /// Show handle/username on profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_handle: std::option::Option, + /// Show lexicon count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_lexicons: std::option::Option, + /// Show listed count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_listed: std::option::Option, + /// Show listing count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_listing: std::option::Option, + /// Show lists count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_lists: std::option::Option, + /// Show post count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_posts: std::option::Option, + /// Show pronouns on profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_pronouns: std::option::Option, + /// Show verified count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_verified: std::option::Option, + /// Show verifying count on profiles + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_verifying: std::option::Option, + /// Show website link on profile cards + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_profile_website: std::option::Option, + /// Show rarity indicator based on post engagement + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_rarity_indicator: std::option::Option, + /// Show when the post was created + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_timestamp: std::option::Option, + /// Show author username on posts + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub show_username: std::option::Option, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for UiSettings<'a> { + fn nsid() -> &'static str { + "net.anisota.settings" + } + fn def_name() -> &'static str { + "uiSettings" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_anisota_settings() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + if let Some(ref value) = self.font_size { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 10usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "font_size", + ), + max: 10usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/net_wafrn.rs b/crates/jacquard-api/src/net_wafrn.rs new file mode 100644 index 000000000..72d5ac7f2 --- /dev/null +++ b/crates/jacquard-api/src/net_wafrn.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod feed; \ No newline at end of file diff --git a/crates/jacquard-api/src/net_wafrn/feed.rs b/crates/jacquard-api/src/net_wafrn/feed.rs new file mode 100644 index 000000000..2152d750c --- /dev/null +++ b/crates/jacquard-api/src/net_wafrn/feed.rs @@ -0,0 +1,7 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod bite; +pub mod explode; \ No newline at end of file diff --git a/crates/jacquard-api/src/net_wafrn/feed/bite.rs b/crates/jacquard-api/src/net_wafrn/feed/bite.rs new file mode 100644 index 000000000..a337fa94a --- /dev/null +++ b/crates/jacquard-api/src/net_wafrn/feed/bite.rs @@ -0,0 +1,284 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: net.wafrn.feed.bite +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Record declaring a 'bite' of a piece of subject content. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Bite<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub created_at: Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject: Option>, +} + +pub mod bite_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct BiteBuilder<'a, S: bite_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Bite<'a> { + /// Create a new builder for this type + pub fn new() -> BiteBuilder<'a, bite_state::Empty> { + BiteBuilder::new() + } +} + +impl<'a> BiteBuilder<'a, bite_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + BiteBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: bite_state::State> BiteBuilder<'a, S> { + /// Set the `createdAt` field (optional) + pub fn created_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `createdAt` field to an Option value (optional) + pub fn maybe_created_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: bite_state::State> BiteBuilder<'a, S> { + /// Set the `subject` field (optional) + pub fn subject( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `subject` field to an Option value (optional) + pub fn maybe_subject(mut self, value: Option>) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> BiteBuilder<'a, S> +where + S: bite_state::State, +{ + /// Build the final struct + pub fn build(self) -> Bite<'a> { + Bite { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Bite<'a> { + Bite { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Bite<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, BiteRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct BiteGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Bite<'a>, +} + +impl From> for Bite<'_> { + fn from(output: BiteGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Bite<'_> { + const NSID: &'static str = "net.wafrn.feed.bite"; + type Record = BiteRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct BiteRecord; +impl jacquard_common::xrpc::XrpcResp for BiteRecord { + const NSID: &'static str = "net.wafrn.feed.bite"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = BiteGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for BiteRecord { + const NSID: &'static str = "net.wafrn.feed.bite"; + type Record = BiteRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Bite<'a> { + fn nsid() -> &'static str { + "net.wafrn.feed.bite" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_wafrn_feed_bite() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +fn lexicon_doc_net_wafrn_feed_bite() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("net.wafrn.feed.bite"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "Record declaring a 'bite' of a piece of subject content.", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/net_wafrn/feed/explode.rs b/crates/jacquard-api/src/net_wafrn/feed/explode.rs new file mode 100644 index 000000000..aeb3d460a --- /dev/null +++ b/crates/jacquard-api/src/net_wafrn/feed/explode.rs @@ -0,0 +1,281 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: net.wafrn.feed.explode +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// Record declaring a 'explode' of a piece of subject content. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Explode<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub created_at: Option, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub subject: Option>, +} + +pub mod explode_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed {} + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty {} + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members {} +} + +/// Builder for constructing an instance of this type +pub struct ExplodeBuilder<'a, S: explode_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Explode<'a> { + /// Create a new builder for this type + pub fn new() -> ExplodeBuilder<'a, explode_state::Empty> { + ExplodeBuilder::new() + } +} + +impl<'a> ExplodeBuilder<'a, explode_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ExplodeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: explode_state::State> ExplodeBuilder<'a, S> { + /// Set the `createdAt` field (optional) + pub fn created_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `createdAt` field to an Option value (optional) + pub fn maybe_created_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S: explode_state::State> ExplodeBuilder<'a, S> { + /// Set the `subject` field (optional) + pub fn subject( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `subject` field to an Option value (optional) + pub fn maybe_subject( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self + } +} + +impl<'a, S> ExplodeBuilder<'a, S> +where + S: explode_state::State, +{ + /// Build the final struct + pub fn build(self) -> Explode<'a> { + Explode { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Explode<'a> { + Explode { + created_at: self.__unsafe_private_named.0, + subject: self.__unsafe_private_named.1, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Explode<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ExplodeRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ExplodeGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Explode<'a>, +} + +impl From> for Explode<'_> { + fn from(output: ExplodeGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Explode<'_> { + const NSID: &'static str = "net.wafrn.feed.explode"; + type Record = ExplodeRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ExplodeRecord; +impl jacquard_common::xrpc::XrpcResp for ExplodeRecord { + const NSID: &'static str = "net.wafrn.feed.explode"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ExplodeGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ExplodeRecord { + const NSID: &'static str = "net.wafrn.feed.explode"; + type Record = ExplodeRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Explode<'a> { + fn nsid() -> &'static str { + "net.wafrn.feed.explode" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_net_wafrn_feed_explode() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +fn lexicon_doc_net_wafrn_feed_explode() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("net.wafrn.feed.explode"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "Record declaring a 'explode' of a piece of subject content.", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subject"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_tangled/actor/profile.rs b/crates/jacquard-api/src/sh_tangled/actor/profile.rs index 7183c0077..097f2a69b 100644 --- a/crates/jacquard-api/src/sh_tangled/actor/profile.rs +++ b/crates/jacquard-api/src/sh_tangled/actor/profile.rs @@ -35,6 +35,10 @@ pub struct Profile<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub pinned_repositories: Option>>, + /// Preferred gender pronouns. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub pronouns: Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub stats: Option>>, @@ -81,6 +85,7 @@ pub struct ProfileBuilder<'a, S: profile_state::State> { ::core::option::Option>>, ::core::option::Option>, ::core::option::Option>>, + ::core::option::Option>, ::core::option::Option>>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -98,7 +103,7 @@ impl<'a> ProfileBuilder<'a, profile_state::Empty> { pub fn new() -> Self { ProfileBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None, None), + __unsafe_private_named: (None, None, None, None, None, None, None), _phantom: ::core::marker::PhantomData, } } @@ -196,13 +201,29 @@ impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { } } +impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { + /// Set the `pronouns` field (optional) + pub fn pronouns( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.5 = value.into(); + self + } + /// Set the `pronouns` field to an Option value (optional) + pub fn maybe_pronouns(mut self, value: Option>) -> Self { + self.__unsafe_private_named.5 = value; + self + } +} + impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { /// Set the `stats` field (optional) pub fn stats( mut self, value: impl Into>>>, ) -> Self { - self.__unsafe_private_named.5 = value.into(); + self.__unsafe_private_named.6 = value.into(); self } /// Set the `stats` field to an Option value (optional) @@ -210,7 +231,7 @@ impl<'a, S: profile_state::State> ProfileBuilder<'a, S> { mut self, value: Option>>, ) -> Self { - self.__unsafe_private_named.5 = value; + self.__unsafe_private_named.6 = value; self } } @@ -228,7 +249,8 @@ where links: self.__unsafe_private_named.2, location: self.__unsafe_private_named.3, pinned_repositories: self.__unsafe_private_named.4, - stats: self.__unsafe_private_named.5, + pronouns: self.__unsafe_private_named.5, + stats: self.__unsafe_private_named.6, extra_data: Default::default(), } } @@ -246,7 +268,8 @@ where links: self.__unsafe_private_named.2, location: self.__unsafe_private_named.3, pinned_repositories: self.__unsafe_private_named.4, - stats: self.__unsafe_private_named.5, + pronouns: self.__unsafe_private_named.5, + stats: self.__unsafe_private_named.6, extra_data: Some(extra_data), } } @@ -434,6 +457,18 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Profile<'a> { }); } } + if let Some(ref value) = self.pronouns { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 40usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "pronouns", + ), + max: 40usize, + actual: ::len(value.as_ref()), + }); + } + } if let Some(ref value) = self.stats { #[allow(unused_comparisons)] if value.len() > 2usize { @@ -596,6 +631,27 @@ fn lexicon_doc_sh_tangled_actor_profile() -> ::jacquard_lexicon::lexicon::Lexico max_length: Some(6usize), }), ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "pronouns", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Preferred gender pronouns.", + ), + ), + format: None, + default: None, + min_length: None, + max_length: Some(40usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("stats"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { diff --git a/crates/jacquard-api/src/sh_tangled/repo.rs b/crates/jacquard-api/src/sh_tangled/repo.rs index 268ca8425..fc54fcbc8 100644 --- a/crates/jacquard-api/src/sh_tangled/repo.rs +++ b/crates/jacquard-api/src/sh_tangled/repo.rs @@ -67,6 +67,14 @@ pub struct Repo<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub spindle: Option>, + /// Topics related to the repo + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub topics: Option>>, + /// Any URI related to the repo + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub website: Option>, } pub mod repo_state { @@ -138,6 +146,8 @@ pub struct RepoBuilder<'a, S: repo_state::State> { ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, + ::core::option::Option>>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -154,7 +164,17 @@ impl<'a> RepoBuilder<'a, repo_state::Empty> { pub fn new() -> Self { RepoBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None, None, None), + __unsafe_private_named: ( + None, + None, + None, + None, + None, + None, + None, + None, + None, + ), _phantom: ::core::marker::PhantomData, } } @@ -290,6 +310,44 @@ impl<'a, S: repo_state::State> RepoBuilder<'a, S> { } } +impl<'a, S: repo_state::State> RepoBuilder<'a, S> { + /// Set the `topics` field (optional) + pub fn topics( + mut self, + value: impl Into>>>, + ) -> Self { + self.__unsafe_private_named.7 = value.into(); + self + } + /// Set the `topics` field to an Option value (optional) + pub fn maybe_topics( + mut self, + value: Option>>, + ) -> Self { + self.__unsafe_private_named.7 = value; + self + } +} + +impl<'a, S: repo_state::State> RepoBuilder<'a, S> { + /// Set the `website` field (optional) + pub fn website( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.8 = value.into(); + self + } + /// Set the `website` field to an Option value (optional) + pub fn maybe_website( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.8 = value; + self + } +} + impl<'a, S> RepoBuilder<'a, S> where S: repo_state::State, @@ -307,6 +365,8 @@ where name: self.__unsafe_private_named.4.unwrap(), source: self.__unsafe_private_named.5, spindle: self.__unsafe_private_named.6, + topics: self.__unsafe_private_named.7, + website: self.__unsafe_private_named.8, extra_data: Default::default(), } } @@ -326,6 +386,8 @@ where name: self.__unsafe_private_named.4.unwrap(), source: self.__unsafe_private_named.5, spindle: self.__unsafe_private_named.6, + topics: self.__unsafe_private_named.7, + website: self.__unsafe_private_named.8, extra_data: Some(extra_data), } } @@ -441,6 +503,18 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Repo<'a> { } } } + if let Some(ref value) = self.topics { + #[allow(unused_comparisons)] + if value.len() > 50usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "topics", + ), + max: 50usize, + actual: value.len(), + }); + } + } Ok(()) } } @@ -607,6 +681,51 @@ fn lexicon_doc_sh_tangled_repo() -> ::jacquard_lexicon::lexicon::LexiconDoc<'sta known_values: None, }), ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("topics"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: Some( + ::jacquard_common::CowStr::new_static( + "Topics related to the repo", + ), + ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: Some(1usize), + max_length: Some(50usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + min_length: None, + max_length: Some(50usize), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("website"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Any URI related to the repo", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Uri, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); map }, }), diff --git a/crates/jacquard-api/src/sh_weaver/edit/root.rs b/crates/jacquard-api/src/sh_weaver/edit/root.rs index e9dec525d..b53c56922 100644 --- a/crates/jacquard-api/src/sh_weaver/edit/root.rs +++ b/crates/jacquard-api/src/sh_weaver/edit/root.rs @@ -18,14 +18,10 @@ )] #[serde(rename_all = "camelCase")] pub struct Root<'a> { - #[serde(borrow)] - pub cid: jacquard_common::types::string::Cid<'a>, #[serde(borrow)] pub doc: crate::sh_weaver::edit::DocRef<'a>, #[serde(borrow)] pub snapshot: jacquard_common::types::blob::BlobRef<'a>, - #[serde(borrow)] - pub uri: jacquard_common::types::string::AtUri<'a>, } pub mod root_state { @@ -38,8 +34,6 @@ pub mod root_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Cid; - type Uri; type Doc; type Snapshot; } @@ -47,35 +41,13 @@ pub mod root_state { pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Cid = Unset; - type Uri = Unset; type Doc = Unset; type Snapshot = Unset; } - ///State transition - sets the `cid` field to Set - pub struct SetCid(PhantomData S>); - impl sealed::Sealed for SetCid {} - impl State for SetCid { - type Cid = Set; - type Uri = S::Uri; - type Doc = S::Doc; - type Snapshot = S::Snapshot; - } - ///State transition - sets the `uri` field to Set - pub struct SetUri(PhantomData S>); - impl sealed::Sealed for SetUri {} - impl State for SetUri { - type Cid = S::Cid; - type Uri = Set; - type Doc = S::Doc; - type Snapshot = S::Snapshot; - } ///State transition - sets the `doc` field to Set pub struct SetDoc(PhantomData S>); impl sealed::Sealed for SetDoc {} impl State for SetDoc { - type Cid = S::Cid; - type Uri = S::Uri; type Doc = Set; type Snapshot = S::Snapshot; } @@ -83,18 +55,12 @@ pub mod root_state { pub struct SetSnapshot(PhantomData S>); impl sealed::Sealed for SetSnapshot {} impl State for SetSnapshot { - type Cid = S::Cid; - type Uri = S::Uri; type Doc = S::Doc; type Snapshot = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `cid` field - pub struct cid(()); - ///Marker type for the `uri` field - pub struct uri(()); ///Marker type for the `doc` field pub struct doc(()); ///Marker type for the `snapshot` field @@ -106,10 +72,8 @@ pub mod root_state { pub struct RootBuilder<'a, S: root_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, - ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -126,26 +90,7 @@ impl<'a> RootBuilder<'a, root_state::Empty> { pub fn new() -> Self { RootBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None), - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> RootBuilder<'a, S> -where - S: root_state::State, - S::Cid: root_state::IsUnset, -{ - /// Set the `cid` field (required) - pub fn cid( - mut self, - value: impl Into>, - ) -> RootBuilder<'a, root_state::SetCid> { - self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); - RootBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, + __unsafe_private_named: (None, None), _phantom: ::core::marker::PhantomData, } } @@ -161,7 +106,7 @@ where mut self, value: impl Into>, ) -> RootBuilder<'a, root_state::SetDoc> { - self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); RootBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -180,26 +125,7 @@ where mut self, value: impl Into>, ) -> RootBuilder<'a, root_state::SetSnapshot> { - self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); - RootBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, - _phantom: ::core::marker::PhantomData, - } - } -} - -impl<'a, S> RootBuilder<'a, S> -where - S: root_state::State, - S::Uri: root_state::IsUnset, -{ - /// Set the `uri` field (required) - pub fn uri( - mut self, - value: impl Into>, - ) -> RootBuilder<'a, root_state::SetUri> { - self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); RootBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -211,18 +137,14 @@ where impl<'a, S> RootBuilder<'a, S> where S: root_state::State, - S::Cid: root_state::IsSet, - S::Uri: root_state::IsSet, S::Doc: root_state::IsSet, S::Snapshot: root_state::IsSet, { /// Build the final struct pub fn build(self) -> Root<'a> { Root { - cid: self.__unsafe_private_named.0.unwrap(), - doc: self.__unsafe_private_named.1.unwrap(), - snapshot: self.__unsafe_private_named.2.unwrap(), - uri: self.__unsafe_private_named.3.unwrap(), + doc: self.__unsafe_private_named.0.unwrap(), + snapshot: self.__unsafe_private_named.1.unwrap(), extra_data: Default::default(), } } @@ -235,10 +157,8 @@ where >, ) -> Root<'a> { Root { - cid: self.__unsafe_private_named.0.unwrap(), - doc: self.__unsafe_private_named.1.unwrap(), - snapshot: self.__unsafe_private_named.2.unwrap(), - uri: self.__unsafe_private_named.3.unwrap(), + doc: self.__unsafe_private_named.0.unwrap(), + snapshot: self.__unsafe_private_named.1.unwrap(), extra_data: Some(extra_data), } } @@ -345,8 +265,6 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("uri"), ::jacquard_common::smol_str::SmolStr::new_static("doc"), ::jacquard_common::smol_str::SmolStr::new_static("snapshot") ], @@ -355,23 +273,6 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< properties: { #[allow(unused_mut)] let mut map = ::std::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Cid, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), - ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("doc"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { @@ -391,23 +292,6 @@ fn lexicon_doc_sh_weaver_edit_root() -> ::jacquard_lexicon::lexicon::LexiconDoc< max_size: None, }), ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("uri"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::AtUri, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), - ); map }, }), diff --git a/crates/jacquard-api/src/sh_weaver/embed/external.rs b/crates/jacquard-api/src/sh_weaver/embed/external.rs index 3014cdd80..25a82d336 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/external.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/external.rs @@ -16,7 +16,7 @@ jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] -pub struct External<'a> { +pub struct ExternalEmbed<'a> { #[serde(borrow)] pub description: jacquard_common::CowStr<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -28,7 +28,7 @@ pub struct External<'a> { pub uri: jacquard_common::types::string::Uri<'a>, } -pub mod external_state { +pub mod external_embed_state { pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] @@ -87,7 +87,7 @@ pub mod external_state { } /// Builder for constructing an instance of this type -pub struct ExternalBuilder<'a, S: external_state::State> { +pub struct ExternalEmbedBuilder<'a, S: external_embed_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, @@ -98,17 +98,17 @@ pub struct ExternalBuilder<'a, S: external_state::State> { _phantom: ::core::marker::PhantomData<&'a ()>, } -impl<'a> External<'a> { +impl<'a> ExternalEmbed<'a> { /// Create a new builder for this type - pub fn new() -> ExternalBuilder<'a, external_state::Empty> { - ExternalBuilder::new() + pub fn new() -> ExternalEmbedBuilder<'a, external_embed_state::Empty> { + ExternalEmbedBuilder::new() } } -impl<'a> ExternalBuilder<'a, external_state::Empty> { +impl<'a> ExternalEmbedBuilder<'a, external_embed_state::Empty> { /// Create a new builder with all fields unset pub fn new() -> Self { - ExternalBuilder { + ExternalEmbedBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: (None, None, None, None), _phantom: ::core::marker::PhantomData, @@ -116,18 +116,18 @@ impl<'a> ExternalBuilder<'a, external_state::Empty> { } } -impl<'a, S> ExternalBuilder<'a, S> +impl<'a, S> ExternalEmbedBuilder<'a, S> where - S: external_state::State, - S::Description: external_state::IsUnset, + S: external_embed_state::State, + S::Description: external_embed_state::IsUnset, { /// Set the `description` field (required) pub fn description( mut self, value: impl Into>, - ) -> ExternalBuilder<'a, external_state::SetDescription> { + ) -> ExternalEmbedBuilder<'a, external_embed_state::SetDescription> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); - ExternalBuilder { + ExternalEmbedBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, @@ -135,7 +135,7 @@ where } } -impl<'a, S: external_state::State> ExternalBuilder<'a, S> { +impl<'a, S: external_embed_state::State> ExternalEmbedBuilder<'a, S> { /// Set the `thumb` field (optional) pub fn thumb( mut self, @@ -154,18 +154,18 @@ impl<'a, S: external_state::State> ExternalBuilder<'a, S> { } } -impl<'a, S> ExternalBuilder<'a, S> +impl<'a, S> ExternalEmbedBuilder<'a, S> where - S: external_state::State, - S::Title: external_state::IsUnset, + S: external_embed_state::State, + S::Title: external_embed_state::IsUnset, { /// Set the `title` field (required) pub fn title( mut self, value: impl Into>, - ) -> ExternalBuilder<'a, external_state::SetTitle> { + ) -> ExternalEmbedBuilder<'a, external_embed_state::SetTitle> { self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); - ExternalBuilder { + ExternalEmbedBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, @@ -173,18 +173,18 @@ where } } -impl<'a, S> ExternalBuilder<'a, S> +impl<'a, S> ExternalEmbedBuilder<'a, S> where - S: external_state::State, - S::Uri: external_state::IsUnset, + S: external_embed_state::State, + S::Uri: external_embed_state::IsUnset, { /// Set the `uri` field (required) pub fn uri( mut self, value: impl Into>, - ) -> ExternalBuilder<'a, external_state::SetUri> { + ) -> ExternalEmbedBuilder<'a, external_embed_state::SetUri> { self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); - ExternalBuilder { + ExternalEmbedBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, @@ -192,16 +192,16 @@ where } } -impl<'a, S> ExternalBuilder<'a, S> +impl<'a, S> ExternalEmbedBuilder<'a, S> where - S: external_state::State, - S::Uri: external_state::IsSet, - S::Title: external_state::IsSet, - S::Description: external_state::IsSet, + S: external_embed_state::State, + S::Uri: external_embed_state::IsSet, + S::Title: external_embed_state::IsSet, + S::Description: external_embed_state::IsSet, { /// Build the final struct - pub fn build(self) -> External<'a> { - External { + pub fn build(self) -> ExternalEmbed<'a> { + ExternalEmbed { description: self.__unsafe_private_named.0.unwrap(), thumb: self.__unsafe_private_named.1, title: self.__unsafe_private_named.2.unwrap(), @@ -216,8 +216,8 @@ where jacquard_common::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, - ) -> External<'a> { - External { + ) -> ExternalEmbed<'a> { + ExternalEmbed { description: self.__unsafe_private_named.0.unwrap(), thumb: self.__unsafe_private_named.1, title: self.__unsafe_private_named.2.unwrap(), @@ -238,7 +238,7 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico defs: { let mut map = ::std::collections::BTreeMap::new(); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("external"), + ::jacquard_common::smol_str::SmolStr::new_static("externalEmbed"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( @@ -330,7 +330,9 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico description: None, items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, - r#ref: ::jacquard_common::CowStr::new_static("#external"), + r#ref: ::jacquard_common::CowStr::new_static( + "#externalEmbed", + ), }), min_length: None, max_length: Some(48usize), @@ -355,11 +357,16 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico let mut map = ::std::collections::BTreeMap::new(); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("external"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "#viewExternal", - ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#viewExternal", + ), + }), + min_length: None, + max_length: Some(48usize), }), ); map @@ -456,12 +463,12 @@ fn lexicon_doc_sh_weaver_embed_external() -> ::jacquard_lexicon::lexicon::Lexico } } -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for External<'a> { +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalEmbed<'a> { fn nsid() -> &'static str { "sh.weaver.embed.external" } fn def_name() -> &'static str { - "external" + "externalEmbed" } fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { lexicon_doc_sh_weaver_embed_external() @@ -484,12 +491,12 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for External<'a> { jacquard_derive::IntoStatic )] #[serde(rename_all = "camelCase")] -pub struct ExternalRecord<'a> { +pub struct External<'a> { #[serde(borrow)] - pub embeds: Vec>, + pub embeds: Vec>, } -pub mod external_record_state { +pub mod external_state { pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; #[allow(unused)] @@ -522,25 +529,27 @@ pub mod external_record_state { } /// Builder for constructing an instance of this type -pub struct ExternalRecordBuilder<'a, S: external_record_state::State> { +pub struct ExternalBuilder<'a, S: external_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>>, + ::core::option::Option< + Vec>, + >, ), _phantom: ::core::marker::PhantomData<&'a ()>, } -impl<'a> ExternalRecord<'a> { +impl<'a> External<'a> { /// Create a new builder for this type - pub fn new() -> ExternalRecordBuilder<'a, external_record_state::Empty> { - ExternalRecordBuilder::new() + pub fn new() -> ExternalBuilder<'a, external_state::Empty> { + ExternalBuilder::new() } } -impl<'a> ExternalRecordBuilder<'a, external_record_state::Empty> { +impl<'a> ExternalBuilder<'a, external_state::Empty> { /// Create a new builder with all fields unset pub fn new() -> Self { - ExternalRecordBuilder { + ExternalBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: (None,), _phantom: ::core::marker::PhantomData, @@ -548,18 +557,18 @@ impl<'a> ExternalRecordBuilder<'a, external_record_state::Empty> { } } -impl<'a, S> ExternalRecordBuilder<'a, S> +impl<'a, S> ExternalBuilder<'a, S> where - S: external_record_state::State, - S::Embeds: external_record_state::IsUnset, + S: external_state::State, + S::Embeds: external_state::IsUnset, { /// Set the `embeds` field (required) pub fn embeds( mut self, - value: impl Into>>, - ) -> ExternalRecordBuilder<'a, external_record_state::SetEmbeds> { + value: impl Into>>, + ) -> ExternalBuilder<'a, external_state::SetEmbeds> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); - ExternalRecordBuilder { + ExternalBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, @@ -567,14 +576,14 @@ where } } -impl<'a, S> ExternalRecordBuilder<'a, S> +impl<'a, S> ExternalBuilder<'a, S> where - S: external_record_state::State, - S::Embeds: external_record_state::IsSet, + S: external_state::State, + S::Embeds: external_state::IsSet, { /// Build the final struct - pub fn build(self) -> ExternalRecord<'a> { - ExternalRecord { + pub fn build(self) -> External<'a> { + External { embeds: self.__unsafe_private_named.0.unwrap(), extra_data: Default::default(), } @@ -586,15 +595,15 @@ where jacquard_common::smol_str::SmolStr, jacquard_common::types::value::Data<'a>, >, - ) -> ExternalRecord<'a> { - ExternalRecord { + ) -> External<'a> { + External { embeds: self.__unsafe_private_named.0.unwrap(), extra_data: Some(extra_data), } } } -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalRecord<'a> { +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for External<'a> { fn nsid() -> &'static str { "sh.weaver.embed.external" } @@ -637,7 +646,7 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ExternalRecord<'a> { #[serde(rename_all = "camelCase")] pub struct View<'a> { #[serde(borrow)] - pub external: crate::sh_weaver::embed::external::ViewExternal<'a>, + pub external: Vec>, } pub mod view_state { @@ -676,7 +685,7 @@ pub mod view_state { pub struct ViewBuilder<'a, S: view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -707,7 +716,7 @@ where /// Set the `external` field (required) pub fn external( mut self, - value: impl Into>, + value: impl Into>>, ) -> ViewBuilder<'a, view_state::SetExternal> { self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); ViewBuilder { @@ -758,6 +767,19 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { fn validate( &self, ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.external; + #[allow(unused_comparisons)] + if value.len() > 48usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "external", + ), + max: 48usize, + actual: value.len(), + }); + } + } Ok(()) } } diff --git a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs index 99508a7de..a0d41b613 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/record_with_media.rs @@ -20,7 +20,7 @@ pub struct RecordWithMedia<'a> { #[serde(borrow)] pub media: RecordWithMediaMedia<'a>, #[serde(borrow)] - pub record: RecordWithMediaRecord<'a>, + pub records: crate::sh_weaver::embed::records::Records<'a>, } pub mod record_with_media_state { @@ -33,35 +33,35 @@ pub mod record_with_media_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Record; + type Records; type Media; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Record = Unset; + type Records = Unset; type Media = Unset; } - ///State transition - sets the `record` field to Set - pub struct SetRecord(PhantomData S>); - impl sealed::Sealed for SetRecord {} - impl State for SetRecord { - type Record = Set; + ///State transition - sets the `records` field to Set + pub struct SetRecords(PhantomData S>); + impl sealed::Sealed for SetRecords {} + impl State for SetRecords { + type Records = Set; type Media = S::Media; } ///State transition - sets the `media` field to Set pub struct SetMedia(PhantomData S>); impl sealed::Sealed for SetMedia {} impl State for SetMedia { - type Record = S::Record; + type Records = S::Records; type Media = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `record` field - pub struct record(()); + ///Marker type for the `records` field + pub struct records(()); ///Marker type for the `media` field pub struct media(()); } @@ -72,7 +72,7 @@ pub struct RecordWithMediaBuilder<'a, S: record_with_media_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -117,13 +117,13 @@ where impl<'a, S> RecordWithMediaBuilder<'a, S> where S: record_with_media_state::State, - S::Record: record_with_media_state::IsUnset, + S::Records: record_with_media_state::IsUnset, { - /// Set the `record` field (required) - pub fn record( + /// Set the `records` field (required) + pub fn records( mut self, - value: impl Into>, - ) -> RecordWithMediaBuilder<'a, record_with_media_state::SetRecord> { + value: impl Into>, + ) -> RecordWithMediaBuilder<'a, record_with_media_state::SetRecords> { self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); RecordWithMediaBuilder { _phantom_state: ::core::marker::PhantomData, @@ -136,14 +136,14 @@ where impl<'a, S> RecordWithMediaBuilder<'a, S> where S: record_with_media_state::State, - S::Record: record_with_media_state::IsSet, + S::Records: record_with_media_state::IsSet, S::Media: record_with_media_state::IsSet, { /// Build the final struct pub fn build(self) -> RecordWithMedia<'a> { RecordWithMedia { media: self.__unsafe_private_named.0.unwrap(), - record: self.__unsafe_private_named.1.unwrap(), + records: self.__unsafe_private_named.1.unwrap(), extra_data: Default::default(), } } @@ -157,7 +157,7 @@ where ) -> RecordWithMedia<'a> { RecordWithMedia { media: self.__unsafe_private_named.0.unwrap(), - record: self.__unsafe_private_named.1.unwrap(), + records: self.__unsafe_private_named.1.unwrap(), extra_data: Some(extra_data), } } @@ -179,32 +179,9 @@ pub enum RecordWithMediaMedia<'a> { #[serde(rename = "sh.weaver.embed.images")] Images(Box>), #[serde(rename = "sh.weaver.embed.external")] - External(Box>), - #[serde(rename = "app.bsky.embed.images")] - BskyImages(Box>), - #[serde(rename = "app.bsky.embed.video")] - Video(Box>), - #[serde(rename = "app.bsky.embed.external")] - BskyExternal(Box>), -} - -#[jacquard_derive::open_union] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(tag = "$type")] -#[serde(bound(deserialize = "'de: 'a"))] -pub enum RecordWithMediaRecord<'a> { - #[serde(rename = "app.bsky.embed.record")] - Record(Box>), - #[serde(rename = "sh.weaver.embed.records")] - Records(Box>), + External(Box>), + #[serde(rename = "sh.weaver.embed.video")] + Video(Box>), } fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon::LexiconDoc< @@ -223,7 +200,7 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("record"), + ::jacquard_common::smol_str::SmolStr::new_static("records"), ::jacquard_common::smol_str::SmolStr::new_static("media") ], ), @@ -238,22 +215,18 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: refs: vec![ ::jacquard_common::CowStr::new_static("sh.weaver.embed.images"), ::jacquard_common::CowStr::new_static("sh.weaver.embed.external"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.images"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.video"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.external") + ::jacquard_common::CowStr::new_static("sh.weaver.embed.video") ], closed: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, - refs: vec![ - ::jacquard_common::CowStr::new_static("app.bsky.embed.record"), - ::jacquard_common::CowStr::new_static("sh.weaver.embed.records") - ], - closed: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.records", + ), }), ); map @@ -279,24 +252,20 @@ fn lexicon_doc_sh_weaver_embed_recordWithMedia() -> ::jacquard_lexicon::lexicon: ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ - ::jacquard_common::CowStr::new_static("sh.weaver.embed.images"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.images#view"), ::jacquard_common::CowStr::new_static("sh.weaver.embed.external#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.images#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.video#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.external#view") + ::jacquard_common::CowStr::new_static("sh.weaver.embed.video#view") ], closed: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("record"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { description: None, - refs: vec![ - ::jacquard_common::CowStr::new_static("sh.weaver.embed.records#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.record#view") - ], - closed: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.records#view", + ), }), ); map @@ -339,8 +308,9 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RecordWithMedia<'a> { pub struct View<'a> { #[serde(borrow)] pub media: ViewMedia<'a>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub record: ViewRecord<'a>, + pub records: Option>, } pub mod view_state { @@ -392,7 +362,7 @@ pub struct ViewBuilder<'a, S: view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, + ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, } @@ -434,22 +404,22 @@ where } } -impl<'a, S> ViewBuilder<'a, S> -where - S: view_state::State, - S::Record: view_state::IsUnset, -{ - /// Set the `record` field (required) - pub fn record( +impl<'a, S: view_state::State> ViewBuilder<'a, S> { + /// Set the `records` field (optional) + pub fn records( mut self, - value: impl Into>, - ) -> ViewBuilder<'a, view_state::SetRecord> { - self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); - ViewBuilder { - _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: self.__unsafe_private_named, - _phantom: ::core::marker::PhantomData, - } + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.1 = value.into(); + self + } + /// Set the `records` field to an Option value (optional) + pub fn maybe_records( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.1 = value; + self } } @@ -463,7 +433,7 @@ where pub fn build(self) -> View<'a> { View { media: self.__unsafe_private_named.0.unwrap(), - record: self.__unsafe_private_named.1.unwrap(), + records: self.__unsafe_private_named.1, extra_data: Default::default(), } } @@ -477,7 +447,7 @@ where ) -> View<'a> { View { media: self.__unsafe_private_named.0.unwrap(), - record: self.__unsafe_private_named.1.unwrap(), + records: self.__unsafe_private_named.1, extra_data: Some(extra_data), } } @@ -496,35 +466,12 @@ where #[serde(tag = "$type")] #[serde(bound(deserialize = "'de: 'a"))] pub enum ViewMedia<'a> { - #[serde(rename = "sh.weaver.embed.images")] - Images(Box>), + #[serde(rename = "sh.weaver.embed.images#view")] + ImagesView(Box>), #[serde(rename = "sh.weaver.embed.external#view")] ExternalView(Box>), - #[serde(rename = "app.bsky.embed.images#view")] - ImagesView(Box>), - #[serde(rename = "app.bsky.embed.video#view")] - VideoView(Box>), - #[serde(rename = "app.bsky.embed.external#view")] - BskyExternalView(Box>), -} - -#[jacquard_derive::open_union] -#[derive( - serde::Serialize, - serde::Deserialize, - Debug, - Clone, - PartialEq, - Eq, - jacquard_derive::IntoStatic -)] -#[serde(tag = "$type")] -#[serde(bound(deserialize = "'de: 'a"))] -pub enum ViewRecord<'a> { - #[serde(rename = "sh.weaver.embed.records#view")] - RecordsView(Box>), - #[serde(rename = "app.bsky.embed.record#view")] - RecordView(Box>), + #[serde(rename = "sh.weaver.embed.video#view")] + VideoView(Box>), } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/records.rs b/crates/jacquard-api/src/sh_weaver/embed/records.rs index cc4d42f49..013a4e950 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/records.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/records.rs @@ -237,13 +237,10 @@ fn lexicon_doc_sh_weaver_embed_records() -> ::jacquard_lexicon::lexicon::Lexicon ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, refs: vec![ - ::jacquard_common::CowStr::new_static("app.bsky.embed.images#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.video#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.external#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.record#view"), - ::jacquard_common::CowStr::new_static("app.bsky.embed.recordWithMedia#view"), ::jacquard_common::CowStr::new_static("sh.weaver.embed.records#view"), - ::jacquard_common::CowStr::new_static("sh.weaver.embed.images#view") + ::jacquard_common::CowStr::new_static("sh.weaver.embed.images#view"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.recordWithMedia#view"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.video#view") ], closed: None, }), @@ -955,20 +952,14 @@ where #[serde(tag = "$type")] #[serde(bound(deserialize = "'de: 'a"))] pub enum RecordEmbedViewRecordView<'a> { - #[serde(rename = "app.bsky.embed.images#view")] - BskyImagesView(Box>), - #[serde(rename = "app.bsky.embed.video#view")] - VideoView(Box>), - #[serde(rename = "app.bsky.embed.external#view")] - ExternalView(Box>), - #[serde(rename = "app.bsky.embed.record#view")] - RecordView(Box>), - #[serde(rename = "app.bsky.embed.recordWithMedia#view")] - RecordWithMediaView(Box>), #[serde(rename = "sh.weaver.embed.records#view")] View(Box>), #[serde(rename = "sh.weaver.embed.images#view")] ImagesView(Box>), + #[serde(rename = "sh.weaver.embed.recordWithMedia#view")] + RecordWithMediaView(Box>), + #[serde(rename = "sh.weaver.embed.video#view")] + VideoView(Box>), } impl<'a> ::jacquard_lexicon::schema::LexiconSchema for RecordEmbedView<'a> { diff --git a/crates/jacquard-api/src/sh_weaver/embed/video.rs b/crates/jacquard-api/src/sh_weaver/embed/video.rs index 2dd747b0f..001242833 100644 --- a/crates/jacquard-api/src/sh_weaver/embed/video.rs +++ b/crates/jacquard-api/src/sh_weaver/embed/video.rs @@ -217,6 +217,33 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![::jacquard_common::smol_str::SmolStr::new_static("videos")], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("videos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#video"), + }), + min_length: None, + max_length: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("video"), ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { description: None, required: Some( @@ -245,17 +272,6 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo known_values: None, }), ); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static( - "aspectRatio", - ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), - }), - ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("captions"), ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { @@ -268,6 +284,35 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo max_length: Some(20usize), }), ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "dimensions", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: None, + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.embed.defs#aspectRatio"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.defs#percentSize"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.defs#pixelSize") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: Some(128usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("video"), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { @@ -309,27 +354,45 @@ fn lexicon_doc_sh_weaver_embed_video() -> ::jacquard_lexicon::lexicon::LexiconDo known_values: None, }), ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Cid, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static( - "aspectRatio", + "dimensions", ), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "app.bsky.embed.defs#aspectRatio", - ), + refs: vec![ + ::jacquard_common::CowStr::new_static("app.bsky.embed.defs#aspectRatio"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.defs#percentSize"), + ::jacquard_common::CowStr::new_static("sh.weaver.embed.defs#pixelSize") + ], + closed: None, }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), + ::jacquard_common::smol_str::SmolStr::new_static("name"), ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Cid, - ), + format: None, default: None, min_length: None, - max_length: None, + max_length: Some(128usize), min_graphemes: None, max_graphemes: None, r#enum: None, @@ -399,6 +462,144 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Caption<'a> { } } +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct VideoRecord<'a> { + #[serde(borrow)] + pub videos: Vec>, +} + +pub mod video_record_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Videos; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Videos = Unset; + } + ///State transition - sets the `videos` field to Set + pub struct SetVideos(PhantomData S>); + impl sealed::Sealed for SetVideos {} + impl State for SetVideos { + type Videos = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `videos` field + pub struct videos(()); + } +} + +/// Builder for constructing an instance of this type +pub struct VideoRecordBuilder<'a, S: video_record_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> VideoRecord<'a> { + /// Create a new builder for this type + pub fn new() -> VideoRecordBuilder<'a, video_record_state::Empty> { + VideoRecordBuilder::new() + } +} + +impl<'a> VideoRecordBuilder<'a, video_record_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + VideoRecordBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None,), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> VideoRecordBuilder<'a, S> +where + S: video_record_state::State, + S::Videos: video_record_state::IsUnset, +{ + /// Set the `videos` field (required) + pub fn videos( + mut self, + value: impl Into>>, + ) -> VideoRecordBuilder<'a, video_record_state::SetVideos> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + VideoRecordBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> VideoRecordBuilder<'a, S> +where + S: video_record_state::State, + S::Videos: video_record_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> VideoRecord<'a> { + VideoRecord { + videos: self.__unsafe_private_named.0.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> VideoRecord<'a> { + VideoRecord { + videos: self.__unsafe_private_named.0.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for VideoRecord<'a> { + fn nsid() -> &'static str { + "sh.weaver.embed.video" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_embed_video() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + #[jacquard_derive::lexicon] #[derive( serde::Serialize, @@ -417,10 +618,13 @@ pub struct Video<'a> { pub alt: Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub aspect_ratio: Option>, + pub captions: Option>>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub captions: Option>>, + pub dimensions: Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub name: Option>, /// The mp4 video file. May be up to 100mb, formerly limited to 50mb. #[serde(borrow)] pub video: jacquard_common::types::blob::BlobRef<'a>, @@ -463,8 +667,9 @@ pub struct VideoBuilder<'a, S: video_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -482,7 +687,7 @@ impl<'a> VideoBuilder<'a, video_state::Empty> { pub fn new() -> Self { VideoBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None), + __unsafe_private_named: (None, None, None, None, None), _phantom: ::core::marker::PhantomData, } } @@ -502,18 +707,18 @@ impl<'a, S: video_state::State> VideoBuilder<'a, S> { } impl<'a, S: video_state::State> VideoBuilder<'a, S> { - /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( + /// Set the `captions` field (optional) + pub fn captions( mut self, - value: impl Into>>, + value: impl Into>>>, ) -> Self { self.__unsafe_private_named.1 = value.into(); self } - /// Set the `aspectRatio` field to an Option value (optional) - pub fn maybe_aspect_ratio( + /// Set the `captions` field to an Option value (optional) + pub fn maybe_captions( mut self, - value: Option>, + value: Option>>, ) -> Self { self.__unsafe_private_named.1 = value; self @@ -521,20 +726,30 @@ impl<'a, S: video_state::State> VideoBuilder<'a, S> { } impl<'a, S: video_state::State> VideoBuilder<'a, S> { - /// Set the `captions` field (optional) - pub fn captions( - mut self, - value: impl Into>>>, - ) -> Self { + /// Set the `dimensions` field (optional) + pub fn dimensions(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.2 = value.into(); self } - /// Set the `captions` field to an Option value (optional) - pub fn maybe_captions( + /// Set the `dimensions` field to an Option value (optional) + pub fn maybe_dimensions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: video_state::State> VideoBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name( mut self, - value: Option>>, + value: impl Into>>, ) -> Self { - self.__unsafe_private_named.2 = value; + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; self } } @@ -549,7 +764,7 @@ where mut self, value: impl Into>, ) -> VideoBuilder<'a, video_state::SetVideo> { - self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); VideoBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -567,9 +782,10 @@ where pub fn build(self) -> Video<'a> { Video { alt: self.__unsafe_private_named.0, - aspect_ratio: self.__unsafe_private_named.1, - captions: self.__unsafe_private_named.2, - video: self.__unsafe_private_named.3.unwrap(), + captions: self.__unsafe_private_named.1, + dimensions: self.__unsafe_private_named.2, + name: self.__unsafe_private_named.3, + video: self.__unsafe_private_named.4.unwrap(), extra_data: Default::default(), } } @@ -583,20 +799,42 @@ where ) -> Video<'a> { Video { alt: self.__unsafe_private_named.0, - aspect_ratio: self.__unsafe_private_named.1, - captions: self.__unsafe_private_named.2, - video: self.__unsafe_private_named.3.unwrap(), + captions: self.__unsafe_private_named.1, + dimensions: self.__unsafe_private_named.2, + name: self.__unsafe_private_named.3, + video: self.__unsafe_private_named.4.unwrap(), extra_data: Some(extra_data), } } } +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum VideoDimensions<'a> { + #[serde(rename = "app.bsky.embed.defs#aspectRatio")] + AspectRatio(Box>), + #[serde(rename = "sh.weaver.embed.defs#percentSize")] + PercentSize(Box>), + #[serde(rename = "sh.weaver.embed.defs#pixelSize")] + PixelSize(Box>), +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Video<'a> { fn nsid() -> &'static str { "sh.weaver.embed.video" } fn def_name() -> &'static str { - "main" + "video" } fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { lexicon_doc_sh_weaver_embed_video() @@ -646,6 +884,18 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Video<'a> { }); } } + if let Some(ref value) = self.name { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 128usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "name", + ), + max: 128usize, + actual: ::len(value.as_ref()), + }); + } + } Ok(()) } } @@ -665,11 +915,14 @@ pub struct View<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub alt: Option>, + #[serde(borrow)] + pub cid: jacquard_common::types::string::Cid<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub aspect_ratio: Option>, + pub dimensions: Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub cid: jacquard_common::types::string::Cid<'a>, + pub name: Option>, #[serde(borrow)] pub playlist: jacquard_common::types::string::Uri<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -726,8 +979,9 @@ pub struct ViewBuilder<'a, S: view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( ::core::option::Option>, - ::core::option::Option>, ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -746,7 +1000,7 @@ impl<'a> ViewBuilder<'a, view_state::Empty> { pub fn new() -> Self { ViewBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None), + __unsafe_private_named: (None, None, None, None, None, None), _phantom: ::core::marker::PhantomData, } } @@ -765,25 +1019,6 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { } } -impl<'a, S: view_state::State> ViewBuilder<'a, S> { - /// Set the `aspectRatio` field (optional) - pub fn aspect_ratio( - mut self, - value: impl Into>>, - ) -> Self { - self.__unsafe_private_named.1 = value.into(); - self - } - /// Set the `aspectRatio` field to an Option value (optional) - pub fn maybe_aspect_ratio( - mut self, - value: Option>, - ) -> Self { - self.__unsafe_private_named.1 = value; - self - } -} - impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, @@ -794,7 +1029,7 @@ where mut self, value: impl Into>, ) -> ViewBuilder<'a, view_state::SetCid> { - self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); ViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -803,6 +1038,35 @@ where } } +impl<'a, S: view_state::State> ViewBuilder<'a, S> { + /// Set the `dimensions` field (optional) + pub fn dimensions(mut self, value: impl Into>>) -> Self { + self.__unsafe_private_named.2 = value.into(); + self + } + /// Set the `dimensions` field to an Option value (optional) + pub fn maybe_dimensions(mut self, value: Option>) -> Self { + self.__unsafe_private_named.2 = value; + self + } +} + +impl<'a, S: view_state::State> ViewBuilder<'a, S> { + /// Set the `name` field (optional) + pub fn name( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `name` field to an Option value (optional) + pub fn maybe_name(mut self, value: Option>) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + impl<'a, S> ViewBuilder<'a, S> where S: view_state::State, @@ -813,7 +1077,7 @@ where mut self, value: impl Into>, ) -> ViewBuilder<'a, view_state::SetPlaylist> { - self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); ViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -828,7 +1092,7 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.4 = value.into(); + self.__unsafe_private_named.5 = value.into(); self } /// Set the `thumbnail` field to an Option value (optional) @@ -836,7 +1100,7 @@ impl<'a, S: view_state::State> ViewBuilder<'a, S> { mut self, value: Option>, ) -> Self { - self.__unsafe_private_named.4 = value; + self.__unsafe_private_named.5 = value; self } } @@ -851,10 +1115,11 @@ where pub fn build(self) -> View<'a> { View { alt: self.__unsafe_private_named.0, - aspect_ratio: self.__unsafe_private_named.1, - cid: self.__unsafe_private_named.2.unwrap(), - playlist: self.__unsafe_private_named.3.unwrap(), - thumbnail: self.__unsafe_private_named.4, + cid: self.__unsafe_private_named.1.unwrap(), + dimensions: self.__unsafe_private_named.2, + name: self.__unsafe_private_named.3, + playlist: self.__unsafe_private_named.4.unwrap(), + thumbnail: self.__unsafe_private_named.5, extra_data: Default::default(), } } @@ -868,15 +1133,37 @@ where ) -> View<'a> { View { alt: self.__unsafe_private_named.0, - aspect_ratio: self.__unsafe_private_named.1, - cid: self.__unsafe_private_named.2.unwrap(), - playlist: self.__unsafe_private_named.3.unwrap(), - thumbnail: self.__unsafe_private_named.4, + cid: self.__unsafe_private_named.1.unwrap(), + dimensions: self.__unsafe_private_named.2, + name: self.__unsafe_private_named.3, + playlist: self.__unsafe_private_named.4.unwrap(), + thumbnail: self.__unsafe_private_named.5, extra_data: Some(extra_data), } } } +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ViewDimensions<'a> { + #[serde(rename = "app.bsky.embed.defs#aspectRatio")] + AspectRatio(Box>), + #[serde(rename = "sh.weaver.embed.defs#percentSize")] + PercentSize(Box>), + #[serde(rename = "sh.weaver.embed.defs#pixelSize")] + PixelSize(Box>), +} + impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { fn nsid() -> &'static str { "sh.weaver.embed.video" @@ -920,6 +1207,18 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for View<'a> { } } } + if let Some(ref value) = self.name { + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 128usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "name", + ), + max: 128usize, + actual: ::len(value.as_ref()), + }); + } + } Ok(()) } } \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_weaver/notebook.rs b/crates/jacquard-api/src/sh_weaver/notebook.rs index 50caafefb..cd23db022 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook.rs @@ -8,7 +8,10 @@ pub mod authors; pub mod book; pub mod chapter; +pub mod colour_scheme; pub mod entry; +pub mod page; +pub mod theme; #[jacquard_derive::lexicon] #[derive( @@ -22,13 +25,9 @@ pub mod entry; )] #[serde(rename_all = "camelCase")] pub struct AuthorListView<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] - #[serde(borrow)] - pub cid: Option>, pub index: i64, - #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub record: Option>, + pub record: jacquard_common::types::value::Data<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub uri: Option>, @@ -44,35 +43,35 @@ pub mod author_list_view_state { } /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { - type Profile; + type Record; type Index; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { - type Profile = Unset; + type Record = Unset; type Index = Unset; } - ///State transition - sets the `profile` field to Set - pub struct SetProfile(PhantomData S>); - impl sealed::Sealed for SetProfile {} - impl State for SetProfile { - type Profile = Set; + ///State transition - sets the `record` field to Set + pub struct SetRecord(PhantomData S>); + impl sealed::Sealed for SetRecord {} + impl State for SetRecord { + type Record = Set; type Index = S::Index; } ///State transition - sets the `index` field to Set pub struct SetIndex(PhantomData S>); impl sealed::Sealed for SetIndex {} impl State for SetIndex { - type Profile = S::Profile; + type Record = S::Record; type Index = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { - ///Marker type for the `profile` field - pub struct profile(()); + ///Marker type for the `record` field + pub struct record(()); ///Marker type for the `index` field pub struct index(()); } @@ -82,7 +81,6 @@ pub mod author_list_view_state { pub struct AuthorListViewBuilder<'a, S: author_list_view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, ::core::option::Option, ::core::option::Option>, ::core::option::Option>, @@ -102,31 +100,12 @@ impl<'a> AuthorListViewBuilder<'a, author_list_view_state::Empty> { pub fn new() -> Self { AuthorListViewBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None), + __unsafe_private_named: (None, None, None), _phantom: ::core::marker::PhantomData, } } } -impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { - /// Set the `cid` field (optional) - pub fn cid( - mut self, - value: impl Into>>, - ) -> Self { - self.__unsafe_private_named.0 = value.into(); - self - } - /// Set the `cid` field to an Option value (optional) - pub fn maybe_cid( - mut self, - value: Option>, - ) -> Self { - self.__unsafe_private_named.0 = value; - self - } -} - impl<'a, S> AuthorListViewBuilder<'a, S> where S: author_list_view_state::State, @@ -137,7 +116,7 @@ where mut self, value: impl Into, ) -> AuthorListViewBuilder<'a, author_list_view_state::SetIndex> { - self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); AuthorListViewBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -146,22 +125,22 @@ where } } -impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { - /// Set the `record` field (optional) +impl<'a, S> AuthorListViewBuilder<'a, S> +where + S: author_list_view_state::State, + S::Record: author_list_view_state::IsUnset, +{ + /// Set the `record` field (required) pub fn record( mut self, - value: impl Into>>, - ) -> Self { - self.__unsafe_private_named.2 = value.into(); - self - } - /// Set the `record` field to an Option value (optional) - pub fn maybe_record( - mut self, - value: Option>, - ) -> Self { - self.__unsafe_private_named.2 = value; - self + value: impl Into>, + ) -> AuthorListViewBuilder<'a, author_list_view_state::SetRecord> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + AuthorListViewBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } } } @@ -171,7 +150,7 @@ impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.3 = value.into(); + self.__unsafe_private_named.2 = value.into(); self } /// Set the `uri` field to an Option value (optional) @@ -179,7 +158,7 @@ impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { mut self, value: Option>, ) -> Self { - self.__unsafe_private_named.3 = value; + self.__unsafe_private_named.2 = value; self } } @@ -187,16 +166,15 @@ impl<'a, S: author_list_view_state::State> AuthorListViewBuilder<'a, S> { impl<'a, S> AuthorListViewBuilder<'a, S> where S: author_list_view_state::State, - S::Profile: author_list_view_state::IsSet, + S::Record: author_list_view_state::IsSet, S::Index: author_list_view_state::IsSet, { /// Build the final struct pub fn build(self) -> AuthorListView<'a> { AuthorListView { - cid: self.__unsafe_private_named.0, - index: self.__unsafe_private_named.1.unwrap(), - record: self.__unsafe_private_named.2, - uri: self.__unsafe_private_named.3, + index: self.__unsafe_private_named.0.unwrap(), + record: self.__unsafe_private_named.1.unwrap(), + uri: self.__unsafe_private_named.2, extra_data: Default::default(), } } @@ -209,10 +187,9 @@ where >, ) -> AuthorListView<'a> { AuthorListView { - cid: self.__unsafe_private_named.0, - index: self.__unsafe_private_named.1.unwrap(), - record: self.__unsafe_private_named.2, - uri: self.__unsafe_private_named.3, + index: self.__unsafe_private_named.0.unwrap(), + record: self.__unsafe_private_named.1.unwrap(), + uri: self.__unsafe_private_named.2, extra_data: Some(extra_data), } } @@ -234,7 +211,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("profile"), + ::jacquard_common::smol_str::SmolStr::new_static("record"), ::jacquard_common::smol_str::SmolStr::new_static("index") ], ), @@ -242,23 +219,6 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon properties: { #[allow(unused_mut)] let mut map = ::std::collections::BTreeMap::new(); - map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { - description: None, - format: Some( - ::jacquard_lexicon::lexicon::LexStringFormat::Cid, - ), - default: None, - min_length: None, - max_length: None, - min_graphemes: None, - max_graphemes: None, - r#enum: None, - r#const: None, - known_values: None, - }), - ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("index"), ::jacquard_lexicon::lexicon::LexObjectProperty::Integer(::jacquard_lexicon::lexicon::LexInteger { @@ -421,7 +381,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon vec![ ::jacquard_common::smol_str::SmolStr::new_static("uri"), ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::smol_str::SmolStr::new_static("authors"), ::jacquard_common::smol_str::SmolStr::new_static("record"), ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") ], @@ -432,11 +392,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon let mut map = ::std::collections::BTreeMap::new(); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "#authorListView", - ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#authorListView", + ), + }), + min_length: None, + max_length: None, }), ); map.insert( @@ -535,7 +500,7 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon vec![ ::jacquard_common::smol_str::SmolStr::new_static("uri"), ::jacquard_common::smol_str::SmolStr::new_static("cid"), - ::jacquard_common::smol_str::SmolStr::new_static("author"), + ::jacquard_common::smol_str::SmolStr::new_static("authors"), ::jacquard_common::smol_str::SmolStr::new_static("record"), ::jacquard_common::smol_str::SmolStr::new_static("indexedAt") ], @@ -546,11 +511,16 @@ fn lexicon_doc_sh_weaver_notebook_defs() -> ::jacquard_lexicon::lexicon::Lexicon let mut map = ::std::collections::BTreeMap::new(); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("authors"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "#authorListView", - ), + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "#authorListView", + ), + }), + min_length: None, + max_length: None, }), ); map.insert( @@ -1138,9 +1108,8 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ContentFormat<'a> { )] #[serde(rename_all = "camelCase")] pub struct EntryView<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub authors: Option>, + pub authors: Vec>, #[serde(borrow)] pub cid: jacquard_common::types::string::Cid<'a>, pub indexed_at: jacquard_common::types::string::Datetime, @@ -1171,7 +1140,7 @@ pub mod entry_view_state { pub trait State: sealed::Sealed { type Uri; type Cid; - type Author; + type Authors; type Record; type IndexedAt; } @@ -1181,7 +1150,7 @@ pub mod entry_view_state { impl State for Empty { type Uri = Unset; type Cid = Unset; - type Author = Unset; + type Authors = Unset; type Record = Unset; type IndexedAt = Unset; } @@ -1191,7 +1160,7 @@ pub mod entry_view_state { impl State for SetUri { type Uri = Set; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = S::IndexedAt; } @@ -1201,17 +1170,17 @@ pub mod entry_view_state { impl State for SetCid { type Uri = S::Uri; type Cid = Set; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = S::IndexedAt; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { type Uri = S::Uri; type Cid = S::Cid; - type Author = Set; + type Authors = Set; type Record = S::Record; type IndexedAt = S::IndexedAt; } @@ -1221,7 +1190,7 @@ pub mod entry_view_state { impl State for SetRecord { type Uri = S::Uri; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = Set; type IndexedAt = S::IndexedAt; } @@ -1231,7 +1200,7 @@ pub mod entry_view_state { impl State for SetIndexedAt { type Uri = S::Uri; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = Set; } @@ -1242,8 +1211,8 @@ pub mod entry_view_state { pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `author` field - pub struct author(()); + ///Marker type for the `authors` field + pub struct authors(()); ///Marker type for the `record` field pub struct record(()); ///Marker type for the `indexed_at` field @@ -1255,7 +1224,7 @@ pub mod entry_view_state { pub struct EntryViewBuilder<'a, S: entry_view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>>, ::core::option::Option>, ::core::option::Option, ::core::option::Option>, @@ -1285,22 +1254,22 @@ impl<'a> EntryViewBuilder<'a, entry_view_state::Empty> { } } -impl<'a, S: entry_view_state::State> EntryViewBuilder<'a, S> { - /// Set the `authors` field (optional) +impl<'a, S> EntryViewBuilder<'a, S> +where + S: entry_view_state::State, + S::Authors: entry_view_state::IsUnset, +{ + /// Set the `authors` field (required) pub fn authors( mut self, - value: impl Into>>, - ) -> Self { - self.__unsafe_private_named.0 = value.into(); - self - } - /// Set the `authors` field to an Option value (optional) - pub fn maybe_authors( - mut self, - value: Option>, - ) -> Self { - self.__unsafe_private_named.0 = value; - self + value: impl Into>>, + ) -> EntryViewBuilder<'a, entry_view_state::SetAuthors> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + EntryViewBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } } } @@ -1442,14 +1411,14 @@ where S: entry_view_state::State, S::Uri: entry_view_state::IsSet, S::Cid: entry_view_state::IsSet, - S::Author: entry_view_state::IsSet, + S::Authors: entry_view_state::IsSet, S::Record: entry_view_state::IsSet, S::IndexedAt: entry_view_state::IsSet, { /// Build the final struct pub fn build(self) -> EntryView<'a> { EntryView { - authors: self.__unsafe_private_named.0, + authors: self.__unsafe_private_named.0.unwrap(), cid: self.__unsafe_private_named.1.unwrap(), indexed_at: self.__unsafe_private_named.2.unwrap(), record: self.__unsafe_private_named.3.unwrap(), @@ -1469,7 +1438,7 @@ where >, ) -> EntryView<'a> { EntryView { - authors: self.__unsafe_private_named.0, + authors: self.__unsafe_private_named.0.unwrap(), cid: self.__unsafe_private_named.1.unwrap(), indexed_at: self.__unsafe_private_named.2.unwrap(), record: self.__unsafe_private_named.3.unwrap(), @@ -1511,9 +1480,8 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EntryView<'a> { )] #[serde(rename_all = "camelCase")] pub struct NotebookView<'a> { - #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub authors: Option>, + pub authors: Vec>, #[serde(borrow)] pub cid: jacquard_common::types::string::Cid<'a>, pub indexed_at: jacquard_common::types::string::Datetime, @@ -1541,7 +1509,7 @@ pub mod notebook_view_state { pub trait State: sealed::Sealed { type Uri; type Cid; - type Author; + type Authors; type Record; type IndexedAt; } @@ -1551,7 +1519,7 @@ pub mod notebook_view_state { impl State for Empty { type Uri = Unset; type Cid = Unset; - type Author = Unset; + type Authors = Unset; type Record = Unset; type IndexedAt = Unset; } @@ -1561,7 +1529,7 @@ pub mod notebook_view_state { impl State for SetUri { type Uri = Set; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = S::IndexedAt; } @@ -1571,17 +1539,17 @@ pub mod notebook_view_state { impl State for SetCid { type Uri = S::Uri; type Cid = Set; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = S::IndexedAt; } - ///State transition - sets the `author` field to Set - pub struct SetAuthor(PhantomData S>); - impl sealed::Sealed for SetAuthor {} - impl State for SetAuthor { + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { type Uri = S::Uri; type Cid = S::Cid; - type Author = Set; + type Authors = Set; type Record = S::Record; type IndexedAt = S::IndexedAt; } @@ -1591,7 +1559,7 @@ pub mod notebook_view_state { impl State for SetRecord { type Uri = S::Uri; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = Set; type IndexedAt = S::IndexedAt; } @@ -1601,7 +1569,7 @@ pub mod notebook_view_state { impl State for SetIndexedAt { type Uri = S::Uri; type Cid = S::Cid; - type Author = S::Author; + type Authors = S::Authors; type Record = S::Record; type IndexedAt = Set; } @@ -1612,8 +1580,8 @@ pub mod notebook_view_state { pub struct uri(()); ///Marker type for the `cid` field pub struct cid(()); - ///Marker type for the `author` field - pub struct author(()); + ///Marker type for the `authors` field + pub struct authors(()); ///Marker type for the `record` field pub struct record(()); ///Marker type for the `indexed_at` field @@ -1625,7 +1593,7 @@ pub mod notebook_view_state { pub struct NotebookViewBuilder<'a, S: notebook_view_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( - ::core::option::Option>, + ::core::option::Option>>, ::core::option::Option>, ::core::option::Option, ::core::option::Option>, @@ -1654,22 +1622,22 @@ impl<'a> NotebookViewBuilder<'a, notebook_view_state::Empty> { } } -impl<'a, S: notebook_view_state::State> NotebookViewBuilder<'a, S> { - /// Set the `authors` field (optional) +impl<'a, S> NotebookViewBuilder<'a, S> +where + S: notebook_view_state::State, + S::Authors: notebook_view_state::IsUnset, +{ + /// Set the `authors` field (required) pub fn authors( mut self, - value: impl Into>>, - ) -> Self { - self.__unsafe_private_named.0 = value.into(); - self - } - /// Set the `authors` field to an Option value (optional) - pub fn maybe_authors( - mut self, - value: Option>, - ) -> Self { - self.__unsafe_private_named.0 = value; - self + value: impl Into>>, + ) -> NotebookViewBuilder<'a, notebook_view_state::SetAuthors> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + NotebookViewBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } } } @@ -1792,14 +1760,14 @@ where S: notebook_view_state::State, S::Uri: notebook_view_state::IsSet, S::Cid: notebook_view_state::IsSet, - S::Author: notebook_view_state::IsSet, + S::Authors: notebook_view_state::IsSet, S::Record: notebook_view_state::IsSet, S::IndexedAt: notebook_view_state::IsSet, { /// Build the final struct pub fn build(self) -> NotebookView<'a> { NotebookView { - authors: self.__unsafe_private_named.0, + authors: self.__unsafe_private_named.0.unwrap(), cid: self.__unsafe_private_named.1.unwrap(), indexed_at: self.__unsafe_private_named.2.unwrap(), record: self.__unsafe_private_named.3.unwrap(), @@ -1818,7 +1786,7 @@ where >, ) -> NotebookView<'a> { NotebookView { - authors: self.__unsafe_private_named.0, + authors: self.__unsafe_private_named.0.unwrap(), cid: self.__unsafe_private_named.1.unwrap(), indexed_at: self.__unsafe_private_named.2.unwrap(), record: self.__unsafe_private_named.3.unwrap(), diff --git a/crates/jacquard-api/src/sh_weaver/notebook/book.rs b/crates/jacquard-api/src/sh_weaver/notebook/book.rs index 994aec6f3..89d9a7be9 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/book.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/book.rs @@ -30,6 +30,9 @@ pub struct Book<'a> { pub tags: Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] + pub theme: Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] pub title: Option>, } @@ -85,6 +88,7 @@ pub struct BookBuilder<'a, S: book_state::State> { ::core::option::Option, ::core::option::Option>>, ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -102,7 +106,7 @@ impl<'a> BookBuilder<'a, book_state::Empty> { pub fn new() -> Self { BookBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None), + __unsafe_private_named: (None, None, None, None, None, None), _phantom: ::core::marker::PhantomData, } } @@ -184,13 +188,32 @@ impl<'a, S: book_state::State> BookBuilder<'a, S> { } } +impl<'a, S: book_state::State> BookBuilder<'a, S> { + /// Set the `theme` field (optional) + pub fn theme( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `theme` field to an Option value (optional) + pub fn maybe_theme( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + impl<'a, S: book_state::State> BookBuilder<'a, S> { /// Set the `title` field (optional) pub fn title( mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.4 = value.into(); + self.__unsafe_private_named.5 = value.into(); self } /// Set the `title` field to an Option value (optional) @@ -198,7 +221,7 @@ impl<'a, S: book_state::State> BookBuilder<'a, S> { mut self, value: Option>, ) -> Self { - self.__unsafe_private_named.4 = value; + self.__unsafe_private_named.5 = value; self } } @@ -216,7 +239,8 @@ where created_at: self.__unsafe_private_named.1, entry_list: self.__unsafe_private_named.2.unwrap(), tags: self.__unsafe_private_named.3, - title: self.__unsafe_private_named.4, + theme: self.__unsafe_private_named.4, + title: self.__unsafe_private_named.5, extra_data: Default::default(), } } @@ -233,7 +257,8 @@ where created_at: self.__unsafe_private_named.1, entry_list: self.__unsafe_private_named.2.unwrap(), tags: self.__unsafe_private_named.3, - title: self.__unsafe_private_named.4, + theme: self.__unsafe_private_named.4, + title: self.__unsafe_private_named.5, extra_data: Some(extra_data), } } @@ -410,6 +435,15 @@ fn lexicon_doc_sh_weaver_notebook_book() -> ::jacquard_lexicon::lexicon::Lexicon ), }), ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("theme"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("title"), ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { diff --git a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs index 3fc6012f7..52030b632 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/chapter.rs @@ -5,7 +5,7 @@ // This file was automatically generated from Lexicon schemas. // Any manual changes will be overwritten on the next regeneration. -/// A grouping of entries in a notebook, intended to be displayed as a single page. +/// A grouping of entries in a notebook. #[jacquard_derive::lexicon] #[derive( serde::Serialize, @@ -18,12 +18,14 @@ )] #[serde(rename_all = "camelCase")] pub struct Chapter<'a> { + #[serde(borrow)] + pub authors: Vec>, /// Client-declared timestamp when this was originally created. #[serde(skip_serializing_if = "std::option::Option::is_none")] pub created_at: Option, #[serde(borrow)] pub entry_list: Vec>, - /// The notebook this page belongs to. + /// The notebook this chapter belongs to. #[serde(borrow)] pub notebook: crate::com_atproto::repo::strong_ref::StrongRef<'a>, #[serde(skip_serializing_if = "std::option::Option::is_none")] @@ -96,6 +98,7 @@ pub mod chapter_state { pub struct ChapterBuilder<'a, S: chapter_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( + ::core::option::Option>>, ::core::option::Option, ::core::option::Option>>, ::core::option::Option>, @@ -117,7 +120,26 @@ impl<'a> ChapterBuilder<'a, chapter_state::Empty> { pub fn new() -> Self { ChapterBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None, None, None, None, None), + __unsafe_private_named: (None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ChapterBuilder<'a, S> +where + S: chapter_state::State, + S::Authors: chapter_state::IsUnset, +{ + /// Set the `authors` field (required) + pub fn authors( + mut self, + value: impl Into>>, + ) -> ChapterBuilder<'a, chapter_state::SetAuthors> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ChapterBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, } } @@ -129,7 +151,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: impl Into>, ) -> Self { - self.__unsafe_private_named.0 = value.into(); + self.__unsafe_private_named.1 = value.into(); self } /// Set the `createdAt` field to an Option value (optional) @@ -137,7 +159,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: Option, ) -> Self { - self.__unsafe_private_named.0 = value; + self.__unsafe_private_named.1 = value; self } } @@ -152,7 +174,7 @@ where mut self, value: impl Into>>, ) -> ChapterBuilder<'a, chapter_state::SetEntryList> { - self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); ChapterBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -171,7 +193,7 @@ where mut self, value: impl Into>, ) -> ChapterBuilder<'a, chapter_state::SetNotebook> { - self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); ChapterBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -186,7 +208,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.3 = value.into(); + self.__unsafe_private_named.4 = value.into(); self } /// Set the `tags` field to an Option value (optional) @@ -194,7 +216,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: Option>, ) -> Self { - self.__unsafe_private_named.3 = value; + self.__unsafe_private_named.4 = value; self } } @@ -205,7 +227,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: impl Into>>, ) -> Self { - self.__unsafe_private_named.4 = value.into(); + self.__unsafe_private_named.5 = value.into(); self } /// Set the `title` field to an Option value (optional) @@ -213,7 +235,7 @@ impl<'a, S: chapter_state::State> ChapterBuilder<'a, S> { mut self, value: Option>, ) -> Self { - self.__unsafe_private_named.4 = value; + self.__unsafe_private_named.5 = value; self } } @@ -228,11 +250,12 @@ where /// Build the final struct pub fn build(self) -> Chapter<'a> { Chapter { - created_at: self.__unsafe_private_named.0, - entry_list: self.__unsafe_private_named.1.unwrap(), - notebook: self.__unsafe_private_named.2.unwrap(), - tags: self.__unsafe_private_named.3, - title: self.__unsafe_private_named.4, + authors: self.__unsafe_private_named.0.unwrap(), + created_at: self.__unsafe_private_named.1, + entry_list: self.__unsafe_private_named.2.unwrap(), + notebook: self.__unsafe_private_named.3.unwrap(), + tags: self.__unsafe_private_named.4, + title: self.__unsafe_private_named.5, extra_data: Default::default(), } } @@ -245,11 +268,12 @@ where >, ) -> Chapter<'a> { Chapter { - created_at: self.__unsafe_private_named.0, - entry_list: self.__unsafe_private_named.1.unwrap(), - notebook: self.__unsafe_private_named.2.unwrap(), - tags: self.__unsafe_private_named.3, - title: self.__unsafe_private_named.4, + authors: self.__unsafe_private_named.0.unwrap(), + created_at: self.__unsafe_private_named.1, + entry_list: self.__unsafe_private_named.2.unwrap(), + notebook: self.__unsafe_private_named.3.unwrap(), + tags: self.__unsafe_private_named.4, + title: self.__unsafe_private_named.5, extra_data: Some(extra_data), } } @@ -348,7 +372,7 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { description: Some( ::jacquard_common::CowStr::new_static( - "A grouping of entries in a notebook, intended to be displayed as a single page.", + "A grouping of entries in a notebook.", ), ), key: Some(::jacquard_common::CowStr::new_static("tid")), @@ -365,6 +389,20 @@ fn lexicon_doc_sh_weaver_notebook_chapter() -> ::jacquard_lexicon::lexicon::Lexi properties: { #[allow(unused_mut)] let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.actor.defs#author", + ), + }), + min_length: None, + max_length: None, + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static( "createdAt", diff --git a/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs new file mode 100644 index 000000000..bdd7df262 --- /dev/null +++ b/crates/jacquard-api/src/sh_weaver/notebook/colour_scheme.rs @@ -0,0 +1,784 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: sh.weaver.notebook.colourScheme +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A colour palette for notebook theming +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ColourScheme<'a> { + #[serde(borrow)] + pub colours: ColourSchemeColours<'a>, + /// Human-readable name for the colour scheme + #[serde(borrow)] + pub name: jacquard_common::CowStr<'a>, + /// Whether this is a dark or light colour scheme + #[serde(borrow)] + pub variant: jacquard_common::CowStr<'a>, +} + +pub mod colour_scheme_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Name; + type Variant; + type Colours; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Name = Unset; + type Variant = Unset; + type Colours = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Variant = S::Variant; + type Colours = S::Colours; + } + ///State transition - sets the `variant` field to Set + pub struct SetVariant(PhantomData S>); + impl sealed::Sealed for SetVariant {} + impl State for SetVariant { + type Name = S::Name; + type Variant = Set; + type Colours = S::Colours; + } + ///State transition - sets the `colours` field to Set + pub struct SetColours(PhantomData S>); + impl sealed::Sealed for SetColours {} + impl State for SetColours { + type Name = S::Name; + type Variant = S::Variant; + type Colours = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `variant` field + pub struct variant(()); + ///Marker type for the `colours` field + pub struct colours(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ColourSchemeBuilder<'a, S: colour_scheme_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> ColourScheme<'a> { + /// Create a new builder for this type + pub fn new() -> ColourSchemeBuilder<'a, colour_scheme_state::Empty> { + ColourSchemeBuilder::new() + } +} + +impl<'a> ColourSchemeBuilder<'a, colour_scheme_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ColourSchemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ColourSchemeBuilder<'a, S> +where + S: colour_scheme_state::State, + S::Colours: colour_scheme_state::IsUnset, +{ + /// Set the `colours` field (required) + pub fn colours( + mut self, + value: impl Into>, + ) -> ColourSchemeBuilder<'a, colour_scheme_state::SetColours> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ColourSchemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ColourSchemeBuilder<'a, S> +where + S: colour_scheme_state::State, + S::Name: colour_scheme_state::IsUnset, +{ + /// Set the `name` field (required) + pub fn name( + mut self, + value: impl Into>, + ) -> ColourSchemeBuilder<'a, colour_scheme_state::SetName> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + ColourSchemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ColourSchemeBuilder<'a, S> +where + S: colour_scheme_state::State, + S::Variant: colour_scheme_state::IsUnset, +{ + /// Set the `variant` field (required) + pub fn variant( + mut self, + value: impl Into>, + ) -> ColourSchemeBuilder<'a, colour_scheme_state::SetVariant> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + ColourSchemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ColourSchemeBuilder<'a, S> +where + S: colour_scheme_state::State, + S::Name: colour_scheme_state::IsSet, + S::Variant: colour_scheme_state::IsSet, + S::Colours: colour_scheme_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> ColourScheme<'a> { + ColourScheme { + colours: self.__unsafe_private_named.0.unwrap(), + name: self.__unsafe_private_named.1.unwrap(), + variant: self.__unsafe_private_named.2.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> ColourScheme<'a> { + ColourScheme { + colours: self.__unsafe_private_named.0.unwrap(), + name: self.__unsafe_private_named.1.unwrap(), + variant: self.__unsafe_private_named.2.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> ColourScheme<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ColourSchemeRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ColourSchemeColours<'a> { + /// Primary background for page/frame + #[serde(borrow)] + pub base: jacquard_common::CowStr<'a>, + /// Border/divider colour + #[serde(borrow)] + pub border: jacquard_common::CowStr<'a>, + /// Emphasized text (bold, important) + #[serde(borrow)] + pub emphasis: jacquard_common::CowStr<'a>, + /// Error state colour + #[serde(borrow)] + pub error: jacquard_common::CowStr<'a>, + /// Selection/highlight colour + #[serde(borrow)] + pub highlight: jacquard_common::CowStr<'a>, + /// Hyperlink colour + #[serde(borrow)] + pub link: jacquard_common::CowStr<'a>, + /// De-emphasized text (disabled, metadata) + #[serde(borrow)] + pub muted: jacquard_common::CowStr<'a>, + /// Tertiary background for popovers/dialogs + #[serde(borrow)] + pub overlay: jacquard_common::CowStr<'a>, + /// Primary brand/accent colour + #[serde(borrow)] + pub primary: jacquard_common::CowStr<'a>, + /// Secondary accent colour + #[serde(borrow)] + pub secondary: jacquard_common::CowStr<'a>, + /// Medium emphasis text (comments, labels) + #[serde(borrow)] + pub subtle: jacquard_common::CowStr<'a>, + /// Success state colour + #[serde(borrow)] + pub success: jacquard_common::CowStr<'a>, + /// Secondary background for panels/cards + #[serde(borrow)] + pub surface: jacquard_common::CowStr<'a>, + /// Tertiary accent colour + #[serde(borrow)] + pub tertiary: jacquard_common::CowStr<'a>, + /// Primary readable text colour + #[serde(borrow)] + pub text: jacquard_common::CowStr<'a>, + /// Warning state colour + #[serde(borrow)] + pub warning: jacquard_common::CowStr<'a>, +} + +fn lexicon_doc_sh_weaver_notebook_colourScheme() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("sh.weaver.notebook.colourScheme"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "A colour palette for notebook theming", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::smol_str::SmolStr::new_static("variant"), + ::jacquard_common::smol_str::SmolStr::new_static("colours") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("colours"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("base"), + ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_common::smol_str::SmolStr::new_static("overlay"), + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_common::smol_str::SmolStr::new_static("subtle"), + ::jacquard_common::smol_str::SmolStr::new_static("emphasis"), + ::jacquard_common::smol_str::SmolStr::new_static("primary"), + ::jacquard_common::smol_str::SmolStr::new_static("secondary"), + ::jacquard_common::smol_str::SmolStr::new_static("tertiary"), + ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_common::smol_str::SmolStr::new_static("warning"), + ::jacquard_common::smol_str::SmolStr::new_static("success"), + ::jacquard_common::smol_str::SmolStr::new_static("border"), + ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_common::smol_str::SmolStr::new_static("highlight") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("base"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Primary background for page/frame", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("border"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Border/divider colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "emphasis", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Emphasized text (bold, important)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("error"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Error state colour"), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "highlight", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Selection/highlight colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("link"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static("Hyperlink colour"), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("muted"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "De-emphasized text (disabled, metadata)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("overlay"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Tertiary background for popovers/dialogs", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("primary"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Primary brand/accent colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "secondary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Secondary accent colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("subtle"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Medium emphasis text (comments, labels)", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("success"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Success state colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("surface"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Secondary background for panels/cards", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "tertiary", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Tertiary accent colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("text"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Primary readable text colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("warning"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Warning state colour", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Human-readable name for the colour scheme", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("variant"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Whether this is a dark or light colour scheme", + ), + ), + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ColourSchemeColours<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.colourScheme" + } + fn def_name() -> &'static str { + "ColourSchemeColours" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_colourScheme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ColourSchemeGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: ColourScheme<'a>, +} + +impl From> for ColourScheme<'_> { + fn from(output: ColourSchemeGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for ColourScheme<'_> { + const NSID: &'static str = "sh.weaver.notebook.colourScheme"; + type Record = ColourSchemeRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ColourSchemeRecord; +impl jacquard_common::xrpc::XrpcResp for ColourSchemeRecord { + const NSID: &'static str = "sh.weaver.notebook.colourScheme"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ColourSchemeGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ColourSchemeRecord { + const NSID: &'static str = "sh.weaver.notebook.colourScheme"; + type Record = ColourSchemeRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ColourScheme<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.colourScheme" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_colourScheme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs index 88cc1ed49..fba643f38 100644 --- a/crates/jacquard-api/src/sh_weaver/notebook/entry.rs +++ b/crates/jacquard-api/src/sh_weaver/notebook/entry.rs @@ -23,10 +23,10 @@ pub struct Entry<'a> { pub content: jacquard_common::CowStr<'a>, /// Client-declared timestamp when this was originally created. pub created_at: jacquard_common::types::string::Datetime, - /// The set of images, if any, embedded in the notebook entry. + /// The set of images and records, if any, embedded in the notebook entry. #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub images: Option>, + pub embeds: Option>, #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] pub tags: Option>, @@ -98,7 +98,7 @@ pub struct EntryBuilder<'a, S: entry_state::State> { __unsafe_private_named: ( ::core::option::Option>, ::core::option::Option, - ::core::option::Option>, + ::core::option::Option>, ::core::option::Option>, ::core::option::Option>, ), @@ -162,19 +162,13 @@ where } impl<'a, S: entry_state::State> EntryBuilder<'a, S> { - /// Set the `images` field (optional) - pub fn images( - mut self, - value: impl Into>>, - ) -> Self { + /// Set the `embeds` field (optional) + pub fn embeds(mut self, value: impl Into>>) -> Self { self.__unsafe_private_named.2 = value.into(); self } - /// Set the `images` field to an Option value (optional) - pub fn maybe_images( - mut self, - value: Option>, - ) -> Self { + /// Set the `embeds` field to an Option value (optional) + pub fn maybe_embeds(mut self, value: Option>) -> Self { self.__unsafe_private_named.2 = value; self } @@ -230,7 +224,7 @@ where Entry { content: self.__unsafe_private_named.0.unwrap(), created_at: self.__unsafe_private_named.1.unwrap(), - images: self.__unsafe_private_named.2, + embeds: self.__unsafe_private_named.2, tags: self.__unsafe_private_named.3, title: self.__unsafe_private_named.4.unwrap(), extra_data: Default::default(), @@ -247,7 +241,7 @@ where Entry { content: self.__unsafe_private_named.0.unwrap(), created_at: self.__unsafe_private_named.1.unwrap(), - images: self.__unsafe_private_named.2, + embeds: self.__unsafe_private_named.2, tags: self.__unsafe_private_named.3, title: self.__unsafe_private_named.4.unwrap(), extra_data: Some(extra_data), @@ -268,7 +262,8 @@ impl<'a> Entry<'a> { } } -/// Typed wrapper for GetRecord response with this collection's record type. +/// The set of images and records, if any, embedded in the notebook entry. +#[jacquard_derive::lexicon] #[derive( serde::Serialize, serde::Deserialize, @@ -276,74 +271,28 @@ impl<'a> Entry<'a> { Clone, PartialEq, Eq, - jacquard_derive::IntoStatic + jacquard_derive::IntoStatic, + Default )] #[serde(rename_all = "camelCase")] -pub struct EntryGetRecordOutput<'a> { +pub struct EntryEmbeds<'a> { #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub cid: std::option::Option>, + pub externals: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub uri: jacquard_common::types::string::AtUri<'a>, + pub images: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] #[serde(borrow)] - pub value: Entry<'a>, -} - -impl From> for Entry<'_> { - fn from(output: EntryGetRecordOutput<'_>) -> Self { - use jacquard_common::IntoStatic; - output.value.into_static() - } -} - -impl jacquard_common::types::collection::Collection for Entry<'_> { - const NSID: &'static str = "sh.weaver.notebook.entry"; - type Record = EntryRecord; -} - -/// Marker type for deserializing records from this collection. -#[derive(Debug, serde::Serialize, serde::Deserialize)] -pub struct EntryRecord; -impl jacquard_common::xrpc::XrpcResp for EntryRecord { - const NSID: &'static str = "sh.weaver.notebook.entry"; - const ENCODING: &'static str = "application/json"; - type Output<'de> = EntryGetRecordOutput<'de>; - type Err<'de> = jacquard_common::types::collection::RecordError<'de>; -} - -impl jacquard_common::types::collection::Collection for EntryRecord { - const NSID: &'static str = "sh.weaver.notebook.entry"; - type Record = EntryRecord; -} - -impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Entry<'a> { - fn nsid() -> &'static str { - "sh.weaver.notebook.entry" - } - fn def_name() -> &'static str { - "main" - } - fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { - lexicon_doc_sh_weaver_notebook_entry() - } - fn validate( - &self, - ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { - { - let value = &self.content; - #[allow(unused_comparisons)] - if ::len(value.as_ref()) > 200000usize { - return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { - path: ::jacquard_lexicon::validation::ValidationPath::from_field( - "content", - ), - max: 200000usize, - actual: ::len(value.as_ref()), - }); - } - } - Ok(()) - } + pub records: std::option::Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub records_with_media: std::option::Option< + Vec>, + >, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub videos: std::option::Option>, } fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::LexiconDoc< @@ -419,12 +368,74 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico }), ); map.insert( - ::jacquard_common::smol_str::SmolStr::new_static("images"), - ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { - description: None, - r#ref: ::jacquard_common::CowStr::new_static( - "sh.weaver.embed.images", + ::jacquard_common::smol_str::SmolStr::new_static("embeds"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { + description: Some( + ::jacquard_common::CowStr::new_static( + "The set of images and records, if any, embedded in the notebook entry.", + ), ), + required: None, + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "externals", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.external", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("images"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.images", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("records"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.records", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "recordsWithMedia", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.recordWithMedia", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("videos"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.embed.video", + ), + }), + ); + map + }, }), ); map.insert( @@ -453,4 +464,99 @@ fn lexicon_doc_sh_weaver_notebook_entry() -> ::jacquard_lexicon::lexicon::Lexico map }, } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for EntryEmbeds<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.entry" + } + fn def_name() -> &'static str { + "EntryEmbeds" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_entry() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct EntryGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Entry<'a>, +} + +impl From> for Entry<'_> { + fn from(output: EntryGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Entry<'_> { + const NSID: &'static str = "sh.weaver.notebook.entry"; + type Record = EntryRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct EntryRecord; +impl jacquard_common::xrpc::XrpcResp for EntryRecord { + const NSID: &'static str = "sh.weaver.notebook.entry"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = EntryGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for EntryRecord { + const NSID: &'static str = "sh.weaver.notebook.entry"; + type Record = EntryRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Entry<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.entry" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_entry() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.content; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) > 200000usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MaxLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "content", + ), + max: 200000usize, + actual: ::len(value.as_ref()), + }); + } + } + Ok(()) + } } \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_weaver/notebook/page.rs b/crates/jacquard-api/src/sh_weaver/notebook/page.rs new file mode 100644 index 000000000..3d753abaa --- /dev/null +++ b/crates/jacquard-api/src/sh_weaver/notebook/page.rs @@ -0,0 +1,444 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: sh.weaver.notebook.page +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +/// A grouping of entries in a notebook, intended to be displayed as a single page. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Page<'a> { + /// Client-declared timestamp when this was originally created. + #[serde(skip_serializing_if = "std::option::Option::is_none")] + pub created_at: Option, + #[serde(borrow)] + pub entry_list: Vec>, + /// The notebook this page belongs to. + #[serde(borrow)] + pub notebook: crate::com_atproto::repo::strong_ref::StrongRef<'a>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub tags: Option>, + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub title: Option>, +} + +pub mod page_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Notebook; + type Authors; + type EntryList; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Notebook = Unset; + type Authors = Unset; + type EntryList = Unset; + } + ///State transition - sets the `notebook` field to Set + pub struct SetNotebook(PhantomData S>); + impl sealed::Sealed for SetNotebook {} + impl State for SetNotebook { + type Notebook = Set; + type Authors = S::Authors; + type EntryList = S::EntryList; + } + ///State transition - sets the `authors` field to Set + pub struct SetAuthors(PhantomData S>); + impl sealed::Sealed for SetAuthors {} + impl State for SetAuthors { + type Notebook = S::Notebook; + type Authors = Set; + type EntryList = S::EntryList; + } + ///State transition - sets the `entry_list` field to Set + pub struct SetEntryList(PhantomData S>); + impl sealed::Sealed for SetEntryList {} + impl State for SetEntryList { + type Notebook = S::Notebook; + type Authors = S::Authors; + type EntryList = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `notebook` field + pub struct notebook(()); + ///Marker type for the `authors` field + pub struct authors(()); + ///Marker type for the `entry_list` field + pub struct entry_list(()); + } +} + +/// Builder for constructing an instance of this type +pub struct PageBuilder<'a, S: page_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option, + ::core::option::Option>>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Page<'a> { + /// Create a new builder for this type + pub fn new() -> PageBuilder<'a, page_state::Empty> { + PageBuilder::new() + } +} + +impl<'a> PageBuilder<'a, page_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PageBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: page_state::State> PageBuilder<'a, S> { + /// Set the `createdAt` field (optional) + pub fn created_at( + mut self, + value: impl Into>, + ) -> Self { + self.__unsafe_private_named.0 = value.into(); + self + } + /// Set the `createdAt` field to an Option value (optional) + pub fn maybe_created_at( + mut self, + value: Option, + ) -> Self { + self.__unsafe_private_named.0 = value; + self + } +} + +impl<'a, S> PageBuilder<'a, S> +where + S: page_state::State, + S::EntryList: page_state::IsUnset, +{ + /// Set the `entryList` field (required) + pub fn entry_list( + mut self, + value: impl Into>>, + ) -> PageBuilder<'a, page_state::SetEntryList> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + PageBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PageBuilder<'a, S> +where + S: page_state::State, + S::Notebook: page_state::IsUnset, +{ + /// Set the `notebook` field (required) + pub fn notebook( + mut self, + value: impl Into>, + ) -> PageBuilder<'a, page_state::SetNotebook> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + PageBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S: page_state::State> PageBuilder<'a, S> { + /// Set the `tags` field (optional) + pub fn tags( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.3 = value.into(); + self + } + /// Set the `tags` field to an Option value (optional) + pub fn maybe_tags( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.3 = value; + self + } +} + +impl<'a, S: page_state::State> PageBuilder<'a, S> { + /// Set the `title` field (optional) + pub fn title( + mut self, + value: impl Into>>, + ) -> Self { + self.__unsafe_private_named.4 = value.into(); + self + } + /// Set the `title` field to an Option value (optional) + pub fn maybe_title( + mut self, + value: Option>, + ) -> Self { + self.__unsafe_private_named.4 = value; + self + } +} + +impl<'a, S> PageBuilder<'a, S> +where + S: page_state::State, + S::Notebook: page_state::IsSet, + S::Authors: page_state::IsSet, + S::EntryList: page_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Page<'a> { + Page { + created_at: self.__unsafe_private_named.0, + entry_list: self.__unsafe_private_named.1.unwrap(), + notebook: self.__unsafe_private_named.2.unwrap(), + tags: self.__unsafe_private_named.3, + title: self.__unsafe_private_named.4, + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Page<'a> { + Page { + created_at: self.__unsafe_private_named.0, + entry_list: self.__unsafe_private_named.1.unwrap(), + notebook: self.__unsafe_private_named.2.unwrap(), + tags: self.__unsafe_private_named.3, + title: self.__unsafe_private_named.4, + extra_data: Some(extra_data), + } + } +} + +impl<'a> Page<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, PageRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PageGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Page<'a>, +} + +impl From> for Page<'_> { + fn from(output: PageGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Page<'_> { + const NSID: &'static str = "sh.weaver.notebook.page"; + type Record = PageRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct PageRecord; +impl jacquard_common::xrpc::XrpcResp for PageRecord { + const NSID: &'static str = "sh.weaver.notebook.page"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = PageGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for PageRecord { + const NSID: &'static str = "sh.weaver.notebook.page"; + type Record = PageRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Page<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.page" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_page() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +fn lexicon_doc_sh_weaver_notebook_page() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("sh.weaver.notebook.page"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "A grouping of entries in a notebook, intended to be displayed as a single page.", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("notebook"), + ::jacquard_common::smol_str::SmolStr::new_static("authors"), + ::jacquard_common::smol_str::SmolStr::new_static("entryList") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Client-declared timestamp when this was originally created.", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "entryList", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Array(::jacquard_lexicon::lexicon::LexArray { + description: None, + items: ::jacquard_lexicon::lexicon::LexArrayItem::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + min_length: None, + max_length: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "notebook", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tags"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.notebook.defs#tags", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("title"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "sh.weaver.notebook.defs#title", + ), + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_weaver/notebook/theme.rs b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs new file mode 100644 index 000000000..1cc5b055f --- /dev/null +++ b/crates/jacquard-api/src/sh_weaver/notebook/theme.rs @@ -0,0 +1,1051 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: sh.weaver.notebook.theme +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct CodeThemeFile<'a> { + #[serde(borrow)] + pub content: jacquard_common::types::blob::BlobRef<'a>, + #[serde(borrow)] + pub did: jacquard_common::types::string::Did<'a>, + #[serde(borrow)] + pub name: jacquard_common::CowStr<'a>, +} + +pub mod code_theme_file_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type Name; + type Did; + type Content; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type Name = Unset; + type Did = Unset; + type Content = Unset; + } + ///State transition - sets the `name` field to Set + pub struct SetName(PhantomData S>); + impl sealed::Sealed for SetName {} + impl State for SetName { + type Name = Set; + type Did = S::Did; + type Content = S::Content; + } + ///State transition - sets the `did` field to Set + pub struct SetDid(PhantomData S>); + impl sealed::Sealed for SetDid {} + impl State for SetDid { + type Name = S::Name; + type Did = Set; + type Content = S::Content; + } + ///State transition - sets the `content` field to Set + pub struct SetContent(PhantomData S>); + impl sealed::Sealed for SetContent {} + impl State for SetContent { + type Name = S::Name; + type Did = S::Did; + type Content = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `name` field + pub struct name(()); + ///Marker type for the `did` field + pub struct did(()); + ///Marker type for the `content` field + pub struct content(()); + } +} + +/// Builder for constructing an instance of this type +pub struct CodeThemeFileBuilder<'a, S: code_theme_file_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> CodeThemeFile<'a> { + /// Create a new builder for this type + pub fn new() -> CodeThemeFileBuilder<'a, code_theme_file_state::Empty> { + CodeThemeFileBuilder::new() + } +} + +impl<'a> CodeThemeFileBuilder<'a, code_theme_file_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + CodeThemeFileBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CodeThemeFileBuilder<'a, S> +where + S: code_theme_file_state::State, + S::Content: code_theme_file_state::IsUnset, +{ + /// Set the `content` field (required) + pub fn content( + mut self, + value: impl Into>, + ) -> CodeThemeFileBuilder<'a, code_theme_file_state::SetContent> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + CodeThemeFileBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CodeThemeFileBuilder<'a, S> +where + S: code_theme_file_state::State, + S::Did: code_theme_file_state::IsUnset, +{ + /// Set the `did` field (required) + pub fn did( + mut self, + value: impl Into>, + ) -> CodeThemeFileBuilder<'a, code_theme_file_state::SetDid> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + CodeThemeFileBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CodeThemeFileBuilder<'a, S> +where + S: code_theme_file_state::State, + S::Name: code_theme_file_state::IsUnset, +{ + /// Set the `name` field (required) + pub fn name( + mut self, + value: impl Into>, + ) -> CodeThemeFileBuilder<'a, code_theme_file_state::SetName> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + CodeThemeFileBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> CodeThemeFileBuilder<'a, S> +where + S: code_theme_file_state::State, + S::Name: code_theme_file_state::IsSet, + S::Did: code_theme_file_state::IsSet, + S::Content: code_theme_file_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> CodeThemeFile<'a> { + CodeThemeFile { + content: self.__unsafe_private_named.0.unwrap(), + did: self.__unsafe_private_named.1.unwrap(), + name: self.__unsafe_private_named.2.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> CodeThemeFile<'a> { + CodeThemeFile { + content: self.__unsafe_private_named.0.unwrap(), + did: self.__unsafe_private_named.1.unwrap(), + name: self.__unsafe_private_named.2.unwrap(), + extra_data: Some(extra_data), + } + } +} + +fn lexicon_doc_sh_weaver_notebook_theme() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("sh.weaver.notebook.theme"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("codeThemeFile"), + ::jacquard_lexicon::lexicon::LexUserType::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_common::smol_str::SmolStr::new_static("content") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("content"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { + description: None, + accept: None, + max_size: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("did"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Did, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("name"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("codeThemeName"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static("Theme for a notebook"), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("darkScheme"), + ::jacquard_common::smol_str::SmolStr::new_static("lightScheme"), + ::jacquard_common::smol_str::SmolStr::new_static("fonts"), + ::jacquard_common::smol_str::SmolStr::new_static("spacing"), + ::jacquard_common::smol_str::SmolStr::new_static("darkCodeTheme"), + ::jacquard_common::smol_str::SmolStr::new_static("lightCodeTheme") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "darkCodeTheme", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: Some( + ::jacquard_common::CowStr::new_static( + "Syntax highlighting theme for dark mode", + ), + ), + refs: vec![ + ::jacquard_common::CowStr::new_static("#codeThemeName"), + ::jacquard_common::CowStr::new_static("#codeThemeFile") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "darkScheme", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("fonts"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_common::smol_str::SmolStr::new_static("heading"), + ::jacquard_common::smol_str::SmolStr::new_static("monospace") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("body"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("heading"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "monospace", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "lightCodeTheme", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Union(::jacquard_lexicon::lexicon::LexRefUnion { + description: Some( + ::jacquard_common::CowStr::new_static( + "Syntax highlighting theme for light mode", + ), + ), + refs: vec![ + ::jacquard_common::CowStr::new_static("#codeThemeName"), + ::jacquard_common::CowStr::new_static("#codeThemeFile") + ], + closed: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "lightScheme", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("spacing"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("baseSize"), + ::jacquard_common::smol_str::SmolStr::new_static("lineHeight"), + ::jacquard_common::smol_str::SmolStr::new_static("scale") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "baseSize", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "lineHeight", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("scale"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map + }, + }), + ); + map + }, + }), + }), + ); + map + }, + } +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for CodeThemeFile<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.theme" + } + fn def_name() -> &'static str { + "codeThemeFile" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_theme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +pub type CodeThemeName<'a> = jacquard_common::CowStr<'a>; +/// Theme for a notebook +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Theme<'a> { + /// Syntax highlighting theme for dark mode + #[serde(borrow)] + pub dark_code_theme: ThemeDarkCodeTheme<'a>, + /// Reference to a dark colour scheme + #[serde(borrow)] + pub dark_scheme: crate::com_atproto::repo::strong_ref::StrongRef<'a>, + #[serde(borrow)] + pub fonts: ThemeFonts<'a>, + /// Syntax highlighting theme for light mode + #[serde(borrow)] + pub light_code_theme: ThemeLightCodeTheme<'a>, + /// Reference to a light colour scheme + #[serde(borrow)] + pub light_scheme: crate::com_atproto::repo::strong_ref::StrongRef<'a>, + #[serde(borrow)] + pub spacing: ThemeSpacing<'a>, +} + +pub mod theme_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type DarkScheme; + type LightScheme; + type Fonts; + type Spacing; + type DarkCodeTheme; + type LightCodeTheme; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type DarkScheme = Unset; + type LightScheme = Unset; + type Fonts = Unset; + type Spacing = Unset; + type DarkCodeTheme = Unset; + type LightCodeTheme = Unset; + } + ///State transition - sets the `dark_scheme` field to Set + pub struct SetDarkScheme(PhantomData S>); + impl sealed::Sealed for SetDarkScheme {} + impl State for SetDarkScheme { + type DarkScheme = Set; + type LightScheme = S::LightScheme; + type Fonts = S::Fonts; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `light_scheme` field to Set + pub struct SetLightScheme(PhantomData S>); + impl sealed::Sealed for SetLightScheme {} + impl State for SetLightScheme { + type DarkScheme = S::DarkScheme; + type LightScheme = Set; + type Fonts = S::Fonts; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `fonts` field to Set + pub struct SetFonts(PhantomData S>); + impl sealed::Sealed for SetFonts {} + impl State for SetFonts { + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Fonts = Set; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `spacing` field to Set + pub struct SetSpacing(PhantomData S>); + impl sealed::Sealed for SetSpacing {} + impl State for SetSpacing { + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Fonts = S::Fonts; + type Spacing = Set; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `dark_code_theme` field to Set + pub struct SetDarkCodeTheme(PhantomData S>); + impl sealed::Sealed for SetDarkCodeTheme {} + impl State for SetDarkCodeTheme { + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Fonts = S::Fonts; + type Spacing = S::Spacing; + type DarkCodeTheme = Set; + type LightCodeTheme = S::LightCodeTheme; + } + ///State transition - sets the `light_code_theme` field to Set + pub struct SetLightCodeTheme(PhantomData S>); + impl sealed::Sealed for SetLightCodeTheme {} + impl State for SetLightCodeTheme { + type DarkScheme = S::DarkScheme; + type LightScheme = S::LightScheme; + type Fonts = S::Fonts; + type Spacing = S::Spacing; + type DarkCodeTheme = S::DarkCodeTheme; + type LightCodeTheme = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `dark_scheme` field + pub struct dark_scheme(()); + ///Marker type for the `light_scheme` field + pub struct light_scheme(()); + ///Marker type for the `fonts` field + pub struct fonts(()); + ///Marker type for the `spacing` field + pub struct spacing(()); + ///Marker type for the `dark_code_theme` field + pub struct dark_code_theme(()); + ///Marker type for the `light_code_theme` field + pub struct light_code_theme(()); + } +} + +/// Builder for constructing an instance of this type +pub struct ThemeBuilder<'a, S: theme_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Theme<'a> { + /// Create a new builder for this type + pub fn new() -> ThemeBuilder<'a, theme_state::Empty> { + ThemeBuilder::new() + } +} + +impl<'a> ThemeBuilder<'a, theme_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::DarkCodeTheme: theme_state::IsUnset, +{ + /// Set the `darkCodeTheme` field (required) + pub fn dark_code_theme( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetDarkCodeTheme> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::DarkScheme: theme_state::IsUnset, +{ + /// Set the `darkScheme` field (required) + pub fn dark_scheme( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetDarkScheme> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::Fonts: theme_state::IsUnset, +{ + /// Set the `fonts` field (required) + pub fn fonts( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetFonts> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::LightCodeTheme: theme_state::IsUnset, +{ + /// Set the `lightCodeTheme` field (required) + pub fn light_code_theme( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetLightCodeTheme> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::LightScheme: theme_state::IsUnset, +{ + /// Set the `lightScheme` field (required) + pub fn light_scheme( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetLightScheme> { + self.__unsafe_private_named.4 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::Spacing: theme_state::IsUnset, +{ + /// Set the `spacing` field (required) + pub fn spacing( + mut self, + value: impl Into>, + ) -> ThemeBuilder<'a, theme_state::SetSpacing> { + self.__unsafe_private_named.5 = ::core::option::Option::Some(value.into()); + ThemeBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> ThemeBuilder<'a, S> +where + S: theme_state::State, + S::DarkScheme: theme_state::IsSet, + S::LightScheme: theme_state::IsSet, + S::Fonts: theme_state::IsSet, + S::Spacing: theme_state::IsSet, + S::DarkCodeTheme: theme_state::IsSet, + S::LightCodeTheme: theme_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Theme<'a> { + Theme { + dark_code_theme: self.__unsafe_private_named.0.unwrap(), + dark_scheme: self.__unsafe_private_named.1.unwrap(), + fonts: self.__unsafe_private_named.2.unwrap(), + light_code_theme: self.__unsafe_private_named.3.unwrap(), + light_scheme: self.__unsafe_private_named.4.unwrap(), + spacing: self.__unsafe_private_named.5.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Theme<'a> { + Theme { + dark_code_theme: self.__unsafe_private_named.0.unwrap(), + dark_scheme: self.__unsafe_private_named.1.unwrap(), + fonts: self.__unsafe_private_named.2.unwrap(), + light_code_theme: self.__unsafe_private_named.3.unwrap(), + light_scheme: self.__unsafe_private_named.4.unwrap(), + spacing: self.__unsafe_private_named.5.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> Theme<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, ThemeRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ThemeDarkCodeTheme<'a> { + #[serde(rename = "sh.weaver.notebook.theme#codeThemeName")] + CodeThemeName(Box>), + #[serde(rename = "sh.weaver.notebook.theme#codeThemeFile")] + CodeThemeFile(Box>), +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ThemeFonts<'a> { + #[serde(borrow)] + pub body: jacquard_common::CowStr<'a>, + #[serde(borrow)] + pub heading: jacquard_common::CowStr<'a>, + #[serde(borrow)] + pub monospace: jacquard_common::CowStr<'a>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ThemeFonts<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.theme" + } + fn def_name() -> &'static str { + "ThemeFonts" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_theme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +#[jacquard_derive::open_union] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(tag = "$type")] +#[serde(bound(deserialize = "'de: 'a"))] +pub enum ThemeLightCodeTheme<'a> { + #[serde(rename = "sh.weaver.notebook.theme#codeThemeName")] + CodeThemeName(Box>), + #[serde(rename = "sh.weaver.notebook.theme#codeThemeFile")] + CodeThemeFile(Box>), +} + +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic, + Default +)] +#[serde(rename_all = "camelCase")] +pub struct ThemeSpacing<'a> { + #[serde(borrow)] + pub base_size: jacquard_common::CowStr<'a>, + #[serde(borrow)] + pub line_height: jacquard_common::CowStr<'a>, + #[serde(borrow)] + pub scale: jacquard_common::CowStr<'a>, +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for ThemeSpacing<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.theme" + } + fn def_name() -> &'static str { + "ThemeSpacing" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_theme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct ThemeGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Theme<'a>, +} + +impl From> for Theme<'_> { + fn from(output: ThemeGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Theme<'_> { + const NSID: &'static str = "sh.weaver.notebook.theme"; + type Record = ThemeRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct ThemeRecord; +impl jacquard_common::xrpc::XrpcResp for ThemeRecord { + const NSID: &'static str = "sh.weaver.notebook.theme"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = ThemeGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for ThemeRecord { + const NSID: &'static str = "sh.weaver.notebook.theme"; + type Record = ThemeRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Theme<'a> { + fn nsid() -> &'static str { + "sh.weaver.notebook.theme" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_sh_weaver_notebook_theme() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} \ No newline at end of file diff --git a/crates/jacquard-api/src/sh_weaver/publish/blob.rs b/crates/jacquard-api/src/sh_weaver/publish/blob.rs index 4993bf1a2..c5320433a 100644 --- a/crates/jacquard-api/src/sh_weaver/publish/blob.rs +++ b/crates/jacquard-api/src/sh_weaver/publish/blob.rs @@ -18,6 +18,9 @@ )] #[serde(rename_all = "camelCase")] pub struct Blob<'a> { + /// relative path to the blob + #[serde(borrow)] + pub path: jacquard_common::CowStr<'a>, /// Reference to the uploaded file #[serde(borrow)] pub upload: jacquard_common::types::blob::BlobRef<'a>, @@ -34,24 +37,36 @@ pub mod blob_state { /// State trait tracking which required fields have been set pub trait State: sealed::Sealed { type Upload; + type Path; } /// Empty state - all required fields are unset pub struct Empty(()); impl sealed::Sealed for Empty {} impl State for Empty { type Upload = Unset; + type Path = Unset; } ///State transition - sets the `upload` field to Set pub struct SetUpload(PhantomData S>); impl sealed::Sealed for SetUpload {} impl State for SetUpload { type Upload = Set; + type Path = S::Path; + } + ///State transition - sets the `path` field to Set + pub struct SetPath(PhantomData S>); + impl sealed::Sealed for SetPath {} + impl State for SetPath { + type Upload = S::Upload; + type Path = Set; } /// Marker types for field names #[allow(non_camel_case_types)] pub mod members { ///Marker type for the `upload` field pub struct upload(()); + ///Marker type for the `path` field + pub struct path(()); } } @@ -59,6 +74,7 @@ pub mod blob_state { pub struct BlobBuilder<'a, S: blob_state::State> { _phantom_state: ::core::marker::PhantomData S>, __unsafe_private_named: ( + ::core::option::Option>, ::core::option::Option>, ), _phantom: ::core::marker::PhantomData<&'a ()>, @@ -76,7 +92,26 @@ impl<'a> BlobBuilder<'a, blob_state::Empty> { pub fn new() -> Self { BlobBuilder { _phantom_state: ::core::marker::PhantomData, - __unsafe_private_named: (None,), + __unsafe_private_named: (None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> BlobBuilder<'a, S> +where + S: blob_state::State, + S::Path: blob_state::IsUnset, +{ + /// Set the `path` field (required) + pub fn path( + mut self, + value: impl Into>, + ) -> BlobBuilder<'a, blob_state::SetPath> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + BlobBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, _phantom: ::core::marker::PhantomData, } } @@ -92,7 +127,7 @@ where mut self, value: impl Into>, ) -> BlobBuilder<'a, blob_state::SetUpload> { - self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); BlobBuilder { _phantom_state: ::core::marker::PhantomData, __unsafe_private_named: self.__unsafe_private_named, @@ -105,11 +140,13 @@ impl<'a, S> BlobBuilder<'a, S> where S: blob_state::State, S::Upload: blob_state::IsSet, + S::Path: blob_state::IsSet, { /// Build the final struct pub fn build(self) -> Blob<'a> { Blob { - upload: self.__unsafe_private_named.0.unwrap(), + path: self.__unsafe_private_named.0.unwrap(), + upload: self.__unsafe_private_named.1.unwrap(), extra_data: Default::default(), } } @@ -122,7 +159,8 @@ where >, ) -> Blob<'a> { Blob { - upload: self.__unsafe_private_named.0.unwrap(), + path: self.__unsafe_private_named.0.unwrap(), + upload: self.__unsafe_private_named.1.unwrap(), extra_data: Some(extra_data), } } @@ -202,6 +240,19 @@ impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Blob<'a> { fn validate( &self, ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + { + let value = &self.path; + #[allow(unused_comparisons)] + if ::len(value.as_ref()) < 1usize { + return Err(::jacquard_lexicon::validation::ConstraintError::MinLength { + path: ::jacquard_lexicon::validation::ValidationPath::from_field( + "path", + ), + min: 1usize, + actual: ::len(value.as_ref()), + }); + } + } Ok(()) } } @@ -229,13 +280,33 @@ fn lexicon_doc_sh_weaver_publish_blob() -> ::jacquard_lexicon::lexicon::LexiconD description: None, required: Some( vec![ - ::jacquard_common::smol_str::SmolStr::new_static("upload") + ::jacquard_common::smol_str::SmolStr::new_static("upload"), + ::jacquard_common::smol_str::SmolStr::new_static("path") ], ), nullable: None, properties: { #[allow(unused_mut)] let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("path"), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "relative path to the blob", + ), + ), + format: None, + default: None, + min_length: Some(1usize), + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); map.insert( ::jacquard_common::smol_str::SmolStr::new_static("upload"), ::jacquard_lexicon::lexicon::LexObjectProperty::Blob(::jacquard_lexicon::lexicon::LexBlob { diff --git a/crates/jacquard-api/src/tech_manos.rs b/crates/jacquard-api/src/tech_manos.rs new file mode 100644 index 000000000..04f270898 --- /dev/null +++ b/crates/jacquard-api/src/tech_manos.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod twmirror; \ No newline at end of file diff --git a/crates/jacquard-api/src/tech_manos/twmirror.rs b/crates/jacquard-api/src/tech_manos/twmirror.rs new file mode 100644 index 000000000..16034acdb --- /dev/null +++ b/crates/jacquard-api/src/tech_manos/twmirror.rs @@ -0,0 +1,6 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub mod post; \ No newline at end of file diff --git a/crates/jacquard-api/src/tech_manos/twmirror/post.rs b/crates/jacquard-api/src/tech_manos/twmirror/post.rs new file mode 100644 index 000000000..035169d91 --- /dev/null +++ b/crates/jacquard-api/src/tech_manos/twmirror/post.rs @@ -0,0 +1,435 @@ +// @generated by jacquard-lexicon. DO NOT EDIT. +// +// Lexicon: tech.manos.twmirror.post +// +// This file was automatically generated from Lexicon schemas. +// Any manual changes will be overwritten on the next regeneration. + +pub type TwitterId<'a> = jacquard_common::CowStr<'a>; +/// Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref. +#[jacquard_derive::lexicon] +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct Post<'a> { + /// strongRef to mirrored post on Bluesky. + #[serde(borrow)] + pub bsky_post: jacquard_common::types::value::Data<'a>, + /// Tweet timestamp (regardless of backdating setting). + pub created_at: jacquard_common::types::string::Datetime, + /// ID of the mirrored Twitter user. + #[serde(borrow)] + pub tw_user_id: crate::tech_manos::twmirror::post::TwitterId<'a>, + /// ID of mirrored tweet. + #[serde(borrow)] + pub tweet_id: crate::tech_manos::twmirror::post::TwitterId<'a>, +} + +pub mod post_state { + + pub use crate::builder_types::{Set, Unset, IsSet, IsUnset}; + #[allow(unused)] + use ::core::marker::PhantomData; + mod sealed { + pub trait Sealed {} + } + /// State trait tracking which required fields have been set + pub trait State: sealed::Sealed { + type TweetId; + type TwUserId; + type BskyPost; + type CreatedAt; + } + /// Empty state - all required fields are unset + pub struct Empty(()); + impl sealed::Sealed for Empty {} + impl State for Empty { + type TweetId = Unset; + type TwUserId = Unset; + type BskyPost = Unset; + type CreatedAt = Unset; + } + ///State transition - sets the `tweet_id` field to Set + pub struct SetTweetId(PhantomData S>); + impl sealed::Sealed for SetTweetId {} + impl State for SetTweetId { + type TweetId = Set; + type TwUserId = S::TwUserId; + type BskyPost = S::BskyPost; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `tw_user_id` field to Set + pub struct SetTwUserId(PhantomData S>); + impl sealed::Sealed for SetTwUserId {} + impl State for SetTwUserId { + type TweetId = S::TweetId; + type TwUserId = Set; + type BskyPost = S::BskyPost; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `bsky_post` field to Set + pub struct SetBskyPost(PhantomData S>); + impl sealed::Sealed for SetBskyPost {} + impl State for SetBskyPost { + type TweetId = S::TweetId; + type TwUserId = S::TwUserId; + type BskyPost = Set; + type CreatedAt = S::CreatedAt; + } + ///State transition - sets the `created_at` field to Set + pub struct SetCreatedAt(PhantomData S>); + impl sealed::Sealed for SetCreatedAt {} + impl State for SetCreatedAt { + type TweetId = S::TweetId; + type TwUserId = S::TwUserId; + type BskyPost = S::BskyPost; + type CreatedAt = Set; + } + /// Marker types for field names + #[allow(non_camel_case_types)] + pub mod members { + ///Marker type for the `tweet_id` field + pub struct tweet_id(()); + ///Marker type for the `tw_user_id` field + pub struct tw_user_id(()); + ///Marker type for the `bsky_post` field + pub struct bsky_post(()); + ///Marker type for the `created_at` field + pub struct created_at(()); + } +} + +/// Builder for constructing an instance of this type +pub struct PostBuilder<'a, S: post_state::State> { + _phantom_state: ::core::marker::PhantomData S>, + __unsafe_private_named: ( + ::core::option::Option>, + ::core::option::Option, + ::core::option::Option>, + ::core::option::Option>, + ), + _phantom: ::core::marker::PhantomData<&'a ()>, +} + +impl<'a> Post<'a> { + /// Create a new builder for this type + pub fn new() -> PostBuilder<'a, post_state::Empty> { + PostBuilder::new() + } +} + +impl<'a> PostBuilder<'a, post_state::Empty> { + /// Create a new builder with all fields unset + pub fn new() -> Self { + PostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: (None, None, None, None), + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PostBuilder<'a, S> +where + S: post_state::State, + S::BskyPost: post_state::IsUnset, +{ + /// Set the `bskyPost` field (required) + pub fn bsky_post( + mut self, + value: impl Into>, + ) -> PostBuilder<'a, post_state::SetBskyPost> { + self.__unsafe_private_named.0 = ::core::option::Option::Some(value.into()); + PostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PostBuilder<'a, S> +where + S: post_state::State, + S::CreatedAt: post_state::IsUnset, +{ + /// Set the `createdAt` field (required) + pub fn created_at( + mut self, + value: impl Into, + ) -> PostBuilder<'a, post_state::SetCreatedAt> { + self.__unsafe_private_named.1 = ::core::option::Option::Some(value.into()); + PostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PostBuilder<'a, S> +where + S: post_state::State, + S::TwUserId: post_state::IsUnset, +{ + /// Set the `twUserId` field (required) + pub fn tw_user_id( + mut self, + value: impl Into>, + ) -> PostBuilder<'a, post_state::SetTwUserId> { + self.__unsafe_private_named.2 = ::core::option::Option::Some(value.into()); + PostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PostBuilder<'a, S> +where + S: post_state::State, + S::TweetId: post_state::IsUnset, +{ + /// Set the `tweetId` field (required) + pub fn tweet_id( + mut self, + value: impl Into>, + ) -> PostBuilder<'a, post_state::SetTweetId> { + self.__unsafe_private_named.3 = ::core::option::Option::Some(value.into()); + PostBuilder { + _phantom_state: ::core::marker::PhantomData, + __unsafe_private_named: self.__unsafe_private_named, + _phantom: ::core::marker::PhantomData, + } + } +} + +impl<'a, S> PostBuilder<'a, S> +where + S: post_state::State, + S::TweetId: post_state::IsSet, + S::TwUserId: post_state::IsSet, + S::BskyPost: post_state::IsSet, + S::CreatedAt: post_state::IsSet, +{ + /// Build the final struct + pub fn build(self) -> Post<'a> { + Post { + bsky_post: self.__unsafe_private_named.0.unwrap(), + created_at: self.__unsafe_private_named.1.unwrap(), + tw_user_id: self.__unsafe_private_named.2.unwrap(), + tweet_id: self.__unsafe_private_named.3.unwrap(), + extra_data: Default::default(), + } + } + /// Build the final struct with custom extra_data + pub fn build_with_data( + self, + extra_data: std::collections::BTreeMap< + jacquard_common::smol_str::SmolStr, + jacquard_common::types::value::Data<'a>, + >, + ) -> Post<'a> { + Post { + bsky_post: self.__unsafe_private_named.0.unwrap(), + created_at: self.__unsafe_private_named.1.unwrap(), + tw_user_id: self.__unsafe_private_named.2.unwrap(), + tweet_id: self.__unsafe_private_named.3.unwrap(), + extra_data: Some(extra_data), + } + } +} + +impl<'a> Post<'a> { + pub fn uri( + uri: impl Into>, + ) -> Result< + jacquard_common::types::uri::RecordUri<'a, PostRecord>, + jacquard_common::types::uri::UriError, + > { + jacquard_common::types::uri::RecordUri::try_from_uri( + jacquard_common::types::string::AtUri::new_cow(uri.into())?, + ) + } +} + +/// Typed wrapper for GetRecord response with this collection's record type. +#[derive( + serde::Serialize, + serde::Deserialize, + Debug, + Clone, + PartialEq, + Eq, + jacquard_derive::IntoStatic +)] +#[serde(rename_all = "camelCase")] +pub struct PostGetRecordOutput<'a> { + #[serde(skip_serializing_if = "std::option::Option::is_none")] + #[serde(borrow)] + pub cid: std::option::Option>, + #[serde(borrow)] + pub uri: jacquard_common::types::string::AtUri<'a>, + #[serde(borrow)] + pub value: Post<'a>, +} + +impl From> for Post<'_> { + fn from(output: PostGetRecordOutput<'_>) -> Self { + use jacquard_common::IntoStatic; + output.value.into_static() + } +} + +impl jacquard_common::types::collection::Collection for Post<'_> { + const NSID: &'static str = "tech.manos.twmirror.post"; + type Record = PostRecord; +} + +/// Marker type for deserializing records from this collection. +#[derive(Debug, serde::Serialize, serde::Deserialize)] +pub struct PostRecord; +impl jacquard_common::xrpc::XrpcResp for PostRecord { + const NSID: &'static str = "tech.manos.twmirror.post"; + const ENCODING: &'static str = "application/json"; + type Output<'de> = PostGetRecordOutput<'de>; + type Err<'de> = jacquard_common::types::collection::RecordError<'de>; +} + +impl jacquard_common::types::collection::Collection for PostRecord { + const NSID: &'static str = "tech.manos.twmirror.post"; + type Record = PostRecord; +} + +impl<'a> ::jacquard_lexicon::schema::LexiconSchema for Post<'a> { + fn nsid() -> &'static str { + "tech.manos.twmirror.post" + } + fn def_name() -> &'static str { + "main" + } + fn lexicon_doc() -> ::jacquard_lexicon::lexicon::LexiconDoc<'static> { + lexicon_doc_tech_manos_twmirror_post() + } + fn validate( + &self, + ) -> ::std::result::Result<(), ::jacquard_lexicon::validation::ConstraintError> { + Ok(()) + } +} + +fn lexicon_doc_tech_manos_twmirror_post() -> ::jacquard_lexicon::lexicon::LexiconDoc< + 'static, +> { + ::jacquard_lexicon::lexicon::LexiconDoc { + lexicon: ::jacquard_lexicon::lexicon::Lexicon::Lexicon1, + id: ::jacquard_common::CowStr::new_static("tech.manos.twmirror.post"), + revision: None, + description: None, + defs: { + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("TwitterId"), + ::jacquard_lexicon::lexicon::LexUserType::String(::jacquard_lexicon::lexicon::LexString { + description: None, + format: None, + default: None, + min_length: Some(1usize), + max_length: Some(20usize), + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("main"), + ::jacquard_lexicon::lexicon::LexUserType::Record(::jacquard_lexicon::lexicon::LexRecord { + description: Some( + ::jacquard_common::CowStr::new_static( + "Sidecar record for mirrored Twitter posts. The rkey should match the bskyPost ref.", + ), + ), + key: Some(::jacquard_common::CowStr::new_static("tid")), + record: ::jacquard_lexicon::lexicon::LexRecordRecord::Object(::jacquard_lexicon::lexicon::LexObject { + description: None, + required: Some( + vec![ + ::jacquard_common::smol_str::SmolStr::new_static("tweetId"), + ::jacquard_common::smol_str::SmolStr::new_static("twUserId"), + ::jacquard_common::smol_str::SmolStr::new_static("bskyPost"), + ::jacquard_common::smol_str::SmolStr::new_static("createdAt") + ], + ), + nullable: None, + properties: { + #[allow(unused_mut)] + let mut map = ::std::collections::BTreeMap::new(); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "bskyPost", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static( + "com.atproto.repo.strongRef#strongRef", + ), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "createdAt", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::String(::jacquard_lexicon::lexicon::LexString { + description: Some( + ::jacquard_common::CowStr::new_static( + "Tweet timestamp (regardless of backdating setting).", + ), + ), + format: Some( + ::jacquard_lexicon::lexicon::LexStringFormat::Datetime, + ), + default: None, + min_length: None, + max_length: None, + min_graphemes: None, + max_graphemes: None, + r#enum: None, + r#const: None, + known_values: None, + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static( + "twUserId", + ), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#TwitterId"), + }), + ); + map.insert( + ::jacquard_common::smol_str::SmolStr::new_static("tweetId"), + ::jacquard_lexicon::lexicon::LexObjectProperty::Ref(::jacquard_lexicon::lexicon::LexRef { + description: None, + r#ref: ::jacquard_common::CowStr::new_static("#TwitterId"), + }), + ); + map + }, + }), + }), + ); + map + }, + } +} \ No newline at end of file diff --git a/crates/jacquard-common/src/types/string.rs b/crates/jacquard-common/src/types/string.rs index faae3f259..786b62a44 100644 --- a/crates/jacquard-common/src/types/string.rs +++ b/crates/jacquard-common/src/types/string.rs @@ -3,7 +3,6 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer}; use smol_str::{SmolStr, ToSmolStr}; use std::{str::FromStr, sync::Arc}; -use crate::IntoStatic; pub use crate::{ CowStr, types::{ @@ -20,6 +19,10 @@ pub use crate::{ uri::Uri, }, }; +use crate::{ + IntoStatic, + types::{LexiconStringType, UriType}, +}; /// Polymorphic AT Protocol string value /// @@ -113,6 +116,31 @@ impl<'s> AtprotoStr<'s> { Self::String(string) => string.as_ref(), } } + + /// detailed string type + pub fn string_type(&self) -> LexiconStringType { + match self { + Self::Datetime(_) => LexiconStringType::Datetime, + Self::Language(_) => LexiconStringType::Language, + Self::Handle(_) => LexiconStringType::Handle, + Self::AtIdentifier(_) => LexiconStringType::AtIdentifier, + Self::Nsid(_) => LexiconStringType::Nsid, + Self::AtUri(_) => LexiconStringType::AtUri, + Self::Uri(uri) => LexiconStringType::Uri(match uri { + Uri::Did(_) => UriType::Did, + Uri::At(_) => UriType::At, + Uri::Https(_) => UriType::Https, + Uri::Wss(_) => UriType::Wss, + Uri::Cid(_) => UriType::Cid, + Uri::Any(_) => UriType::Any, + }), + Self::Cid(_) => LexiconStringType::Cid, + Self::Tid(_) => LexiconStringType::Tid, + Self::Did(_) => LexiconStringType::Did, + Self::RecordKey(_) => LexiconStringType::RecordKey, + Self::String(_) => LexiconStringType::String, + } + } } impl AtprotoStr<'static> { diff --git a/crates/jacquard-common/src/types/value.rs b/crates/jacquard-common/src/types/value.rs index db8269a27..43f0ea711 100644 --- a/crates/jacquard-common/src/types/value.rs +++ b/crates/jacquard-common/src/types/value.rs @@ -144,6 +144,50 @@ impl<'s> Data<'s> { } } + /// Get as object if this is an Object variant + pub fn as_object_mut<'a>(&'a mut self) -> Option<&'a mut Object<'s>> { + if let Data::Object(obj) = self { + Some(obj) + } else { + None + } + } + + /// Get as array if this is an Array variant + pub fn as_array_mut<'a>(&'a mut self) -> Option<&'a mut Array<'s>> { + if let Data::Array(arr) = self { + Some(arr) + } else { + None + } + } + + /// Get as string if this is a String variant + pub fn as_str_mut(&'s mut self) -> Option<&'s mut AtprotoStr> { + if let Data::String(s) = self { + Some(s) + } else { + None + } + } + + /// Get as integer if this is an Integer variant + pub fn as_integer_mut(&mut self) -> Option<&mut i64> { + if let Data::Integer(i) = self { + Some(i) + } else { + None + } + } + + pub fn as_boolean_mut(&mut self) -> Option<&mut bool> { + if let Data::Boolean(b) = self { + Some(b) + } else { + None + } + } + /// Get as integer if this is an Integer variant pub fn as_integer(&self) -> Option { if let Data::Integer(i) = self { @@ -202,6 +246,19 @@ impl<'s> Data<'s> { parse_and_traverse_path(self, path) } + pub fn get_at_path_mut(&mut self, path: &str) -> Option<&mut Data<'s>> { + parse_and_traverse_path_mut(self, path) + } + + pub fn set_at_path(&mut self, path: &str, new_data: Data<'_>) -> bool { + if let Some(data) = parse_and_traverse_path_mut(self, path) { + *data = new_data.into_static(); + true + } else { + false + } + } + /// Query data with pattern matching /// /// Pattern syntax: @@ -287,6 +344,10 @@ impl<'s> Array<'s> { self.0.get(index) } + pub fn get_mut(&mut self, index: usize) -> Option<&mut Data<'s>> { + self.0.get_mut(index) + } + /// Get an iterator over the array elements pub fn iter(&self) -> std::slice::Iter<'_, Data<'s>> { self.0.iter() @@ -335,6 +396,10 @@ impl<'s> Object<'s> { self.0.get(key) } + pub fn get_mut(&mut self, key: &str) -> Option<&mut Data<'s>> { + self.0.get_mut(key) + } + /// Check if a key exists in the object pub fn contains_key(&self, key: &str) -> bool { self.0.contains_key(key) @@ -580,6 +645,42 @@ impl<'d> RawData<'d> { } } + /// get as object if this is an Object variant + pub fn as_object_mut(&mut self) -> Option<&mut BTreeMap>> { + if let RawData::Object(obj) = self { + Some(obj) + } else { + None + } + } + + /// Get as array if this is an Array variant + pub fn as_array_mut(&mut self) -> Option<&mut Vec>> { + if let RawData::Array(arr) = self { + Some(arr) + } else { + None + } + } + + /// Get as string if this is a String variant + pub fn as_str_mut(&mut self) -> Option<&mut CowStr<'d>> { + if let RawData::String(s) = self { + Some(s) + } else { + None + } + } + + /// Get as boolean if this is a Boolean variant + pub fn as_boolean_mut(&mut self) -> Option<&mut bool> { + if let RawData::Boolean(b) = self { + Some(b) + } else { + None + } + } + /// Check if this is a null value pub fn is_null(&self) -> bool { matches!(self, RawData::Null) @@ -622,6 +723,10 @@ impl<'d> RawData<'d> { parse_and_traverse_raw_path(self, path) } + pub fn get_at_path_mut<'a>(&'a mut self, path: &str) -> Option<&'a mut RawData<'d>> { + parse_and_traverse_raw_path_mut(self, path) + } + /// Convert a CBOR-encoded byte slice into a `RawData` value. /// Parse a Data value from an IPLD value (CBOR) pub fn from_cbor(cbor: &'d Ipld) -> Result { @@ -902,6 +1007,74 @@ fn parse_and_traverse_raw_path<'d>(data: &'d RawData<'d>, path: &str) -> Option< Some(current) } +/// Parse and traverse a path through nested Data structures +fn parse_and_traverse_path_mut<'d, 's>( + data: &'s mut Data<'d>, + path: &str, +) -> Option<&'s mut Data<'d>> { + let mut current = data; + let mut path = path.trim_start_matches('.'); + + while !path.is_empty() { + if path.starts_with('[') { + // Array index: [N] + let idx_end = path.find(']')?; + let idx_str = &path[1..idx_end]; + let idx: usize = idx_str.parse().ok()?; + + current = current.as_array_mut()?.get_mut(idx)?; + path = &path[idx_end + 1..].trim_start_matches('.'); + } else { + // Field access: extract next segment (up to '.' or '[') + let next_sep = path.find(&['.', '['][..]).unwrap_or(path.len()); + let field = &path[..next_sep]; + + if field.is_empty() { + break; + } + + current = current.as_object_mut()?.get_mut(field)?; + path = &path[next_sep..].trim_start_matches('.'); + } + } + + Some(current) +} + +/// Parse and traverse a path through nested RawData structures +fn parse_and_traverse_raw_path_mut<'a, 'd>( + data: &'a mut RawData<'d>, + path: &str, +) -> Option<&'a mut RawData<'d>> { + let mut current = data; + let mut path = path.trim_start_matches('.'); + + while !path.is_empty() { + if path.starts_with('[') { + // Array index: [N] + let idx_end = path.find(']')?; + let idx_str = &path[1..idx_end]; + let idx: usize = idx_str.parse().ok()?; + + current = current.as_array_mut()?.get_mut(idx)?; + path = &path[idx_end + 1..].trim_start_matches('.'); + } else { + // Field access: extract next segment (up to '.' or '[') + let next_sep = path.find(&['.', '['][..]).unwrap_or(path.len()); + let field = &path[..next_sep]; + + if field.is_empty() { + break; + } + + current = current.as_object_mut()?.get_mut(field as &str)?; + path = &path[next_sep..].trim_start_matches('.'); + } + } + + Some(current) +} + /// Result of a data query operation #[derive(Debug, Clone, PartialEq)] pub enum QueryResult<'s> { @@ -1055,7 +1228,9 @@ fn query_data<'s>(data: &'s Data<'s>, pattern: &str) -> QueryResult<'s> { // Determine result type based on segment types before consuming segments let has_wildcard = segments.iter().any(|s| matches!(s, QuerySegment::Wildcard)); - let has_global = segments.iter().any(|s| matches!(s, QuerySegment::GlobalRecursion(_))); + let has_global = segments + .iter() + .any(|s| matches!(s, QuerySegment::GlobalRecursion(_))); for segment in segments { results = execute_segment(&results, &segment); diff --git a/crates/jacquard-identity/src/lexicon_resolver.rs b/crates/jacquard-identity/src/lexicon_resolver.rs index 11c1a208c..dcd7c6baa 100644 --- a/crates/jacquard-identity/src/lexicon_resolver.rs +++ b/crates/jacquard-identity/src/lexicon_resolver.rs @@ -5,11 +5,14 @@ //! 2. Fetch lexicon schema from `com.atproto.lexicon.schema` collection via XRPC use crate::resolver::{IdentityError, IdentityResolver}; + use jacquard_common::{ - smol_str, - types::{cid::Cid, did::Did, string::Nsid}, + IntoStatic, from_json_value, smol_str, + types::{aturi::AtUri, cid::Cid, did::Did, string::Nsid}, }; +use jacquard_lexicon::lexicon::LexiconDoc; use smol_str::SmolStr; +use url::Url; /// Resolve lexicon authority (NSID → authoritative DID) #[cfg_attr(not(target_arch = "wasm32"), trait_variant::make(Send))] @@ -236,6 +239,57 @@ impl crate::JacquardResolver { } } +#[allow(unused)] +use jacquard_api::com_atproto::lexicon::resolve_lexicon::{ResolveLexicon, ResolveLexiconOutput}; + +impl crate::JacquardResolver { + #[allow(dead_code)] + async fn resolve_lexicon_xrpc( + &self, + nsid: &Nsid<'_>, + ) -> std::result::Result, LexiconResolutionError> { + if let Ok(mut url) = Url::parse("https://public.api.bsky.app") { + url.set_path("/xrpc/com.atproto.lexicon.resolveLexicon"); + if let Ok(qs) = + serde_html_form::to_string(&ResolveLexicon::new().nsid(nsid.clone()).build()) + { + url.set_query(Some(&qs)); + } else { + return Err(LexiconResolutionError::invalid_collection()); + } + if let Ok((buf, status)) = self.get_json_bytes(url).await { + if status.is_success() { + if let Ok(val) = serde_json::from_slice::(&buf) { + if let Some(obj) = val.as_object() { + if let Some(schema) = obj.get("schema") { + if let Ok(schema) = from_json_value::(schema.clone()) { + let uri = + obj.get("uri").expect("uri should be present").to_string(); + let cid = + obj.get("cid").expect("cid should be present").to_string(); + let uri = AtUri::new_owned(uri).map_err(|e| { + LexiconResolutionError::parse_failed("uri", e) + })?; + let cid = Cid::str(&cid).into_static(); + let repo = Did::raw(uri.authority().as_str()).into_static(); + return Ok(ResolvedLexiconSchema { + repo, + cid, + nsid: nsid.clone().into_static(), + doc: schema.into_static(), + }); + } + } + } + } + } + } + } + + Err(LexiconResolutionError::invalid_collection()) + } +} + #[cfg(all(feature = "dns", not(target_family = "wasm")))] impl LexiconAuthorityResolver for crate::JacquardResolver { async fn resolve_lexicon_authority( @@ -304,6 +358,7 @@ impl LexiconSchemaResolver for crate::JacquardResolver { } // Perform resolution + #[cfg(feature = "dns")] let result = async { // 1. Resolve authority DID via DNS let authority_did = self.resolve_lexicon_authority(nsid).await?; @@ -369,6 +424,9 @@ impl LexiconSchemaResolver for crate::JacquardResolver { } .await; + #[cfg(not(feature = "dns"))] + let result = self.resolve_lexicon_xrpc(nsid).await; + // Handle result match result { Ok(schema) => { diff --git a/crates/jacquard-lexicon/src/validation.rs b/crates/jacquard-lexicon/src/validation.rs index 65362d6df..11ba048f6 100644 --- a/crates/jacquard-lexicon/src/validation.rs +++ b/crates/jacquard-lexicon/src/validation.rs @@ -11,7 +11,10 @@ use dashmap::DashMap; use jacquard_common::{smol_str, types::value::Data}; use sha2::{Digest, Sha256}; use smol_str::SmolStr; -use std::{fmt, sync::{Arc, LazyLock}}; +use std::{ + fmt, + sync::{Arc, LazyLock}, +}; /// Path to a value within a data structure /// @@ -290,9 +293,7 @@ impl<'a> IntoObjectProperty<'a> for LexArrayItem<'a> { #[derive(Debug, Clone)] pub enum ValidationResult { /// Only structural validation was performed (or data was structurally invalid) - StructuralOnly { - structural: Vec, - }, + StructuralOnly { structural: Vec }, /// Both structural and constraint validation were performed Complete { structural: Vec, @@ -382,6 +383,13 @@ impl SchemaValidator { } } + pub fn from_registry(registry: SchemaRegistry) -> Self { + Self { + registry, + cache: DashMap::new(), + } + } + /// Validate data against a schema (structural and constraints) /// /// Performs both structural validation (types, required fields) and constraint @@ -490,6 +498,78 @@ impl SchemaValidator { } } + pub fn validate_by_nsid_structural(&self, nsid: &str, data: &Data) -> ValidationResult { + let mut split = nsid.split('#'); + let nsid = split.next().unwrap(); + let def_name = split.next().unwrap_or("main"); + let def = match self.registry.get_def(nsid, def_name) { + Some(d) => d, + None => { + // Schema not found - this is a structural error + return ValidationResult::StructuralOnly { + structural: vec![StructuralError::UnresolvedRef { + path: ValidationPath::new(), + ref_nsid: format!("{}#{}", nsid, def_name).into(), + }], + }; + } + }; + + let mut path = ValidationPath::new(); + let mut ctx = ValidationContext::new(nsid, def_name); + + let structural_errors = validate_def(&mut path, data, &def, &self.registry, &mut ctx); + + ValidationResult::StructuralOnly { + structural: structural_errors, + } + } + + pub fn validate_by_nsid(&self, nsid: &str, data: &Data) -> ValidationResult { + let mut split = nsid.split('#'); + let nsid = split.next().unwrap(); + let def_name = split.next().unwrap_or("main"); + let def = match self.registry.get_def(nsid, def_name) { + Some(d) => d, + None => { + // Schema not found - this is a structural error + return ValidationResult::StructuralOnly { + structural: vec![StructuralError::UnresolvedRef { + path: ValidationPath::new(), + ref_nsid: format!("{}#{}", nsid, def_name).into(), + }], + }; + } + }; + + let mut path = ValidationPath::new(); + let mut ctx = ValidationContext::new(nsid, def_name); + + let structural_errors = validate_def(&mut path, data, &def, &self.registry, &mut ctx); + + // If structurally invalid, return structural errors only + if !structural_errors.is_empty() { + return ValidationResult::StructuralOnly { + structural: structural_errors, + }; + } + + // Structurally valid - compute constraints eagerly + let mut path = ValidationPath::new(); + let constraint_errors = validate_constraints( + &mut path, + data, + nsid, + def_name, + Some(&Arc::new(self.registry.clone())), + ); + + ValidationResult::Complete { + structural: structural_errors, + constraints: constraint_errors, + } + } + /// Get the schema registry pub fn registry(&self) -> &SchemaRegistry { &self.registry @@ -521,7 +601,6 @@ impl ValidationContext { } } - /// Validate data against a lexicon def fn validate_def( path: &mut ValidationPath, @@ -609,7 +688,9 @@ fn validate_def( // Token types are unit types, no validation needed beyond type checking LexUserType::Token(_) => Vec::new(), // XRPC types are endpoint definitions, not data types - LexUserType::XrpcQuery(_) | LexUserType::XrpcProcedure(_) | LexUserType::XrpcSubscription(_) => Vec::new(), + LexUserType::XrpcQuery(_) + | LexUserType::XrpcProcedure(_) + | LexUserType::XrpcSubscription(_) => Vec::new(), // Other types _ => Vec::new(), } @@ -951,11 +1032,7 @@ fn validate_constraints_impl( if let Some(field_data) = obj_data.get(name.as_ref()) { path.push_field(name.as_ref()); errors.extend(check_property_constraints( - path, - field_data, - prop, - nsid, - registry, + path, field_data, prop, nsid, registry, )); path.pop(); } @@ -978,11 +1055,7 @@ fn validate_constraints_impl( if let Some(field_data) = obj_data.get(name.as_ref()) { path.push_field(name.as_ref()); errors.extend(check_property_constraints( - path, - field_data, - prop, - nsid, - registry, + path, field_data, prop, nsid, registry, )); path.pop(); }