repository
stringclasses 528
values | commit
stringlengths 40
40
| commitDate
timestamp[s] | path
stringlengths 11
149
| repoStars
int64 5
94.9k
| repoLastFetched
stringclasses 528
values | content
stringlengths 48
736k
| license
stringclasses 14
values | language
stringclasses 7
values |
---|---|---|---|---|---|---|---|---|
fiberplane/fiberplane | 5e019eb927b42450aec154a5f713f953adefa35c | 2023-05-03T15:06:05 | schemas/webhooks.schema.json | 83 | 2024-05-27T07:39:25.331263Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"default": {},
"properties": {
"id": {
"format": "base64uuid",
"title": "Unique ID of this event. This is shared by every delivery across all webhooks",
"type": "string"
},
"payload": {
"title": "Event specific payload, see https://docs.fiberplane.com/webhooks",
"type": "object"
},
"sender": {
"properties": {
"email": {
"format": "email",
"title": "Email address of the user that caused this payload to be sent",
"type": "string"
},
"id": {
"format": "base64uuid",
"title": "ID of the user that caused this payload to be sent",
"type": "string"
},
"name": {
"title": "Name of the user that caused this payload to be sent",
"type": "string"
}
},
"required": [
"id",
"email",
"name"
],
"title": "The user that caused this event to be emitted. May be null",
"type": "object"
},
"type": {
"examples": [
"ping",
"frontmatter.update",
"frontmatter.delete"
],
"title": "Event Type in format `category.event`",
"type": "string"
},
"webhook": {
"format": "base64uuid",
"title": "ID of the webhook which is this very webhook that delivered this payload",
"type": "string"
},
"workspace": {
"properties": {
"createdAt": {
"format": "date-time",
"title": "Date and time when this workspace was created",
"type": "string"
},
"defaultDataSources": {
"title": "List of default data sources in the workspace",
"type": "object"
},
"displayName": {
"title": "Display Name of the workspace in which this event occurred",
"type": "string"
},
"id": {
"format": "base64uuid",
"title": "ID of the workspace in which this event occurred",
"type": "string"
},
"name": {
"title": "Name of the workspace in which this event occurred",
"type": "string"
},
"ownerId": {
"title": "ID of the owner of this workspace",
"type": "string"
},
"type": {
"examples": [
"personal",
"organization"
],
"title": "Type of the workspace in which this event occurred",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"title": "Date and time when this workspace was last updated",
"type": "string"
}
},
"required": [
"id",
"name",
"displayName",
"type",
"ownerId",
"defaultDataSources",
"createdAt",
"updatedAt"
],
"title": "The workspace in which this event occurred",
"type": "object"
}
},
"required": [
"id",
"type",
"workspace",
"webhook",
"payload"
],
"title": "Webhook payload",
"type": "object"
} | Apache-2.0 | en |
FriendsOfShopware/FroshTools | 7913a809a2d03e9e28961dd4a78d530207fe1611 | 2023-06-20T19:17:46 | frosh-tools-schema.json | 58 | 2024-05-28T06:10:57.437918Z | {
"$ref": "#/definitions/root",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"definitions": {
"frosh_tools": {
"additionalProperties": false,
"properties": {
"file_checker": {
"items": {
"type": "string"
},
"title": "File checker allow-list",
"type": "array"
},
"system_config": {
"additionalProperties": true,
"type": "object"
}
},
"type": "object"
},
"root": {
"additionalProperties": false,
"properties": {
"frosh_tools": {
"$ref": "#/definitions/frosh_tools"
}
},
"type": "object"
}
},
"title": "Configuration for FroshTools"
} | MIT | en |
hortonworks/registry | 74262bc94fa9cc31d4e9f45ac5fded87374de072 | 2021-09-21T08:01:41 | schema-registry/schema-registry-serdes/src/test/resources/SchemaVersionKey.json | 12 | 2024-05-27T22:29:51.290408Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"schemaName": {
"description": "Name of the schema",
"type": "string"
},
"version": {
"description": "Version of the schema",
"type": "integer"
}
},
"required": [
"schemaName"
],
"title": "SchemaVersionKey",
"type": "object"
} | Apache-2.0 | de |
csaf-tools/CVRF-CSAF-Converter | 56f998e7de034147578ed13bec696499188b8df1 | 2022-02-25T11:09:02 | cvrf2csaf/schemata/csaf/2.0/csaf_json_schema.json | 10 | 2024-05-27T05:24:48.756908Z | {
"$defs": {
"acknowledgments_t": {
"description": "Contains a list of acknowledgment elements.",
"items": {
"description": "Acknowledges contributions by describing those that contributed.",
"minProperties": 1,
"properties": {
"names": {
"description": "Contains the names of entities being recognized.",
"items": {
"description": "Contains the name of a single person.",
"examples": [
"Albert Einstein",
"Johann Sebastian Bach"
],
"minLength": 1,
"title": "Name of entity being recognized",
"type": "string"
},
"minItems": 1,
"title": "List of acknowledged names",
"type": "array"
},
"organization": {
"description": "Contains the name of a contributing organization being recognized.",
"examples": [
"CISA",
"Google Project Zero",
"Talos"
],
"minLength": 1,
"title": "Contributing organization",
"type": "string"
},
"summary": {
"description": "SHOULD represent any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.",
"examples": [
"First analysis of Coordinated Multi-Stream Attack (CMSA)"
],
"minLength": 1,
"title": "Summary of the acknowledgment",
"type": "string"
},
"urls": {
"description": "Specifies a list of URLs or location of the reference to be acknowledged.",
"items": {
"description": "Contains the URL or location of the reference to be acknowledged.",
"format": "uri",
"title": "URL of acknowledgment",
"type": "string"
},
"minItems": 1,
"title": "List of URLs",
"type": "array"
}
},
"title": "Acknowledgment",
"type": "object"
},
"minItems": 1,
"title": "List of acknowledgments",
"type": "array"
},
"branches_t": {
"description": "Contains branch elements as children of the current element.",
"items": {
"description": "Is a part of the hierarchical structure of the product tree.",
"maxProperties": 3,
"minProperties": 3,
"properties": {
"branches": {
"$ref": "#/$defs/branches_t"
},
"category": {
"description": "Describes the characteristics of the labeled branch.",
"enum": [
"architecture",
"host_name",
"language",
"legacy",
"patch_level",
"product_family",
"product_name",
"product_version",
"service_pack",
"specification",
"vendor"
],
"title": "Category of the branch",
"type": "string"
},
"name": {
"description": "Contains the canonical descriptor or 'friendly name' of the branch.",
"examples": [
"10",
"365",
"Microsoft",
"Office",
"PCS 7",
"SIMATIC",
"Siemens",
"Windows"
],
"minLength": 1,
"title": "Name of the branch",
"type": "string"
},
"product": {
"$ref": "#/$defs/full_product_name_t"
}
},
"required": [
"category",
"name"
],
"title": "Branch",
"type": "object"
},
"minItems": 1,
"title": "List of branches",
"type": "array"
},
"full_product_name_t": {
"description": "Specifies information about the product and assigns the product_id.",
"properties": {
"name": {
"description": "The value should be the product\u2019s full canonical name, including version number and other attributes, as it would be used in a human-friendly document.",
"examples": [
"Cisco AnyConnect Secure Mobility Client 2.3.185",
"Microsoft Host Integration Server 2006 Service Pack 1"
],
"minLength": 1,
"title": "Textual description of the product",
"type": "string"
},
"product_id": {
"$ref": "#/$defs/product_id_t"
},
"product_identification_helper": {
"description": "Provides at least one method which aids in identifying the product in an asset database.",
"minProperties": 1,
"properties": {
"cpe": {
"description": "The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms external to this specification.",
"minLength": 5,
"pattern": "^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){4})|([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$",
"title": "Common Platform Enumeration representation",
"type": "string"
},
"hashes": {
"description": "Contains a list of cryptographic hashes usable to identify files.",
"items": {
"description": "Contains all information to identify a file based on its cryptographic hash values.",
"properties": {
"file_hashes": {
"description": "Contains a list of cryptographic hashes for this file.",
"items": {
"description": "Contains one hash value and algorithm of the file to be identified.",
"properties": {
"algorithm": {
"default": "sha256",
"description": "Contains the name of the cryptographic hash algorithm used to calculate the value.",
"examples": [
"blake2b512",
"sha256",
"sha3-512",
"sha384",
"sha512"
],
"minLength": 1,
"title": "Algorithm of the cryptographic hash",
"type": "string"
},
"value": {
"description": "Contains the cryptographic hash value in hexadecimal representation.",
"examples": [
"37df33cb7464da5c7f077f4d56a32bc84987ec1d85b234537c1c1a4d4fc8d09dc29e2e762cb5203677bf849a2855a0283710f1f5fe1d6ce8d5ac85c645d0fcb3",
"4775203615d9534a8bfca96a93dc8b461a489f69124a130d786b42204f3341cc",
"9ea4c8200113d49d26505da0e02e2f49055dc078d1ad7a419b32e291c7afebbb84badfbd46dec42883bea0b2a1fa697c"
],
"minLength": 32,
"pattern": "^[0-9a-fA-F]{32,}$",
"title": "Value of the cryptographic hash",
"type": "string"
}
},
"required": [
"algorithm",
"value"
],
"title": "File hash",
"type": "object"
},
"minItems": 1,
"title": "List of file hashes",
"type": "array"
},
"filename": {
"description": "Contains the name of the file which is identified by the hash values.",
"examples": [
"WINWORD.EXE",
"msotadddin.dll",
"sudoers.so"
],
"minLength": 1,
"title": "Filename",
"type": "string"
}
},
"required": [
"file_hashes",
"filename"
],
"title": "Cryptographic hashes",
"type": "object"
},
"minItems": 1,
"title": "List of hashes",
"type": "array"
},
"purl": {
"description": "The package URL (purl) attribute refers to a method for reliably identifying and locating software packages external to this specification.",
"format": "uri",
"minLength": 7,
"pattern": "^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+",
"title": "package URL representation",
"type": "string"
},
"sbom_urls": {
"description": "Contains a list of URLs where SBOMs for this product can be retrieved.",
"items": {
"description": "Contains a URL of one SBOM for this product.",
"format": "uri",
"title": "SBOM URL",
"type": "string"
},
"minItems": 1,
"title": "List of SBOM URLs",
"type": "array"
},
"serial_numbers": {
"description": "Contains a list of parts, or full serial numbers.",
"items": {
"description": "Contains a part, or a full serial number of the component to identify.",
"minLength": 1,
"title": "Serial number",
"type": "string"
},
"minItems": 1,
"title": "List of serial numbers",
"type": "array"
},
"skus": {
"description": "Contains a list of parts, or full stock keeping units.",
"items": {
"description": "Contains a part, or a full stock keeping unit (SKU) which is used in the ordering process to identify the component.",
"minLength": 1,
"title": "Stock keeping unit",
"type": "string"
},
"minItems": 1,
"title": "List of stock keeping units",
"type": "array"
},
"x_generic_uris": {
"description": "Contains a list of identifiers which are either vendor-specific or derived from a standard not yet supported.",
"items": {
"description": "Provides a generic extension point for any identifier which is either vendor-specific or derived from a standard not yet supported.",
"properties": {
"namespace": {
"description": "Refers to a URL which provides the name and knowledge about the specification used or is the namespace in which these values are valid.",
"format": "uri",
"title": "Namespace of the generic URI",
"type": "string"
},
"uri": {
"description": "Contains the identifier itself.",
"format": "uri",
"title": "URI",
"type": "string"
}
},
"required": [
"namespace",
"uri"
],
"title": "Generic URI",
"type": "object"
},
"minItems": 1,
"title": "List of generic URIs",
"type": "array"
}
},
"title": "Helper to identify the product",
"type": "object"
}
},
"required": [
"name",
"product_id"
],
"title": "Full product name",
"type": "object"
},
"lang_t": {
"description": "Identifies a language, corresponding to IETF BCP 47 / RFC 5646. See IETF language registry: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry",
"examples": [
"de",
"en",
"fr",
"frc",
"jp"
],
"pattern": "^(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3}){0,2})?|[A-Za-z]{4,8})(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-[A-WY-Za-wy-z0-9](-[A-Za-z0-9]{2,8})+)*(-[Xx](-[A-Za-z0-9]{1,8})+)?|[Xx](-[A-Za-z0-9]{1,8})+|[Ii]-[Dd][Ee][Ff][Aa][Uu][Ll][Tt]|[Ii]-[Mm][Ii][Nn][Gg][Oo])$",
"title": "Language type",
"type": "string"
},
"notes_t": {
"description": "Contains notes which are specific to the current context.",
"items": {
"description": "Is a place to put all manner of text blobs related to the current context.",
"properties": {
"audience": {
"description": "Indicate who is intended to read it.",
"examples": [
"all",
"executives",
"operational management and system administrators",
"safety engineers"
],
"minLength": 1,
"title": "Audience of note",
"type": "string"
},
"category": {
"description": "Choice of what kind of note this is.",
"enum": [
"description",
"details",
"faq",
"general",
"legal_disclaimer",
"other",
"summary"
],
"title": "Note category",
"type": "string"
},
"text": {
"description": "The contents of the note. Content varies depending on type.",
"minLength": 1,
"title": "Note contents",
"type": "string"
},
"title": {
"description": "Provides a concise description of what is contained in the text of the note.",
"examples": [
"Details",
"Executive summary",
"Technical summary",
"Impact on safety systems"
],
"minLength": 1,
"title": "Title of note",
"type": "string"
}
},
"required": [
"category",
"text"
],
"title": "Note",
"type": "object"
},
"minItems": 1,
"title": "List of notes",
"type": "array"
},
"product_group_id_t": {
"description": "Token required to identify a group of products so that it can be referred to from other parts in the document. There is no predefined or required format for the product_group_id as long as it uniquely identifies a group in the context of the current document.",
"examples": [
"CSAFGID-0001",
"CSAFGID-0002",
"CSAFGID-0020"
],
"minLength": 1,
"title": "Reference token for product group instance",
"type": "string"
},
"product_groups_t": {
"description": "Specifies a list of product_group_ids to give context to the parent item.",
"items": {
"$ref": "#/$defs/product_group_id_t"
},
"minItems": 1,
"title": "List of product_group_ids",
"type": "array",
"uniqueItems": true
},
"product_id_t": {
"description": "Token required to identify a full_product_name so that it can be referred to from other parts in the document. There is no predefined or required format for the product_id as long as it uniquely identifies a product in the context of the current document.",
"examples": [
"CSAFPID-0004",
"CSAFPID-0008"
],
"minLength": 1,
"title": "Reference token for product instance",
"type": "string"
},
"products_t": {
"description": "Specifies a list of product_ids to give context to the parent item.",
"items": {
"$ref": "#/$defs/product_id_t"
},
"minItems": 1,
"title": "List of product_ids",
"type": "array",
"uniqueItems": true
},
"references_t": {
"description": "Holds a list of references.",
"items": {
"description": "Holds any reference to conferences, papers, advisories, and other resources that are related and considered related to either a surrounding part of or the entire document and to be of value to the document consumer.",
"properties": {
"category": {
"default": "external",
"description": "Indicates whether the reference points to the same document or vulnerability in focus (depending on scope) or to an external resource.",
"enum": [
"external",
"self"
],
"title": "Category of reference",
"type": "string"
},
"summary": {
"description": "Indicates what this reference refers to.",
"minLength": 1,
"title": "Summary of the reference",
"type": "string"
},
"url": {
"description": "Provides the URL for the reference.",
"format": "uri",
"title": "URL of reference",
"type": "string"
}
},
"required": [
"summary",
"url"
],
"title": "Reference",
"type": "object"
},
"minItems": 1,
"title": "List of references",
"type": "array"
},
"version_t": {
"description": "Specifies a version string to denote clearly the evolution of the content of the document. Format must be either integer or semantic versioning.",
"examples": [
"1",
"4",
"0.9.0",
"1.4.3",
"2.40.0+21AF26D3"
],
"pattern": "^(0|[1-9][0-9]*)$|^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$",
"title": "Version",
"type": "string"
}
},
"$id": "https://docs.oasis-open.org/csaf/csaf/v2.0/csaf_json_schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Representation of security advisory information as a JSON document.",
"properties": {
"document": {
"description": "Captures the meta-data about this document describing a particular set of security advisories.",
"properties": {
"acknowledgments": {
"$ref": "#/$defs/acknowledgments_t",
"description": "Contains a list of acknowledgment elements associated with the whole document.",
"title": "Document acknowledgments"
},
"aggregate_severity": {
"description": "Is a vehicle that is provided by the document producer to convey the urgency and criticality with which the one or more vulnerabilities reported should be addressed. It is a document-level metric and applied to the document as a whole \u2014 not any specific vulnerability. The range of values in this field is defined according to the document producer's policies and procedures.",
"properties": {
"namespace": {
"description": "Points to the namespace so referenced.",
"format": "uri",
"title": "Namespace of aggregate severity",
"type": "string"
},
"text": {
"description": "Provides a severity which is independent of - and in addition to - any other standard metric for determining the impact or severity of a given vulnerability (such as CVSS).",
"examples": [
"Critical",
"Important",
"Moderate"
],
"minLength": 1,
"title": "Text of aggregate severity",
"type": "string"
}
},
"required": [
"text"
],
"title": "Aggregate severity",
"type": "object"
},
"category": {
"description": "Defines a short canonical name, chosen by the document producer, which will inform the end user as to the category of document.",
"examples": [
"Example Company Security Notice",
"generic_csaf",
"security_advisory",
"vex"
],
"minLength": 1,
"title": "Document category",
"type": "string"
},
"csaf_version": {
"description": "Gives the version of the CSAF specification which the document was generated for.",
"enum": [
"2.0"
],
"title": "CSAF version",
"type": "string"
},
"distribution": {
"description": "Describe any constraints on how this document might be shared.",
"minProperties": 1,
"properties": {
"text": {
"description": "Provides a textual description of additional constraints.",
"examples": [
"Copyright 2021, Example Company, All Rights Reserved.",
"Distribute freely.",
"Share only on a need-to-know-basis only."
],
"minLength": 1,
"title": "Textual description",
"type": "string"
},
"tlp": {
"description": "Provides details about the TLP classification of the document.",
"properties": {
"label": {
"description": "Provides the TLP label of the document.",
"enum": [
"AMBER",
"GREEN",
"RED",
"WHITE"
],
"title": "Label of TLP",
"type": "string"
},
"url": {
"default": "https://www.first.org/tlp/",
"description": "Provides a URL where to find the textual description of the TLP version which is used in this document. Default is the URL to the definition by FIRST.",
"examples": [
"https://www.us-cert.gov/tlp",
"https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Kritis/Merkblatt_TLP.pdf"
],
"format": "uri",
"title": "URL of TLP version",
"type": "string"
}
},
"required": [
"label"
],
"title": "Traffic Light Protocol (TLP)",
"type": "object"
}
},
"title": "Rules for sharing document",
"type": "object"
},
"lang": {
"$ref": "#/$defs/lang_t",
"description": "Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.",
"title": "Document language"
},
"notes": {
"$ref": "#/$defs/notes_t",
"description": "Holds notes associated with the whole document.",
"title": "Document notes"
},
"publisher": {
"description": "Provides information about the publisher of the document.",
"properties": {
"category": {
"description": "Provides information about the category of publisher releasing the document.",
"enum": [
"coordinator",
"discoverer",
"other",
"translator",
"user",
"vendor"
],
"title": "Category of publisher",
"type": "string"
},
"contact_details": {
"description": "Information on how to contact the publisher, possibly including details such as web sites, email addresses, phone numbers, and postal mail addresses.",
"examples": [
"Example Company can be reached at [email protected], or via our website at https://www.example.com/contact."
],
"minLength": 1,
"title": "Contact details",
"type": "string"
},
"issuing_authority": {
"description": "Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.",
"minLength": 1,
"title": "Issuing authority",
"type": "string"
},
"name": {
"description": "Contains the name of the issuing party.",
"examples": [
"BSI",
"Cisco PSIRT",
"Siemens ProductCERT"
],
"minLength": 1,
"title": "Name of publisher",
"type": "string"
},
"namespace": {
"description": "Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party.",
"examples": [
"https://csaf.io",
"https://www.example.com"
],
"format": "uri",
"title": "Namespace of publisher",
"type": "string"
}
},
"required": [
"category",
"name",
"namespace"
],
"title": "Publisher",
"type": "object"
},
"references": {
"$ref": "#/$defs/references_t",
"description": "Holds a list of references associated with the whole document.",
"title": "Document references"
},
"source_lang": {
"$ref": "#/$defs/lang_t",
"description": "If this copy of the document is a translation then the value of this property describes from which language this document was translated.",
"title": "Source language"
},
"title": {
"description": "This SHOULD be a canonical name for the document, and sufficiently unique to distinguish it from similar documents.",
"examples": [
"Cisco IPv6 Crafted Packet Denial of Service Vulnerability",
"Example Company Cross-Site-Scripting Vulnerability in Example Generator"
],
"minLength": 1,
"title": "Title of this document",
"type": "string"
},
"tracking": {
"description": "Is a container designated to hold all management attributes necessary to track a CSAF document as a whole.",
"properties": {
"aliases": {
"description": "Contains a list of alternate names for the same document.",
"items": {
"description": "Specifies a non-empty string that represents a distinct optional alternative ID used to refer to the document.",
"examples": [
"CVE-2019-12345"
],
"minLength": 1,
"title": "Alternate name",
"type": "string"
},
"minItems": 1,
"title": "Aliases",
"type": "array",
"uniqueItems": true
},
"current_release_date": {
"description": "The date when the current revision of this document was released",
"format": "date-time",
"title": "Current release date",
"type": "string"
},
"generator": {
"description": "Is a container to hold all elements related to the generation of the document. These items will reference when the document was actually created, including the date it was generated and the entity that generated it.",
"properties": {
"date": {
"description": "This SHOULD be the current date that the document was generated. Because documents are often generated internally by a document producer and exist for a nonzero amount of time before being released, this field MAY be different from the Initial Release Date and Current Release Date.",
"format": "date-time",
"title": "Date of document generation",
"type": "string"
},
"engine": {
"description": "Contains information about the engine that generated the CSAF document.",
"properties": {
"name": {
"description": "Represents the name of the engine that generated the CSAF document.",
"examples": [
"Red Hat rhsa-to-cvrf",
"Secvisogram",
"TVCE"
],
"minLength": 1,
"title": "Engine name",
"type": "string"
},
"version": {
"description": "Contains the version of the engine that generated the CSAF document.",
"examples": [
"0.6.0",
"1.0.0-beta+exp.sha.a1c44f85",
"2"
],
"minLength": 1,
"title": "Engine version",
"type": "string"
}
},
"required": [
"name"
],
"title": "Engine of document generation",
"type": "object"
}
},
"required": [
"engine"
],
"title": "Document generator",
"type": "object"
},
"id": {
"description": "The ID is a simple label that provides for a wide range of numbering values, types, and schemes. Its value SHOULD be assigned and maintained by the original document issuing authority.",
"examples": [
"Example Company - 2019-YH3234",
"RHBA-2019:0024",
"cisco-sa-20190513-secureboot"
],
"minLength": 1,
"title": "Unique identifier for the document",
"type": "string"
},
"initial_release_date": {
"description": "The date when this document was first published.",
"format": "date-time",
"title": "Initial release date",
"type": "string"
},
"revision_history": {
"description": "Holds one revision item for each version of the CSAF document, including the initial one.",
"items": {
"description": "Contains all the information elements required to track the evolution of a CSAF document.",
"properties": {
"date": {
"description": "The date of the revision entry",
"format": "date-time",
"title": "Date of the revision",
"type": "string"
},
"number": {
"$ref": "#/$defs/version_t"
},
"summary": {
"description": "Holds a single non-empty string representing a short description of the changes.",
"examples": [
"Initial version."
],
"minLength": 1,
"title": "Summary of the revision",
"type": "string"
}
},
"required": [
"date",
"number",
"summary"
],
"title": "Revision",
"type": "object"
},
"minItems": 1,
"title": "Revision history",
"type": "array"
},
"status": {
"description": "Defines the draft status of the document.",
"enum": [
"draft",
"final",
"interim"
],
"title": "Document status",
"type": "string"
},
"version": {
"$ref": "#/$defs/version_t"
}
},
"required": [
"current_release_date",
"id",
"initial_release_date",
"revision_history",
"status",
"version"
],
"title": "Tracking",
"type": "object"
}
},
"required": [
"category",
"csaf_version",
"publisher",
"title",
"tracking"
],
"title": "Document level meta-data",
"type": "object"
},
"product_tree": {
"description": "Is a container for all fully qualified product names that can be referenced elsewhere in the document.",
"minProperties": 1,
"properties": {
"branches": {
"$ref": "#/$defs/branches_t"
},
"full_product_names": {
"description": "Contains a list of full product names.",
"items": {
"$ref": "#/$defs/full_product_name_t"
},
"minItems": 1,
"title": "List of full product names",
"type": "array"
},
"product_groups": {
"description": "Contains a list of product groups.",
"items": {
"description": "Defines a new logical group of products that can then be referred to in other parts of the document to address a group of products with a single identifier.",
"properties": {
"group_id": {
"$ref": "#/$defs/product_group_id_t"
},
"product_ids": {
"description": "Lists the product_ids of those products which known as one group in the document.",
"items": {
"$ref": "#/$defs/product_id_t"
},
"minItems": 2,
"title": "List of Product IDs",
"type": "array",
"uniqueItems": true
},
"summary": {
"description": "Gives a short, optional description of the group.",
"examples": [
"Products supporting Modbus.",
"The x64 versions of the operating system."
],
"minLength": 1,
"title": "Summary of the product group",
"type": "string"
}
},
"required": [
"group_id",
"product_ids"
],
"title": "Product group",
"type": "object"
},
"minItems": 1,
"title": "List of product groups",
"type": "array"
},
"relationships": {
"description": "Contains a list of relationships.",
"items": {
"description": "Establishes a link between two existing full_product_name_t elements, allowing the document producer to define a combination of two products that form a new full_product_name entry.",
"properties": {
"category": {
"description": "Defines the category of relationship for the referenced component.",
"enum": [
"default_component_of",
"external_component_of",
"installed_on",
"installed_with",
"optional_component_of"
],
"title": "Relationship category",
"type": "string"
},
"full_product_name": {
"$ref": "#/$defs/full_product_name_t"
},
"product_reference": {
"$ref": "#/$defs/product_id_t",
"description": "Holds a Product ID that refers to the Full Product Name element, which is referenced as the first element of the relationship.",
"title": "Product reference"
},
"relates_to_product_reference": {
"$ref": "#/$defs/product_id_t",
"description": "Holds a Product ID that refers to the Full Product Name element, which is referenced as the second element of the relationship.",
"title": "Relates to product reference"
}
},
"required": [
"category",
"full_product_name",
"product_reference",
"relates_to_product_reference"
],
"title": "Relationship",
"type": "object"
},
"minItems": 1,
"title": "List of relationships",
"type": "array"
}
},
"title": "Product tree",
"type": "object"
},
"vulnerabilities": {
"description": "Represents a list of all relevant vulnerability information items.",
"items": {
"description": "Is a container for the aggregation of all fields that are related to a single vulnerability in the document.",
"minProperties": 1,
"properties": {
"acknowledgments": {
"$ref": "#/$defs/acknowledgments_t",
"description": "Contains a list of acknowledgment elements associated with this vulnerability item.",
"title": "Vulnerability acknowledgments"
},
"cve": {
"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.",
"pattern": "^CVE-[0-9]{4}-[0-9]{4,}$",
"title": "CVE",
"type": "string"
},
"cwe": {
"description": "Holds the MITRE standard Common Weakness Enumeration (CWE) for the weakness associated.",
"properties": {
"id": {
"description": "Holds the ID for the weakness associated.",
"examples": [
"CWE-22",
"CWE-352",
"CWE-79"
],
"pattern": "^CWE-[1-9]\\d{0,5}$",
"title": "Weakness ID",
"type": "string"
},
"name": {
"description": "Holds the full name of the weakness as given in the CWE specification.",
"examples": [
"Cross-Site Request Forgery (CSRF)",
"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
],
"minLength": 1,
"title": "Weakness name",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "CWE",
"type": "object"
},
"discovery_date": {
"description": "Holds the date and time the vulnerability was originally discovered.",
"format": "date-time",
"title": "Discovery date",
"type": "string"
},
"id": {
"description": "Gives the document producer a place to publish a unique label or tracking ID for the vulnerability (if such information exists).",
"properties": {
"system_name": {
"description": "Indicates the name of the vulnerability tracking or numbering system.",
"examples": [
"Cisco Bug ID",
"GitHub Issue"
],
"minLength": 1,
"title": "System name",
"type": "string"
},
"text": {
"description": "Is unique label or tracking ID for the vulnerability (if such information exists).",
"examples": [
"CSCso66472",
"oasis-tcs/csaf#210"
],
"minLength": 1,
"title": "Text",
"type": "string"
}
},
"required": [
"system_name",
"text"
],
"title": "ID",
"type": "object"
},
"involvements": {
"description": "Contains a list of involvements.",
"items": {
"description": "Is a container, that allows the document producers to comment on the level of involvement (or engagement) of themselves or third parties in the vulnerability identification, scoping, and remediation process.",
"properties": {
"date": {
"description": "Holds the date and time of the involvement entry.",
"format": "date-time",
"title": "Date of involvement",
"type": "string"
},
"party": {
"description": "Defines the category of the involved party.",
"enum": [
"coordinator",
"discoverer",
"other",
"user",
"vendor"
],
"title": "Party category",
"type": "string"
},
"status": {
"description": "Defines contact status of the involved party.",
"enum": [
"completed",
"contact_attempted",
"disputed",
"in_progress",
"not_contacted",
"open"
],
"title": "Party status",
"type": "string"
},
"summary": {
"description": "Contains additional context regarding what is going on.",
"minLength": 1,
"title": "Summary of the involvement",
"type": "string"
}
},
"required": [
"party",
"status"
],
"title": "Involvement",
"type": "object"
},
"minItems": 1,
"title": "List of involvements",
"type": "array",
"uniqueItems": true
},
"notes": {
"$ref": "#/$defs/notes_t",
"description": "Holds notes associated with this vulnerability item.",
"title": "Vulnerability notes"
},
"product_status": {
"description": "Contains different lists of product_ids which provide details on the status of the referenced product related to the current vulnerability. ",
"minProperties": 1,
"properties": {
"first_affected": {
"$ref": "#/$defs/products_t",
"description": "These are the first versions of the releases known to be affected by the vulnerability.",
"title": "First affected"
},
"first_fixed": {
"$ref": "#/$defs/products_t",
"description": "These versions contain the first fix for the vulnerability but may not be the recommended fixed versions.",
"title": "First fixed"
},
"fixed": {
"$ref": "#/$defs/products_t",
"description": "These versions contain a fix for the vulnerability but may not be the recommended fixed versions.",
"title": "Fixed"
},
"known_affected": {
"$ref": "#/$defs/products_t",
"description": "These versions are known to be affected by the vulnerability.",
"title": "Known affected"
},
"known_not_affected": {
"$ref": "#/$defs/products_t",
"description": "These versions are known not to be affected by the vulnerability.",
"title": "Known not affected"
},
"last_affected": {
"$ref": "#/$defs/products_t",
"description": "These are the last versions in a release train known to be affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.",
"title": "Last affected"
},
"recommended": {
"$ref": "#/$defs/products_t",
"description": "These versions have a fix for the vulnerability and are the vendor-recommended versions for fixing the vulnerability.",
"title": "Recommended"
},
"under_investigation": {
"$ref": "#/$defs/products_t",
"description": "It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation - the result will be provided in a later release of the document.",
"title": "Under investigation"
}
},
"title": "Product status",
"type": "object"
},
"references": {
"$ref": "#/$defs/references_t",
"description": "Holds a list of references associated with this vulnerability item.",
"title": "Vulnerability references"
},
"release_date": {
"description": "Holds the date and time the vulnerability was originally released into the wild.",
"format": "date-time",
"title": "Release date",
"type": "string"
},
"remediations": {
"description": "Contains a list of remediations.",
"items": {
"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.",
"properties": {
"category": {
"description": "Specifies the category which this remediation belongs to.",
"enum": [
"mitigation",
"no_fix_planned",
"none_available",
"vendor_fix",
"workaround"
],
"title": "Category of the remediation",
"type": "string"
},
"date": {
"description": "Contains the date from which the remediation is available.",
"format": "date-time",
"title": "Date of the remediation",
"type": "string"
},
"details": {
"description": "Contains a thorough human-readable discussion of the remediation.",
"minLength": 1,
"title": "Details of the remediation",
"type": "string"
},
"entitlements": {
"description": "Contains a list of entitlements.",
"items": {
"description": "Contains any possible vendor-defined constraints for obtaining fixed software or hardware that fully resolves the vulnerability.",
"minLength": 1,
"title": "Entitlement of the remediation",
"type": "string"
},
"minItems": 1,
"title": "List of entitlements",
"type": "array"
},
"group_ids": {
"$ref": "#/$defs/product_groups_t"
},
"product_ids": {
"$ref": "#/$defs/products_t"
},
"restart_required": {
"description": "Provides information on category of restart is required by this remediation to become effective.",
"properties": {
"category": {
"description": "Specifies what category of restart is required by this remediation to become effective.",
"enum": [
"connected",
"dependencies",
"machine",
"none",
"parent",
"service",
"system",
"vulnerable_component",
"zone"
],
"title": "Category of restart",
"type": "string"
},
"details": {
"description": "Provides additional information for the restart. This can include details on procedures, scope or impact.",
"minLength": 1,
"title": "Additional restart information",
"type": "string"
}
},
"required": [
"category"
],
"title": "Restart required by remediation",
"type": "object"
},
"url": {
"description": "Contains the URL where to obtain the remediation.",
"format": "uri",
"title": "URL to the remediation",
"type": "string"
}
},
"required": [
"category",
"details"
],
"title": "Remediation",
"type": "object"
},
"minItems": 1,
"title": "List of remediations",
"type": "array"
},
"scores": {
"description": "contains score objects for the current vulnerability.",
"items": {
"description": "specifies information about (at least one) score of the vulnerability and for which products the given value applies.",
"minProperties": 2,
"properties": {
"cvss_v2": {
"$ref": "https://www.first.org/cvss/cvss-v2.0.json"
},
"cvss_v3": {
"oneOf": [
{
"$ref": "https://www.first.org/cvss/cvss-v3.0.json"
},
{
"$ref": "https://www.first.org/cvss/cvss-v3.1.json"
}
]
},
"products": {
"$ref": "#/$defs/products_t"
}
},
"required": [
"products"
],
"title": "Score",
"type": "object"
},
"minItems": 1,
"title": "List of scores",
"type": "array"
},
"threats": {
"description": "Contains information about a vulnerability that can change with time.",
"items": {
"description": "Contains the vulnerability kinetic information. This information can change as the vulnerability ages and new information becomes available.",
"properties": {
"category": {
"description": "Categorizes the threat according to the rules of the specification.",
"enum": [
"exploit_status",
"impact",
"target_set"
],
"title": "Category of the threat",
"type": "string"
},
"date": {
"description": "Contains the date when the assessment was done or the threat appeared.",
"format": "date-time",
"title": "Date of the threat",
"type": "string"
},
"details": {
"description": "Represents a thorough human-readable discussion of the threat.",
"minLength": 1,
"title": "Details of the threat",
"type": "string"
},
"group_ids": {
"$ref": "#/$defs/product_groups_t"
},
"product_ids": {
"$ref": "#/$defs/products_t"
}
},
"required": [
"category",
"details"
],
"title": "Threat",
"type": "object"
},
"minItems": 1,
"title": "List of threats",
"type": "array"
},
"title": {
"description": "Gives the document producer the ability to apply a canonical name or title to the vulnerability.",
"minLength": 1,
"title": "Title",
"type": "string"
}
},
"title": "Vulnerability",
"type": "object"
},
"minItems": 1,
"title": "Vulnerabilities",
"type": "array"
}
},
"required": [
"document"
],
"title": "Common Security Advisory Framework",
"type": "object"
} | MIT | en |
csaf-tools/CVRF-CSAF-Converter | 4d0420cd433d8787726850c3603576f6c34a3a6f | 2023-01-27T09:32:43 | cvrf2csaf/schemata/csaf/2.0/csaf_json_schema.json | 10 | 2024-05-27T05:24:48.756908Z | {
"$defs": {
"acknowledgments_t": {
"description": "Contains a list of acknowledgment elements.",
"items": {
"description": "Acknowledges contributions by describing those that contributed.",
"minProperties": 1,
"properties": {
"names": {
"description": "Contains the names of entities being recognized.",
"items": {
"description": "Contains the name of a single person.",
"examples": [
"Albert Einstein",
"Johann Sebastian Bach"
],
"minLength": 1,
"title": "Name of entity being recognized",
"type": "string"
},
"minItems": 1,
"title": "List of acknowledged names",
"type": "array"
},
"organization": {
"description": "Contains the name of a contributing organization being recognized.",
"examples": [
"CISA",
"Google Project Zero",
"Talos"
],
"minLength": 1,
"title": "Contributing organization",
"type": "string"
},
"summary": {
"description": "SHOULD represent any contextual details the document producers wish to make known about the acknowledgment or acknowledged parties.",
"examples": [
"First analysis of Coordinated Multi-Stream Attack (CMSA)"
],
"minLength": 1,
"title": "Summary of the acknowledgment",
"type": "string"
},
"urls": {
"description": "Specifies a list of URLs or location of the reference to be acknowledged.",
"items": {
"description": "Contains the URL or location of the reference to be acknowledged.",
"format": "uri",
"title": "URL of acknowledgment",
"type": "string"
},
"minItems": 1,
"title": "List of URLs",
"type": "array"
}
},
"title": "Acknowledgment",
"type": "object"
},
"minItems": 1,
"title": "List of acknowledgments",
"type": "array"
},
"branches_t": {
"description": "Contains branch elements as children of the current element.",
"items": {
"description": "Is a part of the hierarchical structure of the product tree.",
"maxProperties": 3,
"minProperties": 3,
"properties": {
"branches": {
"$ref": "#/$defs/branches_t"
},
"category": {
"description": "Describes the characteristics of the labeled branch.",
"enum": [
"architecture",
"host_name",
"language",
"legacy",
"patch_level",
"product_family",
"product_name",
"product_version",
"product_version_range",
"service_pack",
"specification",
"vendor"
],
"title": "Category of the branch",
"type": "string"
},
"name": {
"description": "Contains the canonical descriptor or 'friendly name' of the branch.",
"examples": [
"10",
"365",
"Microsoft",
"Office",
"PCS 7",
"SIMATIC",
"Siemens",
"Windows"
],
"minLength": 1,
"title": "Name of the branch",
"type": "string"
},
"product": {
"$ref": "#/$defs/full_product_name_t"
}
},
"required": [
"category",
"name"
],
"title": "Branch",
"type": "object"
},
"minItems": 1,
"title": "List of branches",
"type": "array"
},
"full_product_name_t": {
"description": "Specifies information about the product and assigns the product_id.",
"properties": {
"name": {
"description": "The value should be the product\u2019s full canonical name, including version number and other attributes, as it would be used in a human-friendly document.",
"examples": [
"Cisco AnyConnect Secure Mobility Client 2.3.185",
"Microsoft Host Integration Server 2006 Service Pack 1"
],
"minLength": 1,
"title": "Textual description of the product",
"type": "string"
},
"product_id": {
"$ref": "#/$defs/product_id_t"
},
"product_identification_helper": {
"description": "Provides at least one method which aids in identifying the product in an asset database.",
"minProperties": 1,
"properties": {
"cpe": {
"description": "The Common Platform Enumeration (CPE) attribute refers to a method for naming platforms external to this specification.",
"minLength": 5,
"pattern": "^(cpe:2\\.3:[aho\\*\\-](:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\\*\\-]))(:(((\\?*|\\*?)([a-zA-Z0-9\\-\\._]|(\\\\[\\\\\\*\\?!\"#\\$%&'\\(\\)\\+,/:;<=>@\\[\\]\\^`\\{\\|\\}~]))+(\\?*|\\*?))|[\\*\\-])){4})|([c][pP][eE]:/[AHOaho]?(:[A-Za-z0-9\\._\\-~%]*){0,6})$",
"title": "Common Platform Enumeration representation",
"type": "string"
},
"hashes": {
"description": "Contains a list of cryptographic hashes usable to identify files.",
"items": {
"description": "Contains all information to identify a file based on its cryptographic hash values.",
"properties": {
"file_hashes": {
"description": "Contains a list of cryptographic hashes for this file.",
"items": {
"description": "Contains one hash value and algorithm of the file to be identified.",
"properties": {
"algorithm": {
"default": "sha256",
"description": "Contains the name of the cryptographic hash algorithm used to calculate the value.",
"examples": [
"blake2b512",
"sha256",
"sha3-512",
"sha384",
"sha512"
],
"minLength": 1,
"title": "Algorithm of the cryptographic hash",
"type": "string"
},
"value": {
"description": "Contains the cryptographic hash value in hexadecimal representation.",
"examples": [
"37df33cb7464da5c7f077f4d56a32bc84987ec1d85b234537c1c1a4d4fc8d09dc29e2e762cb5203677bf849a2855a0283710f1f5fe1d6ce8d5ac85c645d0fcb3",
"4775203615d9534a8bfca96a93dc8b461a489f69124a130d786b42204f3341cc",
"9ea4c8200113d49d26505da0e02e2f49055dc078d1ad7a419b32e291c7afebbb84badfbd46dec42883bea0b2a1fa697c"
],
"minLength": 32,
"pattern": "^[0-9a-fA-F]{32,}$",
"title": "Value of the cryptographic hash",
"type": "string"
}
},
"required": [
"algorithm",
"value"
],
"title": "File hash",
"type": "object"
},
"minItems": 1,
"title": "List of file hashes",
"type": "array"
},
"filename": {
"description": "Contains the name of the file which is identified by the hash values.",
"examples": [
"WINWORD.EXE",
"msotadddin.dll",
"sudoers.so"
],
"minLength": 1,
"title": "Filename",
"type": "string"
}
},
"required": [
"file_hashes",
"filename"
],
"title": "Cryptographic hashes",
"type": "object"
},
"minItems": 1,
"title": "List of hashes",
"type": "array"
},
"model_numbers": {
"description": "Contains a list of parts, or full model numbers.",
"items": {
"description": "Contains a part, or a full model number of the component to identify.",
"minLength": 1,
"title": "Model number",
"type": "string"
},
"minItems": 1,
"title": "List of models",
"type": "array",
"uniqueItems": true
},
"purl": {
"description": "The package URL (purl) attribute refers to a method for reliably identifying and locating software packages external to this specification.",
"format": "uri",
"minLength": 7,
"pattern": "^pkg:[A-Za-z\\.\\-\\+][A-Za-z0-9\\.\\-\\+]*/.+",
"title": "package URL representation",
"type": "string"
},
"sbom_urls": {
"description": "Contains a list of URLs where SBOMs for this product can be retrieved.",
"items": {
"description": "Contains a URL of one SBOM for this product.",
"format": "uri",
"title": "SBOM URL",
"type": "string"
},
"minItems": 1,
"title": "List of SBOM URLs",
"type": "array"
},
"serial_numbers": {
"description": "Contains a list of parts, or full serial numbers.",
"items": {
"description": "Contains a part, or a full serial number of the component to identify.",
"minLength": 1,
"title": "Serial number",
"type": "string"
},
"minItems": 1,
"title": "List of serial numbers",
"type": "array",
"uniqueItems": true
},
"skus": {
"description": "Contains a list of parts, or full stock keeping units.",
"items": {
"description": "Contains a part, or a full stock keeping unit (SKU) which is used in the ordering process to identify the component.",
"minLength": 1,
"title": "Stock keeping unit",
"type": "string"
},
"minItems": 1,
"title": "List of stock keeping units",
"type": "array"
},
"x_generic_uris": {
"description": "Contains a list of identifiers which are either vendor-specific or derived from a standard not yet supported.",
"items": {
"description": "Provides a generic extension point for any identifier which is either vendor-specific or derived from a standard not yet supported.",
"properties": {
"namespace": {
"description": "Refers to a URL which provides the name and knowledge about the specification used or is the namespace in which these values are valid.",
"format": "uri",
"title": "Namespace of the generic URI",
"type": "string"
},
"uri": {
"description": "Contains the identifier itself.",
"format": "uri",
"title": "URI",
"type": "string"
}
},
"required": [
"namespace",
"uri"
],
"title": "Generic URI",
"type": "object"
},
"minItems": 1,
"title": "List of generic URIs",
"type": "array"
}
},
"title": "Helper to identify the product",
"type": "object"
}
},
"required": [
"name",
"product_id"
],
"title": "Full product name",
"type": "object"
},
"lang_t": {
"description": "Identifies a language, corresponding to IETF BCP 47 / RFC 5646. See IETF language registry: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry",
"examples": [
"de",
"en",
"fr",
"frc",
"jp"
],
"pattern": "^(([A-Za-z]{2,3}(-[A-Za-z]{3}(-[A-Za-z]{3}){0,2})?|[A-Za-z]{4,8})(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-[A-WY-Za-wy-z0-9](-[A-Za-z0-9]{2,8})+)*(-[Xx](-[A-Za-z0-9]{1,8})+)?|[Xx](-[A-Za-z0-9]{1,8})+|[Ii]-[Dd][Ee][Ff][Aa][Uu][Ll][Tt]|[Ii]-[Mm][Ii][Nn][Gg][Oo])$",
"title": "Language type",
"type": "string"
},
"notes_t": {
"description": "Contains notes which are specific to the current context.",
"items": {
"description": "Is a place to put all manner of text blobs related to the current context.",
"properties": {
"audience": {
"description": "Indicate who is intended to read it.",
"examples": [
"all",
"executives",
"operational management and system administrators",
"safety engineers"
],
"minLength": 1,
"title": "Audience of note",
"type": "string"
},
"category": {
"description": "Choice of what kind of note this is.",
"enum": [
"description",
"details",
"faq",
"general",
"legal_disclaimer",
"other",
"summary"
],
"title": "Note category",
"type": "string"
},
"text": {
"description": "The contents of the note. Content varies depending on type.",
"minLength": 1,
"title": "Note contents",
"type": "string"
},
"title": {
"description": "Provides a concise description of what is contained in the text of the note.",
"examples": [
"Details",
"Executive summary",
"Technical summary",
"Impact on safety systems"
],
"minLength": 1,
"title": "Title of note",
"type": "string"
}
},
"required": [
"category",
"text"
],
"title": "Note",
"type": "object"
},
"minItems": 1,
"title": "List of notes",
"type": "array"
},
"product_group_id_t": {
"description": "Token required to identify a group of products so that it can be referred to from other parts in the document. There is no predefined or required format for the product_group_id as long as it uniquely identifies a group in the context of the current document.",
"examples": [
"CSAFGID-0001",
"CSAFGID-0002",
"CSAFGID-0020"
],
"minLength": 1,
"title": "Reference token for product group instance",
"type": "string"
},
"product_groups_t": {
"description": "Specifies a list of product_group_ids to give context to the parent item.",
"items": {
"$ref": "#/$defs/product_group_id_t"
},
"minItems": 1,
"title": "List of product_group_ids",
"type": "array",
"uniqueItems": true
},
"product_id_t": {
"description": "Token required to identify a full_product_name so that it can be referred to from other parts in the document. There is no predefined or required format for the product_id as long as it uniquely identifies a product in the context of the current document.",
"examples": [
"CSAFPID-0004",
"CSAFPID-0008"
],
"minLength": 1,
"title": "Reference token for product instance",
"type": "string"
},
"products_t": {
"description": "Specifies a list of product_ids to give context to the parent item.",
"items": {
"$ref": "#/$defs/product_id_t"
},
"minItems": 1,
"title": "List of product_ids",
"type": "array",
"uniqueItems": true
},
"references_t": {
"description": "Holds a list of references.",
"items": {
"description": "Holds any reference to conferences, papers, advisories, and other resources that are related and considered related to either a surrounding part of or the entire document and to be of value to the document consumer.",
"properties": {
"category": {
"default": "external",
"description": "Indicates whether the reference points to the same document or vulnerability in focus (depending on scope) or to an external resource.",
"enum": [
"external",
"self"
],
"title": "Category of reference",
"type": "string"
},
"summary": {
"description": "Indicates what this reference refers to.",
"minLength": 1,
"title": "Summary of the reference",
"type": "string"
},
"url": {
"description": "Provides the URL for the reference.",
"format": "uri",
"title": "URL of reference",
"type": "string"
}
},
"required": [
"summary",
"url"
],
"title": "Reference",
"type": "object"
},
"minItems": 1,
"title": "List of references",
"type": "array"
},
"version_t": {
"description": "Specifies a version string to denote clearly the evolution of the content of the document. Format must be either integer or semantic versioning.",
"examples": [
"1",
"4",
"0.9.0",
"1.4.3",
"2.40.0+21AF26D3"
],
"pattern": "^(0|[1-9][0-9]*)$|^((0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)$",
"title": "Version",
"type": "string"
}
},
"$id": "https://docs.oasis-open.org/csaf/csaf/v2.0/csaf_json_schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Representation of security advisory information as a JSON document.",
"properties": {
"document": {
"description": "Captures the meta-data about this document describing a particular set of security advisories.",
"properties": {
"acknowledgments": {
"$ref": "#/$defs/acknowledgments_t",
"description": "Contains a list of acknowledgment elements associated with the whole document.",
"title": "Document acknowledgments"
},
"aggregate_severity": {
"description": "Is a vehicle that is provided by the document producer to convey the urgency and criticality with which the one or more vulnerabilities reported should be addressed. It is a document-level metric and applied to the document as a whole \u2014 not any specific vulnerability. The range of values in this field is defined according to the document producer's policies and procedures.",
"properties": {
"namespace": {
"description": "Points to the namespace so referenced.",
"format": "uri",
"title": "Namespace of aggregate severity",
"type": "string"
},
"text": {
"description": "Provides a severity which is independent of - and in addition to - any other standard metric for determining the impact or severity of a given vulnerability (such as CVSS).",
"examples": [
"Critical",
"Important",
"Moderate"
],
"minLength": 1,
"title": "Text of aggregate severity",
"type": "string"
}
},
"required": [
"text"
],
"title": "Aggregate severity",
"type": "object"
},
"category": {
"description": "Defines a short canonical name, chosen by the document producer, which will inform the end user as to the category of document.",
"examples": [
"csaf_base",
"csaf_security_advisory",
"csaf_vex",
"Example Company Security Notice"
],
"minLength": 1,
"pattern": "^[^\\s\\-_\\.](.*[^\\s\\-_\\.])?$",
"title": "Document category",
"type": "string"
},
"csaf_version": {
"description": "Gives the version of the CSAF specification which the document was generated for.",
"enum": [
"2.0"
],
"title": "CSAF version",
"type": "string"
},
"distribution": {
"description": "Describe any constraints on how this document might be shared.",
"minProperties": 1,
"properties": {
"text": {
"description": "Provides a textual description of additional constraints.",
"examples": [
"Copyright 2021, Example Company, All Rights Reserved.",
"Distribute freely.",
"Share only on a need-to-know-basis only."
],
"minLength": 1,
"title": "Textual description",
"type": "string"
},
"tlp": {
"description": "Provides details about the TLP classification of the document.",
"properties": {
"label": {
"description": "Provides the TLP label of the document.",
"enum": [
"AMBER",
"GREEN",
"RED",
"WHITE"
],
"title": "Label of TLP",
"type": "string"
},
"url": {
"default": "https://www.first.org/tlp/",
"description": "Provides a URL where to find the textual description of the TLP version which is used in this document. Default is the URL to the definition by FIRST.",
"examples": [
"https://www.us-cert.gov/tlp",
"https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Kritis/Merkblatt_TLP.pdf"
],
"format": "uri",
"title": "URL of TLP version",
"type": "string"
}
},
"required": [
"label"
],
"title": "Traffic Light Protocol (TLP)",
"type": "object"
}
},
"title": "Rules for sharing document",
"type": "object"
},
"lang": {
"$ref": "#/$defs/lang_t",
"description": "Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.",
"title": "Document language"
},
"notes": {
"$ref": "#/$defs/notes_t",
"description": "Holds notes associated with the whole document.",
"title": "Document notes"
},
"publisher": {
"description": "Provides information about the publisher of the document.",
"properties": {
"category": {
"description": "Provides information about the category of publisher releasing the document.",
"enum": [
"coordinator",
"discoverer",
"other",
"translator",
"user",
"vendor"
],
"title": "Category of publisher",
"type": "string"
},
"contact_details": {
"description": "Information on how to contact the publisher, possibly including details such as web sites, email addresses, phone numbers, and postal mail addresses.",
"examples": [
"Example Company can be reached at [email protected], or via our website at https://www.example.com/contact."
],
"minLength": 1,
"title": "Contact details",
"type": "string"
},
"issuing_authority": {
"description": "Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations.",
"minLength": 1,
"title": "Issuing authority",
"type": "string"
},
"name": {
"description": "Contains the name of the issuing party.",
"examples": [
"BSI",
"Cisco PSIRT",
"Siemens ProductCERT"
],
"minLength": 1,
"title": "Name of publisher",
"type": "string"
},
"namespace": {
"description": "Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party.",
"examples": [
"https://csaf.io",
"https://www.example.com"
],
"format": "uri",
"title": "Namespace of publisher",
"type": "string"
}
},
"required": [
"category",
"name",
"namespace"
],
"title": "Publisher",
"type": "object"
},
"references": {
"$ref": "#/$defs/references_t",
"description": "Holds a list of references associated with the whole document.",
"title": "Document references"
},
"source_lang": {
"$ref": "#/$defs/lang_t",
"description": "If this copy of the document is a translation then the value of this property describes from which language this document was translated.",
"title": "Source language"
},
"title": {
"description": "This SHOULD be a canonical name for the document, and sufficiently unique to distinguish it from similar documents.",
"examples": [
"Cisco IPv6 Crafted Packet Denial of Service Vulnerability",
"Example Company Cross-Site-Scripting Vulnerability in Example Generator"
],
"minLength": 1,
"title": "Title of this document",
"type": "string"
},
"tracking": {
"description": "Is a container designated to hold all management attributes necessary to track a CSAF document as a whole.",
"properties": {
"aliases": {
"description": "Contains a list of alternate names for the same document.",
"items": {
"description": "Specifies a non-empty string that represents a distinct optional alternative ID used to refer to the document.",
"examples": [
"CVE-2019-12345"
],
"minLength": 1,
"title": "Alternate name",
"type": "string"
},
"minItems": 1,
"title": "Aliases",
"type": "array",
"uniqueItems": true
},
"current_release_date": {
"description": "The date when the current revision of this document was released",
"format": "date-time",
"title": "Current release date",
"type": "string"
},
"generator": {
"description": "Is a container to hold all elements related to the generation of the document. These items will reference when the document was actually created, including the date it was generated and the entity that generated it.",
"properties": {
"date": {
"description": "This SHOULD be the current date that the document was generated. Because documents are often generated internally by a document producer and exist for a nonzero amount of time before being released, this field MAY be different from the Initial Release Date and Current Release Date.",
"format": "date-time",
"title": "Date of document generation",
"type": "string"
},
"engine": {
"description": "Contains information about the engine that generated the CSAF document.",
"properties": {
"name": {
"description": "Represents the name of the engine that generated the CSAF document.",
"examples": [
"Red Hat rhsa-to-cvrf",
"Secvisogram",
"TVCE"
],
"minLength": 1,
"title": "Engine name",
"type": "string"
},
"version": {
"description": "Contains the version of the engine that generated the CSAF document.",
"examples": [
"0.6.0",
"1.0.0-beta+exp.sha.a1c44f85",
"2"
],
"minLength": 1,
"title": "Engine version",
"type": "string"
}
},
"required": [
"name"
],
"title": "Engine of document generation",
"type": "object"
}
},
"required": [
"engine"
],
"title": "Document generator",
"type": "object"
},
"id": {
"description": "The ID is a simple label that provides for a wide range of numbering values, types, and schemes. Its value SHOULD be assigned and maintained by the original document issuing authority.",
"examples": [
"Example Company - 2019-YH3234",
"RHBA-2019:0024",
"cisco-sa-20190513-secureboot"
],
"minLength": 1,
"pattern": "^[\\S](.*[\\S])?$",
"title": "Unique identifier for the document",
"type": "string"
},
"initial_release_date": {
"description": "The date when this document was first published.",
"format": "date-time",
"title": "Initial release date",
"type": "string"
},
"revision_history": {
"description": "Holds one revision item for each version of the CSAF document, including the initial one.",
"items": {
"description": "Contains all the information elements required to track the evolution of a CSAF document.",
"properties": {
"date": {
"description": "The date of the revision entry",
"format": "date-time",
"title": "Date of the revision",
"type": "string"
},
"legacy_version": {
"description": "Contains the version string used in an existing document with the same content.",
"minLength": 1,
"title": "Legacy version of the revision",
"type": "string"
},
"number": {
"$ref": "#/$defs/version_t"
},
"summary": {
"description": "Holds a single non-empty string representing a short description of the changes.",
"examples": [
"Initial version."
],
"minLength": 1,
"title": "Summary of the revision",
"type": "string"
}
},
"required": [
"date",
"number",
"summary"
],
"title": "Revision",
"type": "object"
},
"minItems": 1,
"title": "Revision history",
"type": "array"
},
"status": {
"description": "Defines the draft status of the document.",
"enum": [
"draft",
"final",
"interim"
],
"title": "Document status",
"type": "string"
},
"version": {
"$ref": "#/$defs/version_t"
}
},
"required": [
"current_release_date",
"id",
"initial_release_date",
"revision_history",
"status",
"version"
],
"title": "Tracking",
"type": "object"
}
},
"required": [
"category",
"csaf_version",
"publisher",
"title",
"tracking"
],
"title": "Document level meta-data",
"type": "object"
},
"product_tree": {
"description": "Is a container for all fully qualified product names that can be referenced elsewhere in the document.",
"minProperties": 1,
"properties": {
"branches": {
"$ref": "#/$defs/branches_t"
},
"full_product_names": {
"description": "Contains a list of full product names.",
"items": {
"$ref": "#/$defs/full_product_name_t"
},
"minItems": 1,
"title": "List of full product names",
"type": "array"
},
"product_groups": {
"description": "Contains a list of product groups.",
"items": {
"description": "Defines a new logical group of products that can then be referred to in other parts of the document to address a group of products with a single identifier.",
"properties": {
"group_id": {
"$ref": "#/$defs/product_group_id_t"
},
"product_ids": {
"description": "Lists the product_ids of those products which known as one group in the document.",
"items": {
"$ref": "#/$defs/product_id_t"
},
"minItems": 2,
"title": "List of Product IDs",
"type": "array",
"uniqueItems": true
},
"summary": {
"description": "Gives a short, optional description of the group.",
"examples": [
"Products supporting Modbus.",
"The x64 versions of the operating system."
],
"minLength": 1,
"title": "Summary of the product group",
"type": "string"
}
},
"required": [
"group_id",
"product_ids"
],
"title": "Product group",
"type": "object"
},
"minItems": 1,
"title": "List of product groups",
"type": "array"
},
"relationships": {
"description": "Contains a list of relationships.",
"items": {
"description": "Establishes a link between two existing full_product_name_t elements, allowing the document producer to define a combination of two products that form a new full_product_name entry.",
"properties": {
"category": {
"description": "Defines the category of relationship for the referenced component.",
"enum": [
"default_component_of",
"external_component_of",
"installed_on",
"installed_with",
"optional_component_of"
],
"title": "Relationship category",
"type": "string"
},
"full_product_name": {
"$ref": "#/$defs/full_product_name_t"
},
"product_reference": {
"$ref": "#/$defs/product_id_t",
"description": "Holds a Product ID that refers to the Full Product Name element, which is referenced as the first element of the relationship.",
"title": "Product reference"
},
"relates_to_product_reference": {
"$ref": "#/$defs/product_id_t",
"description": "Holds a Product ID that refers to the Full Product Name element, which is referenced as the second element of the relationship.",
"title": "Relates to product reference"
}
},
"required": [
"category",
"full_product_name",
"product_reference",
"relates_to_product_reference"
],
"title": "Relationship",
"type": "object"
},
"minItems": 1,
"title": "List of relationships",
"type": "array"
}
},
"title": "Product tree",
"type": "object"
},
"vulnerabilities": {
"description": "Represents a list of all relevant vulnerability information items.",
"items": {
"description": "Is a container for the aggregation of all fields that are related to a single vulnerability in the document.",
"minProperties": 1,
"properties": {
"acknowledgments": {
"$ref": "#/$defs/acknowledgments_t",
"description": "Contains a list of acknowledgment elements associated with this vulnerability item.",
"title": "Vulnerability acknowledgments"
},
"cve": {
"description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.",
"pattern": "^CVE-[0-9]{4}-[0-9]{4,}$",
"title": "CVE",
"type": "string"
},
"cwe": {
"description": "Holds the MITRE standard Common Weakness Enumeration (CWE) for the weakness associated.",
"properties": {
"id": {
"description": "Holds the ID for the weakness associated.",
"examples": [
"CWE-22",
"CWE-352",
"CWE-79"
],
"pattern": "^CWE-[1-9]\\d{0,5}$",
"title": "Weakness ID",
"type": "string"
},
"name": {
"description": "Holds the full name of the weakness as given in the CWE specification.",
"examples": [
"Cross-Site Request Forgery (CSRF)",
"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
],
"minLength": 1,
"title": "Weakness name",
"type": "string"
}
},
"required": [
"id",
"name"
],
"title": "CWE",
"type": "object"
},
"discovery_date": {
"description": "Holds the date and time the vulnerability was originally discovered.",
"format": "date-time",
"title": "Discovery date",
"type": "string"
},
"flags": {
"description": "Contains a list of machine readable flags.",
"items": {
"description": "Contains product specific information in regard to this vulnerability as a single machine readable flag.",
"properties": {
"date": {
"description": "Contains the date when assessment was done or the flag was assigned.",
"format": "date-time",
"title": "Date of the flag",
"type": "string"
},
"group_ids": {
"$ref": "#/$defs/product_groups_t"
},
"label": {
"description": "Specifies the machine readable label.",
"enum": [
"component_not_present",
"inline_mitigations_already_exist",
"vulnerable_code_cannot_be_controlled_by_adversary",
"vulnerable_code_not_in_execute_path",
"vulnerable_code_not_present"
],
"title": "Label of the flag",
"type": "string"
},
"product_ids": {
"$ref": "#/$defs/products_t"
}
},
"required": [
"label"
],
"title": "Flag",
"type": "object"
},
"minItems": 1,
"title": "List of flags",
"type": "array",
"uniqueItems": true
},
"ids": {
"description": "Represents a list of unique labels or tracking IDs for the vulnerability (if such information exists).",
"items": {
"description": "Contains a single unique label or tracking ID for the vulnerability.",
"properties": {
"system_name": {
"description": "Indicates the name of the vulnerability tracking or numbering system.",
"examples": [
"Cisco Bug ID",
"GitHub Issue"
],
"minLength": 1,
"title": "System name",
"type": "string"
},
"text": {
"description": "Is unique label or tracking ID for the vulnerability (if such information exists).",
"examples": [
"CSCso66472",
"oasis-tcs/csaf#210"
],
"minLength": 1,
"title": "Text",
"type": "string"
}
},
"required": [
"system_name",
"text"
],
"title": "ID",
"type": "object"
},
"minItems": 1,
"title": "List of IDs",
"type": "array",
"uniqueItems": true
},
"involvements": {
"description": "Contains a list of involvements.",
"items": {
"description": "Is a container, that allows the document producers to comment on the level of involvement (or engagement) of themselves or third parties in the vulnerability identification, scoping, and remediation process.",
"properties": {
"date": {
"description": "Holds the date and time of the involvement entry.",
"format": "date-time",
"title": "Date of involvement",
"type": "string"
},
"party": {
"description": "Defines the category of the involved party.",
"enum": [
"coordinator",
"discoverer",
"other",
"user",
"vendor"
],
"title": "Party category",
"type": "string"
},
"status": {
"description": "Defines contact status of the involved party.",
"enum": [
"completed",
"contact_attempted",
"disputed",
"in_progress",
"not_contacted",
"open"
],
"title": "Party status",
"type": "string"
},
"summary": {
"description": "Contains additional context regarding what is going on.",
"minLength": 1,
"title": "Summary of the involvement",
"type": "string"
}
},
"required": [
"party",
"status"
],
"title": "Involvement",
"type": "object"
},
"minItems": 1,
"title": "List of involvements",
"type": "array",
"uniqueItems": true
},
"notes": {
"$ref": "#/$defs/notes_t",
"description": "Holds notes associated with this vulnerability item.",
"title": "Vulnerability notes"
},
"product_status": {
"description": "Contains different lists of product_ids which provide details on the status of the referenced product related to the current vulnerability. ",
"minProperties": 1,
"properties": {
"first_affected": {
"$ref": "#/$defs/products_t",
"description": "These are the first versions of the releases known to be affected by the vulnerability.",
"title": "First affected"
},
"first_fixed": {
"$ref": "#/$defs/products_t",
"description": "These versions contain the first fix for the vulnerability but may not be the recommended fixed versions.",
"title": "First fixed"
},
"fixed": {
"$ref": "#/$defs/products_t",
"description": "These versions contain a fix for the vulnerability but may not be the recommended fixed versions.",
"title": "Fixed"
},
"known_affected": {
"$ref": "#/$defs/products_t",
"description": "These versions are known to be affected by the vulnerability.",
"title": "Known affected"
},
"known_not_affected": {
"$ref": "#/$defs/products_t",
"description": "These versions are known not to be affected by the vulnerability.",
"title": "Known not affected"
},
"last_affected": {
"$ref": "#/$defs/products_t",
"description": "These are the last versions in a release train known to be affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.",
"title": "Last affected"
},
"recommended": {
"$ref": "#/$defs/products_t",
"description": "These versions have a fix for the vulnerability and are the vendor-recommended versions for fixing the vulnerability.",
"title": "Recommended"
},
"under_investigation": {
"$ref": "#/$defs/products_t",
"description": "It is not known yet whether these versions are or are not affected by the vulnerability. However, it is still under investigation - the result will be provided in a later release of the document.",
"title": "Under investigation"
}
},
"title": "Product status",
"type": "object"
},
"references": {
"$ref": "#/$defs/references_t",
"description": "Holds a list of references associated with this vulnerability item.",
"title": "Vulnerability references"
},
"release_date": {
"description": "Holds the date and time the vulnerability was originally released into the wild.",
"format": "date-time",
"title": "Release date",
"type": "string"
},
"remediations": {
"description": "Contains a list of remediations.",
"items": {
"description": "Specifies details on how to handle (and presumably, fix) a vulnerability.",
"properties": {
"category": {
"description": "Specifies the category which this remediation belongs to.",
"enum": [
"mitigation",
"no_fix_planned",
"none_available",
"vendor_fix",
"workaround"
],
"title": "Category of the remediation",
"type": "string"
},
"date": {
"description": "Contains the date from which the remediation is available.",
"format": "date-time",
"title": "Date of the remediation",
"type": "string"
},
"details": {
"description": "Contains a thorough human-readable discussion of the remediation.",
"minLength": 1,
"title": "Details of the remediation",
"type": "string"
},
"entitlements": {
"description": "Contains a list of entitlements.",
"items": {
"description": "Contains any possible vendor-defined constraints for obtaining fixed software or hardware that fully resolves the vulnerability.",
"minLength": 1,
"title": "Entitlement of the remediation",
"type": "string"
},
"minItems": 1,
"title": "List of entitlements",
"type": "array"
},
"group_ids": {
"$ref": "#/$defs/product_groups_t"
},
"product_ids": {
"$ref": "#/$defs/products_t"
},
"restart_required": {
"description": "Provides information on category of restart is required by this remediation to become effective.",
"properties": {
"category": {
"description": "Specifies what category of restart is required by this remediation to become effective.",
"enum": [
"connected",
"dependencies",
"machine",
"none",
"parent",
"service",
"system",
"vulnerable_component",
"zone"
],
"title": "Category of restart",
"type": "string"
},
"details": {
"description": "Provides additional information for the restart. This can include details on procedures, scope or impact.",
"minLength": 1,
"title": "Additional restart information",
"type": "string"
}
},
"required": [
"category"
],
"title": "Restart required by remediation",
"type": "object"
},
"url": {
"description": "Contains the URL where to obtain the remediation.",
"format": "uri",
"title": "URL to the remediation",
"type": "string"
}
},
"required": [
"category",
"details"
],
"title": "Remediation",
"type": "object"
},
"minItems": 1,
"title": "List of remediations",
"type": "array"
},
"scores": {
"description": "contains score objects for the current vulnerability.",
"items": {
"description": "specifies information about (at least one) score of the vulnerability and for which products the given value applies.",
"minProperties": 2,
"properties": {
"cvss_v2": {
"$ref": "https://www.first.org/cvss/cvss-v2.0.json"
},
"cvss_v3": {
"oneOf": [
{
"$ref": "https://www.first.org/cvss/cvss-v3.0.json"
},
{
"$ref": "https://www.first.org/cvss/cvss-v3.1.json"
}
]
},
"products": {
"$ref": "#/$defs/products_t"
}
},
"required": [
"products"
],
"title": "Score",
"type": "object"
},
"minItems": 1,
"title": "List of scores",
"type": "array"
},
"threats": {
"description": "Contains information about a vulnerability that can change with time.",
"items": {
"description": "Contains the vulnerability kinetic information. This information can change as the vulnerability ages and new information becomes available.",
"properties": {
"category": {
"description": "Categorizes the threat according to the rules of the specification.",
"enum": [
"exploit_status",
"impact",
"target_set"
],
"title": "Category of the threat",
"type": "string"
},
"date": {
"description": "Contains the date when the assessment was done or the threat appeared.",
"format": "date-time",
"title": "Date of the threat",
"type": "string"
},
"details": {
"description": "Represents a thorough human-readable discussion of the threat.",
"minLength": 1,
"title": "Details of the threat",
"type": "string"
},
"group_ids": {
"$ref": "#/$defs/product_groups_t"
},
"product_ids": {
"$ref": "#/$defs/products_t"
}
},
"required": [
"category",
"details"
],
"title": "Threat",
"type": "object"
},
"minItems": 1,
"title": "List of threats",
"type": "array"
},
"title": {
"description": "Gives the document producer the ability to apply a canonical name or title to the vulnerability.",
"minLength": 1,
"title": "Title",
"type": "string"
}
},
"title": "Vulnerability",
"type": "object"
},
"minItems": 1,
"title": "Vulnerabilities",
"type": "array"
}
},
"required": [
"document"
],
"title": "Common Security Advisory Framework",
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | cda7dce8623b130eb2a30c3fbe4bf9ce12a25f38 | 2022-08-21T05:20:36 | src/data/schema/5emm-v5.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | c83ad166fe21f95dd312d9b5dc2ce2510e6f0093 | 2023-03-19T19:35:31 | src/data/schema/5emm-v7.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"bonusAction": {
"type": "boolean"
},
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"alphaTrait": {
"type": "boolean"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"crOverride": {
"type": "string"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"sensesNotes": {
"type": "string"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCrDisplayOverride": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 616ac202571562b3f61f3cdbe6548fc26d3940be | 2022-09-17T23:35:47 | src/data/schema/5emm-v6.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"bonusAction": {
"type": "boolean"
},
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"alphaTrait": {
"type": "boolean"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"crOverride": {
"type": "string"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCrDisplayOverride": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 33f2303a0eb227f6c08b39ce2fcc8441e2823505 | 2021-01-02T20:31:44 | src/data/schema/5emm-v2.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": "integer"
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 8b028ba282963ea3d2473d67baa36f002b600406 | 2020-07-08T03:17:45 | src/data/schema/spells-v1.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"items": {
"properties": {
"class": {
"items": {
"type": "string"
},
"type": "array"
},
"custom": {
"type": "boolean"
},
"damage": {
"type": "integer"
},
"level": {
"type": "integer"
},
"levelDisplay": {
"type": "string"
},
"multitarget": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
} | MIT | en |
ebshimizu/5e-monster-maker | 2280c4c68bd5a97cc26fba02729e6e4d2d8d07c6 | 2021-10-05T01:52:46 | src/data/schema/5emm-v3.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | bc1d2d1c1829d05317f0f33c668c8eaa380d2fea | 2021-03-06T21:43:40 | src/data/schema/5emm-v3.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": "integer"
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | b82b9980bc87d714be978e13430c45d820c8ae16 | 2022-08-21T05:20:38 | src/data/schema/spells-v2.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"patternProperties": {
".*": {
"properties": {
"class": {
"items": {
"type": "string"
},
"type": "array"
},
"custom": {
"type": "boolean"
},
"damage": {
"type": "integer"
},
"level": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
}
}
},
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | caf0711888692ca26c72a9ad64302c1cd481a538 | 2022-08-21T05:20:31 | src/data/schema/spells-v1.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"items": {
"properties": {
"class": {
"items": {
"type": "string"
},
"type": "array"
},
"custom": {
"type": "boolean"
},
"damage": {
"type": "integer"
},
"level": {
"type": "integer"
},
"levelDisplay": {
"type": "string"
},
"multitarget": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
} | MIT | en |
ebshimizu/5e-monster-maker | cec56a566efd68458e2f7a40da412370e4207a00 | 2020-07-07T18:02:42 | src/data/schema/5emm-v1.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": "integer"
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 17a9a2223dc7468a39eda0984e3e71a61279e98b | 2021-12-19T20:10:16 | src/data/schema/5emm-v4.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 94e973777af0782d9da29079b7fa71d66e042a29 | 2022-08-21T05:20:32 | src/data/schema/5emm-v5.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 4aca0faa3ab733ac7eb5158110b7472408d5b57f | 2021-02-21T03:08:09 | src/data/schema/5emm-v3.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": "integer"
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions",
"lairActions"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 9b2456e67e1dff559dab6e2f673cff4bce1d6745 | 2023-07-21T03:18:58 | src/data/schema/5emm-v8.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"bonusAction": {
"type": "boolean"
},
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"alphaTrait": {
"type": "boolean"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"crOverride": {
"type": "string"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"inventory": {
"type": "string"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"sensesNotes": {
"type": "string"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCrDisplayOverride": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription",
"inventory"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | 6b67f311204f46421097663a472635e8207e61c4 | 2023-03-19T19:42:29 | src/data/schema/5emm-v7.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"bonusAction": {
"type": "boolean"
},
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"alphaTrait": {
"type": "boolean"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"crOverride": {
"type": "string"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"sensesNotes": {
"type": "string"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "number"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCrDisplayOverride": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | b71fd88f2ade3cef5cd82a840811821f0491a8e7 | 2021-12-19T00:45:11 | src/data/schema/5emm-v4.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | ed06a408bc9721db242720dce7ab5a853fef0f36 | 2022-08-30T05:28:16 | src/data/schema/5emm-v6.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"actions": {
"items": {
"properties": {
"bonusAction": {
"type": "boolean"
},
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alignment": {
"type": [
"string",
"null"
]
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"customRenderer": {
"type": "string"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": [
"integer",
"null"
]
},
"targets": {
"type": "integer"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"autoEstimateDefenseCr": {
"type": "boolean"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"hpDieTypeOverride": {
"type": "boolean"
},
"hpModifierOverride": {
"type": "boolean"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"lairActionPreamble": {
"type": "string"
},
"lairActions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"languages": {
"type": "string"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
},
"customPreamble": {
"type": "string"
},
"useCustomPreamble": {
"type": "boolean"
}
},
"type": "object"
},
"multiattackOptions": {
"properties": {
"customMultiattackRenderer": {
"type": "string"
},
"postscript": {
"type": "string"
},
"useCustomRenderer": {
"type": "boolean"
}
},
"type": "object"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"mythicActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"preamble": {
"type": "string"
},
"triggerDescription": {
"type": "string"
},
"triggerName": {
"type": "string"
},
"triggerRecharge": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"proficiencyOverride": {
"type": "boolean"
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"regionalEffectDescription": {
"type": "string"
},
"regionalEffects": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"expertise": {
"type": "boolean"
},
"key": {
"type": "string"
},
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"label": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"customClassPreamble": {
"type": "string"
},
"customInnatePreamble": {
"type": "string"
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
},
"useCustomClassPreamble": {
"type": "boolean"
},
"useCustomInnatePreamble": {
"type": "boolean"
}
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"automatic": {
"type": "boolean"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"customPreamble": {
"type": "boolean"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": {
"type": [
"string",
"null"
]
},
"useArticleInToken": {
"type": "boolean"
},
"useCustomLairActionPreamble": {
"type": "boolean"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"mythicActions",
"reactions",
"lairActions",
"regionalEffects",
"regionalEffectDescription"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | fb7dc30fd40baf98c71919931b26fa43fd6169ec | 2020-07-05T07:34:31 | src/data/schema/5emm-v1.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"AC": {
"type": "integer"
},
"ACType": {
"type": "string"
},
"CR": {
"type": "integer"
},
"HP": {
"properties": {
"HD": {
"type": "integer"
},
"modifier": {
"type": "integer"
},
"type": {
"type": "integer"
}
},
"type": "object"
},
"alignment": {
"type": "string"
},
"attacks": {
"items": {
"properties": {
"additionalDamage": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"alternateDamage": {
"properties": {
"active": {
"type": "boolean"
},
"condition": {
"type": "string"
},
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"damage": {
"properties": {
"count": {
"type": "integer"
},
"dice": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"distance": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"stat": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"range": {
"properties": {
"long": {
"type": "integer"
},
"reach": {
"type": "integer"
},
"standard": {
"type": "integer"
}
},
"type": "object"
},
"save": {
"type": "integer"
},
"targets": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"conditions": {
"items": {
"type": "string"
},
"type": "array"
},
"immunities": {
"items": {
"type": "string"
},
"type": "array"
},
"languages": {
"type": "string"
},
"multiattacks": {
"items": {
"properties": {
"actions": {
"items": {
"type": "string"
},
"type": "array"
},
"attacks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"passivePerception": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"proficiency": {
"type": "integer"
},
"resistances": {
"items": {
"type": "string"
},
"type": "array"
},
"saveVersion": {
"type": "integer"
},
"saves": {
"properties": {
"CHA": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"CON": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"DEX": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"INT": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"STR": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
},
"WIS": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"senses": {
"properties": {
"blindsight": {
"type": "integer"
},
"darkvision": {
"type": "integer"
},
"tremorsense": {
"type": "integer"
},
"truesight": {
"type": "integer"
}
},
"type": "object"
},
"size": {
"type": "string"
},
"skills": {
"items": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
},
"proficient": {
"type": "boolean"
},
"skill": {
"properties": {
"key": {
"type": "string"
},
"stat": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"speeds": {
"items": {
"properties": {
"id": {
"type": "string"
},
"note": {
"type": "string"
},
"speed": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"spellcasting": {
"actions": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"bonusModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"legendaryOnly": {
"type": "boolean"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"recharge": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"legendaryActions": {
"properties": {
"actions": {
"items": {
"properties": {
"actionId": {
"type": "string"
},
"cost": {
"type": "integer"
},
"id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"count": {
"type": "integer"
}
},
"type": "object"
},
"properties": {
"atWill": {
"items": {
"properties": {
"count": {
"type": "integer"
},
"id": {
"type": "string"
},
"rate": {
"type": "string"
},
"spells": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"atWillNotes": {
"type": "string"
},
"attack": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"class": {
"type": [
"string",
"null"
]
},
"level": {
"type": "integer"
},
"modifier": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"notes": {
"type": "string"
},
"save": {
"properties": {
"override": {
"type": "boolean"
},
"overrideValue": {
"type": "integer"
}
},
"type": "object"
},
"slots": {
"items": {
"type": "integer"
},
"maxItems": 9,
"minItems": 9,
"type": "array"
},
"standard": {
"items": {
"type": "string"
},
"type": "array"
},
"stat": {
"type": "string"
}
},
"reactions": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"traits": {
"items": {
"properties": {
"crAnnotation": {
"properties": {
"acModifier": {
"type": "integer"
},
"bonusModifier": {
"type": "integer"
},
"ehpModifier": {
"type": "integer"
},
"ehpMultiplier": {
"type": "integer"
},
"include": {
"type": "boolean"
},
"maxDamage": {
"type": "integer"
},
"maxModifier": {
"type": "integer"
},
"maxSave": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
}
},
"type": "object"
},
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"limitedUse": {
"properties": {
"count": {
"type": "integer"
},
"rate": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"type": "object"
},
"stats": {
"properties": {
"CHA": {
"type": "integer"
},
"CON": {
"type": "integer"
},
"DEX": {
"type": "integer"
},
"INT": {
"type": "integer"
},
"STR": {
"type": "integer"
},
"WIS": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
},
"vulnerabilities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"saveVersion",
"size",
"type",
"alignment",
"AC",
"ACType",
"CR",
"proficiency",
"HP",
"speeds",
"stats",
"saves",
"skills",
"resistances",
"immunities",
"vulnerabilities",
"conditions",
"senses",
"passivePerception",
"languages",
"attacks",
"multiattacks",
"spellcasting",
"traits",
"actions",
"legendaryActions",
"reactions"
],
"type": "object"
} | MIT | en |
ebshimizu/5e-monster-maker | b82b9980bc87d714be978e13430c45d820c8ae16 | 2022-08-21T05:20:38 | src/data/schema/spells-v1.json | 31 | 2024-05-28T05:26:35.869566Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"items": {
"properties": {
"class": {
"items": {
"type": "string"
},
"type": "array"
},
"custom": {
"type": "boolean"
},
"damage": {
"type": "integer"
},
"level": {
"type": "integer"
},
"multitarget": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
} | MIT | en |
Assorted-Development/winforms-themes | 86decfc68563beff31b70c65effe1b37ea542772 | 2024-02-25T15:36:49 | WinFormsThemes/WinFormsThemes/themes.schema.json | 5 | 2024-05-27T04:59:22.629791Z | {
"$defs": {
"color_or_var_type": {
"description": "the color value or a variable name",
"oneOf": [
{
"$ref": "#/$defs/color_type"
},
{
"description": "the variable name from the list of variables above",
"pattern": "^[^#]*$",
"type": "string"
}
]
},
"color_type": {
"description": "the color value",
"pattern": "^#[0-9A-Fa-f]{6}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A filebased theme definition for https://github.com/Assorted-Development/winforms-themes",
"properties": {
"capabilities": {
"description": "Either one of 'DarkMode', 'LightMode', 'HighContrast' or any string as custom capability",
"items": {
"type": "string"
},
"type": "array"
},
"colors": {
"description": "The theme definition",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the form background color"
},
"controls": {
"description": "The definition for all UI controls",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the general control background color"
},
"borderColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the general control border color"
},
"button": {
"description": "The definition for all Buttons",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the button background color"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the button foreground color"
},
"hoverColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the button background color when hovering over it"
}
},
"type": "object"
},
"comboBox": {
"description": "The definition for all ComboBoxes",
"properties": {
"itemBackColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the comboBox background color for items"
},
"itemHoverColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the comboBox background color for items when hovering over them"
}
},
"type": "object"
},
"dataGridView": {
"description": "The definition for all DataGridViews",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the background color for the DataGridView"
},
"cellBackColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the background color for the DataGridView cells"
},
"cellForeColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the foreground color for the DataGridView cells"
},
"headerBackColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the background color for the DataGridView header"
},
"headerForeColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the foreground color for the DataGridView header"
},
"selectionBackColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the background color for the DataGridViews selected rows"
}
},
"type": "object"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the general control foreground color"
},
"highlightColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the general control background color when a control should be highlighted"
},
"listView": {
"description": "The definition for all ListViews",
"properties": {
"headerGroupColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the background color for the ListViews Header Group"
}
},
"type": "object"
}
},
"required": [
"backColor",
"foreColor"
],
"type": "object"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the form foreground color"
},
"status": {
"description": "The definition for all status colors",
"properties": {
"error": {
"description": "The definition for all error status controls",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the error background color"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the error foreground color"
}
},
"type": "object"
},
"success": {
"description": "The definition for all success status controls",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the success background color"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the success foreground color"
}
},
"type": "object"
},
"warning": {
"description": "The definition for all warning status controls",
"properties": {
"backColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the warning background color"
},
"foreColor": {
"$ref": "#/$defs/color_or_var_type",
"description": "the warning foreground color"
}
},
"type": "object"
}
},
"type": "object"
}
},
"required": [
"backColor",
"foreColor",
"controls"
],
"type": "object"
},
"name": {
"description": "The theme name",
"type": "string"
},
"variables": {
"additionalProperties": {
"$ref": "#/$defs/color_type"
},
"description": "Can be used to reuse color definitions. The variable names can be used instead of a color below",
"type": "object"
},
"version": {
"description": "The schema version. required backwards compatibility. should be set to 3 for now.",
"minimum": 3,
"type": "integer"
}
},
"required": [
"name",
"capabilities",
"version",
"colors"
],
"title": "Filebased theme definition",
"type": "object"
} | Apache-2.0 | en |
CloudHealth/helm | 8a77c331bfc31001ede7d53fb124fbcf2ae2e181 | 2023-12-12T15:00:13 | charts/cloudhealth-collector/values.schema.json | 8 | 2024-05-27T07:53:27.385246Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"apiToken": {
"pattern": "^.{6,48}$",
"type": "string"
},
"chtRegion": {
"pattern": "^(us-east-1|us-east-2)$",
"type": "string"
},
"clusterName": {
"pattern": "^.{1,255}$",
"type": "string"
},
"collectionIntervalSecs": {
"minimum": 900,
"type": "integer"
},
"containerSecurityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"default": {},
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"drop"
],
"type": "object"
},
"readOnlyRootFilesystem": {
"type": "boolean"
},
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"allowPrivilegeEscalation",
"readOnlyRootFilesystem",
"runAsNonRoot",
"capabilities"
],
"type": "object"
},
"devArgs": {
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"repository",
"tag"
],
"type": "object"
},
"jvmMemory": {
"type": "string"
},
"liveness": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"required": [
"initialDelaySeconds",
"failureThreshold",
"periodSeconds"
],
"type": "object"
},
"podSecurityContext": {
"properties": {
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"runAsNonRoot"
],
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
}
},
"required": [
"limits",
"requests"
],
"type": "object"
},
"secretName": {
"type": "string"
},
"serviceAccount": {
"properties": {
"create": {
"type": "boolean"
}
},
"required": [
"create"
],
"type": "object"
}
},
"required": [
"clusterName",
"chtRegion",
"collectionIntervalSecs",
"jvmMemory",
"image",
"secretName",
"serviceAccount",
"podSecurityContext",
"containerSecurityContext",
"resources",
"liveness",
"devArgs"
],
"type": "object"
} | Apache-2.0 | en |
CloudHealth/helm | 87049d3b517c9aa40be449d6c5020e02089ac6af | 2023-10-20T15:54:37 | charts/cloudhealth-collector/values.schema.json | 8 | 2024-05-27T07:53:27.385246Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"apiToken": {
"pattern": "^.{6,48}$",
"type": "string"
},
"chtRegion": {
"pattern": "^(us-east-1|us-east-2)$",
"type": "string"
},
"clusterName": {
"pattern": "^.{1,255}$",
"type": "string"
},
"collectionIntervalSecs": {
"minimum": 900,
"type": "integer"
},
"containerSecurityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"default": {},
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"drop"
],
"type": "object"
},
"readOnlyRootFilesystem": {
"type": "boolean"
},
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"allowPrivilegeEscalation",
"readOnlyRootFilesystem",
"runAsNonRoot",
"capabilities"
],
"type": "object"
},
"devArgs": {
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"repository",
"tag"
],
"type": "object"
},
"jvmMemory": {
"type": "string"
},
"liveness": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"required": [
"initialDelaySeconds",
"failureThreshold",
"periodSeconds"
],
"type": "object"
},
"podSecurityContext": {
"properties": {
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"runAsNonRoot"
],
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
}
},
"required": [
"limits",
"requests"
],
"type": "object"
},
"secretName": {
"type": "string"
},
"serviceAccount": {
"properties": {
"create": {
"type": "boolean"
}
},
"required": [
"create"
],
"type": "object"
}
},
"required": [
"apiToken",
"clusterName",
"chtRegion",
"collectionIntervalSecs",
"jvmMemory",
"image",
"secretName",
"serviceAccount",
"podSecurityContext",
"containerSecurityContext",
"resources",
"liveness",
"devArgs"
],
"type": "object"
} | Apache-2.0 | en |
CloudHealth/helm | a2d85a43ca4175b7ffa67fefd2e82af4dbb2d63d | 2023-12-20T15:32:38 | charts/cloudhealth-collector/values.schema.json | 8 | 2024-05-27T07:53:27.385246Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"apiToken": {
"anyOf": [
{
"type": "null"
},
{
"pattern": "^(.{6,48}|)$",
"type": "string"
}
]
},
"chtEndpointPrefix": {
"pattern": "^(use1|preprod.test)$",
"type": "string"
},
"clusterName": {
"pattern": "^.{1,255}$",
"type": "string"
},
"collectionIntervalSecs": {
"minimum": 900,
"type": "integer"
},
"containerSecurityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"default": {},
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"drop"
],
"type": "object"
},
"readOnlyRootFilesystem": {
"type": "boolean"
},
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"allowPrivilegeEscalation",
"readOnlyRootFilesystem",
"runAsNonRoot",
"capabilities"
],
"type": "object"
},
"devArgs": {
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"repository",
"tag"
],
"type": "object"
},
"jvmMemory": {
"type": "string"
},
"liveness": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"required": [
"initialDelaySeconds",
"failureThreshold",
"periodSeconds"
],
"type": "object"
},
"podSecurityContext": {
"properties": {
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"runAsNonRoot"
],
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
}
},
"required": [
"limits",
"requests"
],
"type": "object"
},
"secretName": {
"type": "string"
},
"serviceAccount": {
"properties": {
"create": {
"type": "boolean"
}
},
"required": [
"create"
],
"type": "object"
}
},
"required": [
"clusterName",
"chtEndpointPrefix",
"collectionIntervalSecs",
"jvmMemory",
"image",
"secretName",
"serviceAccount",
"podSecurityContext",
"containerSecurityContext",
"resources",
"liveness",
"devArgs"
],
"type": "object"
} | Apache-2.0 | en |
CloudHealth/helm | eec215bba1ec683648bcb4b00149545b2c71cf13 | 2023-12-14T17:51:51 | charts/cloudhealth-collector/values.schema.json | 8 | 2024-05-27T07:53:27.385246Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"apiToken": {
"pattern": "^.{6,48}$",
"type": "string"
},
"chtEndpointPrefix": {
"pattern": "^(use1|preprod.test)$",
"type": "string"
},
"clusterName": {
"pattern": "^.{1,255}$",
"type": "string"
},
"collectionIntervalSecs": {
"minimum": 900,
"type": "integer"
},
"containerSecurityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"default": {},
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"drop"
],
"type": "object"
},
"readOnlyRootFilesystem": {
"type": "boolean"
},
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"allowPrivilegeEscalation",
"readOnlyRootFilesystem",
"runAsNonRoot",
"capabilities"
],
"type": "object"
},
"devArgs": {
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"required": [
"repository",
"tag"
],
"type": "object"
},
"jvmMemory": {
"type": "string"
},
"liveness": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"required": [
"initialDelaySeconds",
"failureThreshold",
"periodSeconds"
],
"type": "object"
},
"podSecurityContext": {
"properties": {
"runAsNonRoot": {
"type": "boolean"
}
},
"required": [
"runAsNonRoot"
],
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"required": [
"cpu",
"memory"
],
"type": "object"
}
},
"required": [
"limits",
"requests"
],
"type": "object"
},
"secretName": {
"type": "string"
},
"serviceAccount": {
"properties": {
"create": {
"type": "boolean"
}
},
"required": [
"create"
],
"type": "object"
}
},
"required": [
"clusterName",
"chtEndpointPrefix",
"collectionIntervalSecs",
"jvmMemory",
"image",
"secretName",
"serviceAccount",
"podSecurityContext",
"containerSecurityContext",
"resources",
"liveness",
"devArgs"
],
"type": "object"
} | Apache-2.0 | en |
fermyon/spin-plugins | bc2866f0d507e74d05af92d50e799677c45a2d97 | 2022-08-25T19:40:14 | json-schema/spin-plugin-manifest-schema-0.1.json | 8 | 2024-05-27T07:19:41.66307Z | {
"$id": "https://github.com/fermyon/spin-plugins/json-schema/spin-plugin-manifest-schema-0.1.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"name": {
"type": "string"
},
"packages": {
"items": {
"additionalProperties": false,
"properties": {
"arch": {
"enum": [
"amd64",
"aarch64"
],
"type": "string"
},
"os": {
"enum": [
"linux",
"osx",
"windows"
],
"type": "string"
},
"sha256": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"os",
"arch",
"url",
"sha256"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"spinCompatibility": {
"pattern": "^([><~^*]?[=]?v?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?(\\.(0|[1-9]\\d*))?(-(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(\\.(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\\+[0-9a-zA-Z-]+(\\.[0-9a-zA-Z-]+)*)?)(?:, *([><~^*]?[=]?v?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?(\\.(0|[1-9]\\d*))?(-(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(\\.(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\\+[0-9a-zA-Z-]+(\\.[0-9a-zA-Z-]+)*)?))*$",
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"description",
"version",
"spinCompatibility",
"license",
"packages"
],
"title": "spin-plugin-manifest-schema-0.1",
"type": "object"
} | Apache-2.0 | en |
fermyon/spin-plugins | 3aac1a4d603afc10aa32d6a7d868b1752c768470 | 2022-09-08T23:47:58 | json-schema/spin-plugin-manifest-schema-0.1.json | 8 | 2024-05-27T07:19:41.66307Z | {
"$id": "https://github.com/fermyon/spin-plugins/json-schema/spin-plugin-manifest-schema-0.1.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"license": {
"type": "string"
},
"name": {
"type": "string"
},
"packages": {
"items": {
"additionalProperties": false,
"properties": {
"arch": {
"enum": [
"amd64",
"aarch64"
],
"type": "string"
},
"os": {
"enum": [
"linux",
"macos",
"windows"
],
"type": "string"
},
"sha256": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"os",
"arch",
"url",
"sha256"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"spinCompatibility": {
"pattern": "^([><~^*]?[=]?v?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?(\\.(0|[1-9]\\d*))?(-(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(\\.(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\\+[0-9a-zA-Z-]+(\\.[0-9a-zA-Z-]+)*)?)(?:, *([><~^*]?[=]?v?(0|[1-9]\\d*)(\\.(0|[1-9]\\d*))?(\\.(0|[1-9]\\d*))?(-(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(\\.(0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\\+[0-9a-zA-Z-]+(\\.[0-9a-zA-Z-]+)*)?))*$",
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"description",
"version",
"spinCompatibility",
"license",
"packages"
],
"title": "spin-plugin-manifest-schema-0.1",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | f6e1fe102c012abf19742e40ec6a4e2e45f7bc55 | 2022-09-08T12:01:06 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$ref": "#/$defs/Person",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 1a8438c9dc8bb6241405a4820c484703d5baafb5 | 2022-07-21T01:36:04 | Solutions/Corvus.Json.Patch.SpecGenerator/Model/json-patch-test.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"DisabledScenario": {
"allOf": [
{
"$ref": "#/$defs/ScenarioCommon"
}
],
"disabled": {
"type": "boolean"
},
"required": [
"disabled"
]
},
"Feature": {
"items": {
"$ref": "#/$defs/Scenario"
},
"type": "array"
},
"NotDisabled": {
"properties": {
"disabled": false
}
},
"Scenario": {
"allOf": [
{
"$ref": "#/$defs/ScenarioCommon"
}
],
"oneOf": [
{
"$ref": "#/$defs/ScenarioWithResult"
},
{
"$ref": "#/$defs/ScenarioWithError"
},
{
"$ref": "#/$defs/DisabledScenario"
}
]
},
"ScenarioCommon": {
"properties": {
"comment": {
"type": "string"
},
"doc": {},
"patch": {}
},
"required": [
"doc",
"patch"
],
"type": "object"
},
"ScenarioWithError": {
"allOf": [
{
"$ref": "#/$defs/ScenarioCommon"
},
{
"$ref": "#/$defs/NotDisabled"
}
],
"error": {
"type": "string"
},
"required": [
"error"
]
},
"ScenarioWithResult": {
"allOf": [
{
"$ref": "#/$defs/ScenarioCommon"
},
{
"$ref": "#/$defs/NotDisabled"
}
],
"expected": {},
"required": [
"expected"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for json patch tests as found at https://github.com/json-patch/json-patch-tests"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 62f15a7f21078e713be8cd1d1728b8266028e2a9 | 2024-03-11T11:04:04 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"HeightRangeDouble": {
"maximum": 3.0,
"minimum": 0,
"type": "number"
},
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"height": {
"$ref": "#/%24defs/HeightRangeDouble"
},
"name": {
"$ref": "#/$defs/PersonName"
},
"netWorth": {
"format": "decimal",
"type": "number"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$id": "https://endjin.com/schemas/person-schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | a0f9807be373c054ffccbec174b655144f37f3d9 | 2022-08-19T09:22:51 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 1116a6470d73063c8522be83c6b980978c26d2c1 | 2022-09-14T08:59:48 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | f6e1fe102c012abf19742e40ec6a4e2e45f7bc55 | 2022-09-08T12:01:06 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$ref": "#/$defs/PersonArray",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 2b5a75888c362925aa89b70c746e0526acb5c124 | 2022-08-18T15:04:37 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | f6e1fe102c012abf19742e40ec6a4e2e45f7bc55 | 2022-09-08T12:01:06 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-array-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$ref": "#/$defs/PersonArray",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | b77289b2e9d2edfa8395a9953b6b43068191d29a | 2024-03-11T16:00:31 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"HeightRangeDouble": {
"maximum": 3.0,
"minimum": 0,
"title": "A numeric representation of a person's height in meters.",
"type": "number"
},
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"description": "A person's other (middle) names.\nThis may be either a single name represented as a string, or an array of strings, representing one or more other names.",
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"title": "A person's date of birth.",
"type": "string"
},
"email": {
"format": "email",
"title": "A person's email address.",
"type": "string"
},
"height": {
"$ref": "#/%24defs/HeightRangeDouble",
"title": "A person's height in meters."
},
"name": {
"$ref": "#/$defs/PersonName",
"title": "A person's name."
},
"netWorth": {
"format": "decimal",
"title": "A person's net worth, in the local currency.",
"type": "number"
}
},
"required": [
"name"
],
"title": "Represents a person.",
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "This supports the full range of names, including those with multiple parts, prefixes, and suffixes.\nIt is not restricted to a single part, such as a given name or family name.",
"examples": [
{
"familyName": "Jones",
"givenName": "Terry"
},
{
"familyName": "Jones",
"givenName": "Terry",
"otherNames": [
"Lee",
"Gary"
]
},
{
"familyName": "Jones",
"givenName": "Terry",
"otherNames": "Lee"
}
],
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"title": "A name of a person.",
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"title": "A component of a person's name.",
"type": "string"
},
"PersonNameElementArray": {
"description": "This is an array of strings, each of which is a component of a person's name.",
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"title": "A component of a person's name.",
"type": "array"
}
},
"$id": "https://endjin.com/schemas/person-schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 2ca77d4d32bf1791e2cf46df3b854cc9d7179798 | 2023-11-15T11:07:20 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-array-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"HeightRangeDouble": {
"maximum": 3.0,
"minimum": 0,
"type": "number"
},
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"height": {
"$ref": "#/%24defs/HeightRangeDouble"
},
"name": {
"$ref": "#/$defs/PersonName"
},
"netWorth": {
"format": "decimal",
"type": "number"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$ref": "#/$defs/PersonArray",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 2ca77d4d32bf1791e2cf46df3b854cc9d7179798 | 2023-11-15T11:07:20 | Solutions/Sandbox/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"HeightRangeDouble": {
"maximum": 3.0,
"minimum": 0,
"type": "number"
},
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"height": {
"$ref": "#/%24defs/HeightRangeDouble"
},
"name": {
"$ref": "#/$defs/PersonName"
},
"netWorth": {
"format": "decimal",
"type": "number"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 2b5a75888c362925aa89b70c746e0526acb5c124 | 2022-08-18T15:04:37 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | 2ca77d4d32bf1791e2cf46df3b854cc9d7179798 | 2023-11-15T11:07:20 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"HeightRangeDouble": {
"maximum": 3.0,
"minimum": 0,
"type": "number"
},
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"height": {
"$ref": "#/%24defs/HeightRangeDouble"
},
"name": {
"$ref": "#/$defs/PersonName"
},
"netWorth": {
"format": "decimal",
"type": "number"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$ref": "#/$defs/Person",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "object"
} | Apache-2.0 | en |
corvus-dotnet/Corvus.JsonSchema | a0f9807be373c054ffccbec174b655144f37f3d9 | 2022-08-19T09:22:51 | Solutions/Corvus.Json.Benchmarking/PersonModel/person-array-schema.json | 76 | 2024-05-27T05:04:11.834931Z | {
"$defs": {
"Link": {
"properties": {
"description": {
"description": "When present, is used to label the destination of a link such that it can be used as a human-readable identifier (e.g. a menu entry) in the language indicated by the Content-Language header (if present).",
"title": "Human-readable identifier",
"type": "string"
},
"href": {
"description": "Either a URI [RFC3986] or URI Template [RFC6570] of the target resource.",
"title": "URI of the target resource",
"type": "string"
},
"hreflang": {
"description": "When present, is a hint in RFC5646 format indicating what the language of the result of dereferencing the link should be. Note that this is only a hint; for example, it does not override the Content-Language header of a HTTP response obtained by actually following the link.",
"pattern": "^([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*([0-9A-WY-Za-wy-z](-[a-zA-Z0-9]{2,8}){1,})*(x-[a-zA-Z0-9]{2,8})?)|(x-[a-zA-Z0-9]{2,8})|(en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE)|(art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang)$",
"title": "Language indication of the target resource [RFC5988]",
"type": "string"
},
"name": {
"description": "When present, may be used as a secondary key for selecting link objects that contain the same relation type.",
"title": "Secondary key",
"type": "string"
},
"profile": {
"description": "A URI that, when dereferenced, results in a profile to allow clients to learn about additional semantics (constraints, conventions, extensions) that are associated with the target resource representation, in addition to those defined by the HAL media type and relations.",
"format": "uri",
"title": "Additional semantics of the target resource",
"type": "string"
},
"templated": {
"default": false,
"description": "Is true when the link object's href property is a URI Template. Defaults to false.",
"title": "URI Template",
"type": "boolean"
},
"type": {
"description": "When present, used as a hint to indicate the media type expected when dereferencing the target resource.",
"pattern": "^(application|audio|example|image|message|model|multipart|text|video)\\\\/[a-zA-Z0-9!#\\\\$&\\\\.\\\\+-\\\\^_]{1,127}$",
"title": "Media type indication of the target resource",
"type": "string"
}
},
"required": [
"href"
],
"type": "object"
},
"OtherNames": {
"oneOf": [
{
"$ref": "#/$defs/PersonNameElement"
},
{
"$ref": "#/$defs/PersonNameElementArray"
}
]
},
"Person": {
"properties": {
"dateOfBirth": {
"format": "date",
"type": "string"
},
"name": {
"$ref": "#/$defs/PersonName"
}
},
"required": [
"name"
],
"type": "object"
},
"PersonArray": {
"items": {
"$ref": "#/$defs/Person"
},
"type": "array"
},
"PersonName": {
"description": "A name of a person.",
"properties": {
"familyName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's family name."
},
"givenName": {
"$ref": "#/$defs/PersonNameElement",
"description": "The person's given name."
},
"otherNames": {
"$ref": "#/$defs/OtherNames",
"description": "Other (middle) names for the person"
}
},
"required": [
"familyName"
],
"type": "object"
},
"PersonNameElement": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"PersonNameElementArray": {
"items": {
"$ref": "#/$defs/PersonNameElement"
},
"type": "array"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"items": {
"$ref": "#/$defs/Person"
},
"title": "JSON Schema for a Person entity coming back from a 3rd party API (e.g. a storage format in a database)",
"type": "array"
} | Apache-2.0 | en |
betwixt-labs/bebop | 8bcb1de8a03c51a014a3e98e0ad23fc474b0c601 | 2024-01-17T18:44:18 | vscode-bebop/schemas/chord-schema.json | 1,847 | 2024-05-28T05:52:45.823998Z | {
"$defs": {
"email": {
"format": "email",
"maxLength": 254,
"type": "string"
},
"license": {
"anyOf": [
{
"type": "string"
},
{
"enum": [
"Apache-2.0",
"MIT",
"ISC",
"BSD-3-Clause",
"BSD-2-Clause",
"CC0-1.0",
"CDDL-1.1",
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"LGPL-3.0-only",
"LGPL-3.0-or-later",
"EPL-1.0",
"EPL-2.0",
"MS-PL",
"UNLICENSED"
]
}
]
},
"url": {
"format": "uri",
"pattern": "^https://.+",
"patternErrorMessage": "Must be an HTTPS URL.",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"author": {
"additionalProperties": false,
"description": "The author of the extension, with name, optional email and URL.",
"properties": {
"email": {
"$ref": "#/$defs/email",
"description": "The email of the author."
},
"name": {
"description": "The name of the author.",
"maxLength": 50,
"minLength": 1,
"type": "string"
},
"url": {
"$ref": "#/$defs/url",
"description": "The URL of the author."
}
},
"required": [
"name"
],
"type": "object"
},
"bin": {
"description": "Path to the compiled extension, a valid relative file path.",
"pattern": "^((\\.?\\.?\\/?)|(\\.?\\.?\\\\?))([\\w\\-\\s\\/\\\\]+\\/)*[\\w\\-\\s]+\\.wasm$",
"patternErrorMessage": "Must be a valid relative file path to the compiled extensions .wasm file (e.g. ./bin/extension.wasm).",
"type": "string"
},
"bugs": {
"additionalProperties": false,
"description": "Where to report issues about the extension.",
"properties": {
"email": {
"$ref": "#/$defs/email",
"description": "The email to the issue tracker."
},
"url": {
"$ref": "#/$defs/url",
"description": "The URL to the issue tracker."
}
},
"required": [
"url"
],
"type": "object"
},
"build": {
"additionalProperties": false,
"description": "Defines how to build the extension, including command, args, env, and shell.",
"properties": {
"args": {
"description": "Array of arguments to pass to the build command.",
"items": {
"type": "string"
},
"type": "array"
},
"compiler": {
"description": "The compiler that is used to build the WASM binary.",
"enum": [
"as",
"tinygo"
],
"type": "string"
},
"env": {
"additionalProperties": {
"type": "string"
},
"description": "Environment variables to set before running the build command.",
"type": "object"
},
"script": {
"description": "The script to run to build the extension.",
"minLength": 1,
"type": "string"
},
"shell": {
"description": "The shell to use when running the build command.",
"enum": [
"bash",
"sh",
"pwsh",
"cmd",
"powershell",
"python"
],
"type": "string"
}
},
"required": [
"script",
"compiler"
],
"type": "object"
},
"contributes": {
"description": "Defines what the extension contributes to bebopc, including generator, decorators, and extends.",
"oneOf": [
{
"required": [
"generator"
]
},
{
"required": [
"extends"
]
}
],
"properties": {
"additionalProperties": false,
"decorators": {
"additionalProperties": false,
"description": "Defines the decorators that the extension contributes to bebopc.",
"minProperties": 1,
"patternProperties": {
"^[a-z]+([A-Z][a-z]+)*$": {
"additionalProperties": false,
"properties": {
"allowMultiple": {
"description": "Indicates if the decorator can be used multiple times on the same target.",
"type": "boolean"
},
"description": {
"description": "The description of the decorator.",
"maxLength": 280,
"minLength": 1,
"type": "string"
},
"parameters": {
"additionalProperties": false,
"description": "Possible parameters for the decorator.",
"minProperties": 1,
"patternProperties": {
"^[a-z]+([A-Z][a-z]+)*$": {
"additionalProperties": false,
"oneOf": [
{
"properties": {
"default": {
"type": "boolean"
},
"type": {
"const": "bool"
}
}
},
{
"properties": {
"default": {
"minLength": 1,
"type": "string"
},
"type": {
"const": "string"
}
}
},
{
"properties": {
"default": {
"maximum": 255,
"minimum": 0,
"type": "number"
},
"type": {
"const": "uint8"
}
}
},
{
"properties": {
"default": {
"maximum": 255,
"minimum": 0,
"type": "number"
},
"type": {
"const": "byte"
}
}
},
{
"properties": {
"default": {
"maximum": 65535,
"minimum": 0,
"type": "number"
},
"type": {
"const": "uint16"
}
}
},
{
"properties": {
"default": {
"maximum": 32767,
"minimum": -32768,
"type": "number"
},
"type": {
"const": "int16"
}
}
},
{
"properties": {
"default": {
"maximum": 4294967295,
"minimum": 0,
"type": "number"
},
"type": {
"const": "uint32"
}
}
},
{
"properties": {
"default": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "number"
},
"type": {
"const": "int32"
}
}
},
{
"properties": {
"default": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "number"
},
"type": {
"const": "uint64"
}
}
},
{
"properties": {
"default": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "number"
},
"type": {
"const": "int64"
}
}
},
{
"properties": {
"default": {
"type": "number"
},
"type": {
"const": "float32"
}
}
},
{
"properties": {
"default": {
"type": "number"
},
"type": {
"const": "float64"
}
}
}
],
"properties": {
"default": {
"description": "The default value of the parameter."
},
"description": {
"description": "The description of the parameter.",
"maxLength": 280,
"minLength": 1,
"type": "string"
},
"required": {
"description": "Indicates if the parameter is required.",
"type": "boolean"
},
"type": {
"description": "The type of the parameter.",
"enum": [
"bool",
"byte",
"uint8",
"uint16",
"int16",
"uint32",
"int32",
"uint64",
"int64",
"float32",
"float64",
"string"
],
"type": "string"
},
"validationErrorReason": {
"description": "The error message to display when the validator fails.",
"type": "string"
},
"validator": {
"description": "Regex pattern to validate value of the argument passed into the parameter.",
"pattern": "^.+$",
"patternErrorMessage": "Must be a valid regex pattern.",
"type": "string"
}
},
"required": [
"description",
"type"
],
"type": "object"
}
},
"type": "object"
},
"targets": {
"description": "Flag of types the decorator is usable on.",
"pattern": "^(all|((enum|message|struct|union|field|service|method)(\\|(enum|message|struct|union|field|service|method))*))$",
"patternErrorMessage": "Must be a valid flag of types the decorator is valid on. (e.g. enum, message, struct, union, field, service, method) or 'all'.",
"type": "string"
}
},
"required": [
"description"
],
"type": "object"
}
},
"type": "object"
},
"extends": {
"description": "List of generator aliases that the extension extends. Should only be present if the extension is not a generator extension.",
"items": {
"anyOf": [
{
"enum": [
"cs",
"py",
"ts",
"rust",
"dart",
"cpp"
]
},
{
"maxLength": 7,
"minLength": 1,
"pattern": "^[a-z]{1,7}$",
"patternErrorMessage": "Must be a valid generator alias."
}
],
"description": "Generator alias that the extension extends.",
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"generator": {
"additionalProperties": false,
"description": "Defines the code generator that the extension contributes to bebopc.",
"properties": {
"alias": {
"description": "The alias of the generator.",
"maxLength": 7,
"minLength": 1,
"pattern": "^(?!cs$|py$|ts$|rust$|dart$|cpp$)[a-z]+$",
"patternErrorMessage": "Alias cannot be the same as a built-in generator and must be lowercase (e.g. csharp).",
"type": "string"
},
"name": {
"description": "The friendly name of the generator.",
"maxLength": 32,
"minLength": 1,
"pattern": "^[a-zA-Z ]+$",
"patternErrorMessage": "Must be a valid friendly name (e.g. CSharp).",
"type": "string"
}
},
"required": [
"name",
"alias"
],
"type": "object"
}
},
"type": "object"
},
"dependencies": {
"additionalProperties": false,
"description": "An object of dependencies with extension name as key and semver range as value.",
"patternProperties": {
"^(?:(?:@(?:[a-z0-9-*~][a-z0-9-*._~]*)?/[a-z0-9-._~])|[a-z0-9-~])[a-z0-9-._~]*$": {
"description": "Semver range for the dependency.",
"pattern": "^(\\*|[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?([ \\t]*[-][ \\t]*(0|[1-9][0-9]*)\\.([0-9]+)\\.([0-9]+)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?)?|[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?([ \\t]*[<>=]+[ \\t]*(0|[1-9][0-9]*)\\.([0-9]+)\\.([0-9]+)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?)*|~[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?|\\^[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?)$",
"patternErrorMessage": "Must be a valid semver or semver range. (e.g. ^1.0.0 or >=1.0.0 <2.0.0)",
"type": "string"
}
},
"type": "object"
},
"description": {
"description": "The description of the extension.",
"maxLength": 280,
"minLength": 1,
"type": "string"
},
"engine": {
"additionalProperties": false,
"description": "An object containing at least the bebopc key matching the versions of Bebopc that the extension is compatible with. Cannot be *. For example: ^3.0.5 indicates compatibility with a minimum VS Code version of 3.0.5.",
"properties": {
"bebopc": {
"description": "The semver range of bebopc that the extension is compatible with.",
"pattern": "^(\\*|[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?([ \\t]*[-][ \\t]*(0|[1-9][0-9]*)\\.([0-9]+)\\.([0-9]+)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?)?|[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?([ \\t]*[<>=]+[ \\t]*(0|[1-9][0-9]*)\\.([0-9]+)\\.([0-9]+)(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?)*|~[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?|\\^[0-9]+(\\.[0-9]+)?(\\.[0-9]+)?)$",
"patternErrorMessage": "Must be a valid semver or semver range. (e.g. ^1.0.0 or >=1.0.0 <2.0.0)",
"type": "string"
}
},
"required": [
"bebopc"
],
"type": "object"
},
"homepage": {
"$ref": "#/$defs/url",
"description": "The URL to the homepage of the extension."
},
"license": {
"$ref": "#/$defs/license",
"description": "You should specify a license for your package so that people know how they are permitted to use it, and any restrictions you're placing on it."
},
"name": {
"description": "The name of the extension, part of URL, command line argument, and folder name. Must be URL-safe, no uppercase, <= 214 characters.",
"maxLength": 214,
"minLength": 1,
"pattern": "^(?:(?:@(?:[a-z0-9-*~][a-z0-9-*._~]*)?/[a-z0-9-._~])|[a-z0-9-~])[a-z0-9-._~]*$",
"patternErrorMessage": "Must be URL-safe, no uppercase, <= 214 characters.",
"type": "string"
},
"pack": {
"additionalProperties": false,
"description": "Defines how to package the extension.",
"minProperties": 1,
"patternProperties": {
"^[a-z]{1,7}$": {
"description": "Defines how to package the extension, including auxiliaryFile.",
"maxLength": 7,
"minLength": 1,
"patternErrorMessage": "Must be a valid generator alias.",
"properties": {
"auxiliaryFile": {
"description": "Path to an auxiliary file that will be packaged with the extension.",
"pattern": "^((\\.?\\.?\\/?)|(\\.?\\.?\\\\?))([\\w\\-\\/\\\\]+\\/)*[\\w\\-]+(\\.\\w+)$",
"patternErrorMessage": "Must be a valid relative file path to an auxiliary file (e.g. ./auxiliary.txt).",
"type": "string"
}
},
"required": [
"auxiliaryFile"
],
"type": "object"
}
},
"type": "object"
},
"private": {
"description": "If true, the extension will not be published to the registry.",
"type": "boolean"
},
"readme": {
"description": "Path to the compiled extension, a valid relative file path.",
"minLength": 1,
"pattern": "^((\\.?\\.?\\/?)|(\\.?\\.?\\\\?))([\\w\\-\\s\\/\\\\]+\\/)*[\\w\\-\\s]+\\.md$",
"patternErrorMessage": "Must be a valid relative file path to the README.md for the extension.",
"type": "string"
},
"repository": {
"$ref": "#/$defs/url",
"description": "The HTTPS URL of the extension's repository.",
"type": "string"
},
"version": {
"description": "The version of the extension, in semver format without comparison operators.",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?$",
"patternErrorMessage": "Must be in semver format without comparison operators.",
"type": "string"
}
},
"required": [
"name",
"description",
"version",
"license",
"bin",
"build",
"contributes",
"engine"
],
"title": "JSON schema for chord.json files",
"type": "object"
} | Apache-2.0 | en |
elementalconcept/env-bakery | 4193ddf8f37c9ca46393f17ae310ce4ae425fd34 | 2021-09-10T15:16:00 | projects/lib/schematics/ng-add/schema.json | 19 | 2024-05-28T03:51:46.690953Z | {
"$id": "SchematicsMyService",
"$schema": "https://json-schema.org/schema",
"properties": {},
"required": [],
"title": "My Service Schema",
"type": "object"
} | BSD-2-Clause | en |
vividus-framework/vividus | 1bb8ee087c7454fe7ff6d7d82d7e37600995ce2c | 2023-06-12T19:58:28 | vividus-plugin-json/src/test/resources/org/vividus/json/steps/schema.json | 358 | 2024-05-29T16:32:03.402057Z | {
"$id": "https://example.com/product.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A product from Acme's catalog",
"properties": {
"dimensions": {
"properties": {
"height": {
"type": "number"
},
"length": {
"type": "number"
},
"width": {
"type": "number"
}
},
"required": [
"length",
"width",
"height"
],
"type": "object"
},
"price": {
"description": "The price of the product",
"exclusiveMinimum": 0,
"type": "number"
},
"productId": {
"description": "The unique identifier for a product",
"type": "integer"
},
"productName": {
"description": "Name of the product",
"type": "string"
},
"tags": {
"description": "Tags for the product",
"minItems": 1,
"prefixItems": [
{
"type": "string"
}
],
"type": "array",
"uniqueItems": true
}
},
"required": [
"productId",
"productName",
"price"
],
"title": "Product",
"type": "object"
} | Apache-2.0 | en |
RockefellerArchiveCenter/DACSspace | 766a4a68714dd272a3b9d09331e026bf8878130b | 2022-04-04T20:16:17 | schemas/single_level_required.json | 8 | 2024-05-28T05:01:04.838259Z | {
"$id": "single_level_required.json",
"$schema": "https://json-schema.org/2020-12/schema#",
"properties": {
"dates": {
"minItems": 1,
"type": "array"
},
"extents": {
"minItems": 1,
"type": "array"
},
"id_0": {
"type": "string"
},
"lang_materials": {
"minItems": 1,
"type": "array"
},
"linked_agents": {
"minItems": 1,
"type": "array"
},
"metadata_rights_declarations": {
"minItems": 1,
"type": "array"
},
"notes": {
"allOf": [
{
"contains": {
"properties": {
"type": {
"const": "scopecontent",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "accessrestrict",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
}
],
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"id_0",
"title",
"dates",
"extents",
"linked_agents",
"lang_materials",
"metadata_rights_declarations"
],
"title": "DACSspace Single Level Required Schema",
"type": "object"
} | MIT | en |
RockefellerArchiveCenter/DACSspace | 596ba8d46efa3c263755b30e53b9c89d39a9c3ae | 2022-03-29T18:44:03 | schemas/single_level_required.json | 8 | 2024-05-28T05:01:04.838259Z | {
"$id": "single_level_required.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"dates": {
"minItems": 1,
"type": "array"
},
"extents": {
"minItems": 1,
"type": "array"
},
"id_0": {
"type": "string"
},
"lang_materials": {
"minItems": 1,
"type": "array"
},
"linked_agents": {
"minItems": 1,
"type": "array"
},
"metadata_rights_declarations": {
"minItems": 1,
"type": "array"
},
"notes": {
"minItems": 1,
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"id_0",
"title",
"dates",
"extents",
"linked_agents",
"lang_materials",
"metadata_rights_declarations"
],
"title": "DACSspace Single Level Required Schema",
"type": "object"
} | MIT | en |
RockefellerArchiveCenter/DACSspace | b6201f927a09d3f7fcd1d1b31ca3c8eea1160ced | 2022-04-04T21:24:12 | schemas/rac.json | 8 | 2024-05-28T05:01:04.838259Z | {
"$id": "rac.json",
"$schema": "https://json-schema.org/2020-12/schema#",
"properties": {
"dates": {
"minItems": 1,
"type": "array"
},
"extents": {
"minItems": 1,
"type": "array"
},
"id_0": {
"type": "string"
},
"lang_materials": {
"minItems": 1,
"type": "array"
},
"linked_agents": {
"minItems": 1,
"type": "array"
},
"notes": {
"allOf": [
{
"contains": {
"properties": {
"type": {
"const": "scopecontent",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "accessrestrict",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "bioghist",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "arrangement",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "userestrict",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
{
"contains": {
"properties": {
"type": {
"const": "acqinfo",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
}
],
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"id_0",
"title",
"dates",
"extents",
"linked_agents",
"lang_materials"
],
"title": "DACSspace Rockefeller Archive Center Schema",
"type": "object"
} | MIT | en |
bluelabsio/records-mover | 47b74a15d0588b62737660acd6ddd03b72739a17 | 2020-05-11T19:10:04 | tests/integration/records/records_schema_v1_schema.json | 37 | 2024-05-28T03:52:17.553739Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"decimal_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"fixed_precision": {
"type": "integer"
},
"fixed_scale": {
"type": "integer"
},
"fp_significand_bits": {
"type": "integer"
},
"fp_total_bits": {
"type": "integer"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/number"
},
"type": {
"enum": [
"decimal"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"integer_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"max": {
"type": "string"
},
"min": {
"type": "string"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/number"
},
"type": {
"enum": [
"integer"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"other_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"type": {
"enum": [
"boolean",
"date",
"time",
"timetz",
"datetime",
"datetimetz"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"representations": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"col_ddl": {
"type": "string"
},
"col_modifiers": {
"type": "string"
},
"col_type": {
"type": "string"
},
"rep_type": {
"pattern": "^sql/.*$",
"type": "string"
}
},
"required": [
"col_ddl",
"rep_type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"pd_df_coltype": {
"enum": [
"index",
"series"
],
"type": "string"
},
"pd_df_dtype": {
"type": "object"
},
"pd_df_ftype": {
"type": "string"
},
"rep_type": {
"pattern": "^dataframe/pandas$",
"type": "string"
}
},
"required": [
"pd_df_dtype",
"rep_type",
"pd_df_coltype"
],
"type": "object"
}
]
},
"statistics": {
"number": {
"properties": {
"max": {
"type": "string"
},
"min": {
"type": "string"
},
"rows_sampled": {
"type": "integer"
},
"total_rows": {
"type": "integer"
}
},
"required": [
"rows_sampled",
"total_rows"
],
"type": "object"
},
"string": {
"properties": {
"max_length_bytes": {
"type": "integer"
},
"max_length_chars": {
"type": "integer"
},
"rows_sampled": {
"type": "integer"
},
"total_rows": {
"type": "integer"
}
},
"required": [
"rows_sampled",
"total_rows"
],
"type": "object"
}
},
"string_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"max_length_bytes": {
"type": "integer"
},
"max_length_chars": {
"type": "integer"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/string"
},
"type": {
"enum": [
"string"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
}
},
"properties": {
"fields": {
"additionalProperties": {
"oneOf": [
{
"$ref": "#/definitions/string_field"
},
{
"$ref": "#/definitions/integer_field"
},
{
"$ref": "#/definitions/decimal_field"
},
{
"$ref": "#/definitions/other_field"
}
]
},
"type": "object"
},
"known_representations": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"table_ddl": {
"type": "string"
},
"type": {
"pattern": "^sql/.*$",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"pd_df_dtypes": {
"type": "object"
},
"pd_df_ftypes": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"pattern": "^dataframe/pandas$",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"type": "object"
},
"schema": {
"description": "Maps to version of the records schema schema. v1 is found at https://github.com/bluelabsio/records-mover/blob/master/docs/RECORDS_SPEC.md",
"enum": [
"bltypes/v1"
],
"type": "string"
}
},
"required": [
"known_representations",
"fields",
"schema"
],
"type": "object"
} | Apache-2.0 | en |
bluelabsio/records-mover | bd31d8683790fe276f6726193c5dfd3cda15922a | 2020-02-18T19:51:13 | tests/integration/records/records_schema_v1_schema.json | 37 | 2024-05-28T03:52:17.553739Z | {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"decimal_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"fixed_precision": {
"type": "integer"
},
"fixed_scale": {
"type": "integer"
},
"fp_significand_bits": {
"type": "integer"
},
"fp_total_bits": {
"type": "integer"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/number"
},
"type": {
"enum": [
"decimal"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"integer_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"max": {
"type": "string"
},
"min": {
"type": "string"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/number"
},
"type": {
"enum": [
"integer"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"other_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"type": {
"enum": [
"boolean",
"date",
"time",
"timetz",
"datetime",
"datetimetz"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
},
"representations": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"col_ddl": {
"type": "string"
},
"col_modifiers": {
"type": "string"
},
"col_type": {
"type": "string"
},
"rep_type": {
"pattern": "^sql/.*$",
"type": "string"
}
},
"required": [
"col_ddl",
"rep_type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"pd_df_coltype": {
"enum": [
"index",
"series"
],
"type": "string"
},
"pd_df_dtype": {
"type": "object"
},
"pd_df_ftype": {
"type": "string"
},
"rep_type": {
"pattern": "^dataframe/pandas$",
"type": "string"
}
},
"required": [
"pd_df_dtype",
"rep_type",
"pd_df_coltype"
],
"type": "object"
}
]
},
"statistics": {
"number": {
"properties": {
"max": {
"type": "string"
},
"min": {
"type": "string"
},
"rows_sampled": {
"type": "integer"
},
"total_rows": {
"type": "integer"
}
},
"required": [
"rows_sampled",
"total_rows"
],
"type": "object"
},
"string": {
"properties": {
"max_length_bytes": {
"type": "integer"
},
"max_length_chars": {
"type": "integer"
},
"rows_sampled": {
"type": "integer"
},
"total_rows": {
"type": "integer"
}
},
"required": [
"rows_sampled",
"total_rows"
],
"type": "object"
}
},
"string_field": {
"additionalProperties": false,
"properties": {
"constraints": {
"additionalProperties": false,
"properties": {
"max_length_bytes": {
"type": "integer"
},
"max_length_chars": {
"type": "integer"
},
"required": {
"default": false,
"type": "boolean"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
},
"index": {
"type": "integer"
},
"representations": {
"additionalProperties": {
"$ref": "#/definitions/representations"
},
"type": "object"
},
"statistics": {
"$ref": "#/definitions/statistics/string"
},
"type": {
"enum": [
"string"
],
"type": "string"
}
},
"required": [
"index",
"type"
],
"type": "object"
}
},
"properties": {
"fields": {
"additionalProperties": {
"oneOf": [
{
"$ref": "#/definitions/string_field"
},
{
"$ref": "#/definitions/integer_field"
},
{
"$ref": "#/definitions/decimal_field"
},
{
"$ref": "#/definitions/other_field"
}
]
},
"type": "object"
},
"known_representations": {
"additionalProperties": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"table_ddl": {
"type": "string"
},
"type": {
"pattern": "^sql/.*$",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"pd_df_dtypes": {
"type": "object"
},
"pd_df_ftypes": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"pattern": "^dataframe/pandas$",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"type": "object"
},
"schema": {
"description": "Maps to version of the records schema schema. v1 is found at https://github.com/bluelabsio/knowledge/blob/master/Engineering/RecordSpecs/SCHEMA.md",
"enum": [
"bltypes/v1"
],
"type": "string"
}
},
"required": [
"known_representations",
"fields",
"schema"
],
"type": "object"
} | Apache-2.0 | en |
matrix-org/conference-bot | 815d8c398cb54be013262aafb588c3e2d0569ebd | 2023-01-11T15:24:45 | src/backends/json/jsonschemas/JsonSchedule.schema.json | 43 | 2024-05-28T00:21:46.967901Z | {
"$id": "https://matrix.org/conference-bot/JsonSchedule.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"definitions": {
"speaker": {
"description": "Information about someone who is giving a talk",
"properties": {
"display_name": {
"description": "Natural name for the speaker",
"type": "string"
},
"email": {
"description": "E-mail address of the speaker",
"pattern": "^[^@]+@[^@]+$",
"type": "string"
},
"matrix_id": {
"description": "Matrix User ID (MXID) of the speaker",
"pattern": "^@[^:]+:[^:]+$",
"type": "string"
}
},
"required": [
"display_name",
"matrix_id",
"email"
],
"title": "JSON Speaker",
"type": "object"
},
"stream": {
"description": "Information about a sequence of talks",
"properties": {
"stream_name": {
"description": "Human-readable name for the stream",
"type": "string"
},
"talks": {
"items": {
"$ref": "#/definitions/talk"
},
"type": "array"
}
},
"required": [
"stream_name",
"talks"
],
"title": "JSON Stream",
"type": "object"
},
"talk": {
"description": "Information about a scheduled talk",
"properties": {
"description": {
"description": "Human-readable description of the talk",
"type": "string"
},
"end": {
"description": "Date and time, in RFC3339 format with Z timezone offset, of the end of the talk",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
"type": "string"
},
"id": {
"description": "Unique ID for the talk",
"minimum": 0,
"type": "integer"
},
"speakers": {
"items": {
"$ref": "#/definitions/speaker"
},
"type": "array"
},
"start": {
"description": "Date and time, in RFC3339 format with Z timezone offset, of the start of the talk",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
"type": "string"
},
"title": {
"description": "Human-readable name for the talk",
"type": "string"
},
"tracks": {
"description": "Names of what tracks the talk is on.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"title",
"description",
"start",
"end",
"speakers",
"tracks"
],
"title": "JSON Talk",
"type": "object"
}
},
"description": "A simple JSON format to describe the schedule for a conference driven by conference-bot.",
"properties": {
"streams": {
"items": {
"$ref": "#/definitions/stream"
},
"type": "array"
},
"title": {
"description": "Name of the conference",
"type": "string"
}
},
"required": [
"title",
"streams"
],
"title": "JSON Schedule",
"type": "object"
} | Apache-2.0 | en |
geprog/lassie-bot-dog | ea56379d98eff1d7e166b5bdd8749becb199de67 | 2021-11-09T13:29:02 | config/lassie.schema.json | 5 | 2024-05-28T03:21:49.886588Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string"
},
"plugins": {
"additionalProperties": false,
"description": "Define configurations for all available plugins",
"properties": {
"auto_merge": {
"additionalProperties": false,
"description": "Configuration for the auto_merge plugin",
"properties": {
"neededApprovals": {
"description": "Require specific users to approve if a merge-request has specific labels",
"items": {
"additionalProperties": false,
"properties": {
"atLeast": {
"minimum": 1,
"type": "integer"
},
"label": {
"description": "Name of the label which requires specific users to approve. Hint: `*` can be used as wildcard to require specific users to always approve regardless of labels.",
"minLength": 1,
"type": "string"
},
"users": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"required": [
"users",
"label"
],
"type": "object"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"neededLabels": {
"description": "Labels needed for merge request to be ready for auto merging",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"squash": {
"description": "Whether or not to squash the merge request when merging",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"title": "JSON schema for Lassie config files (https://github.com/geprog/lassie-bot-dog)",
"type": "object"
} | MIT | en |
geprog/lassie-bot-dog | a1ebbac2f00ef414fdeb602a7abc62af8b533bd2 | 2021-07-27T21:01:28 | config/lassie.schema.json | 5 | 2024-05-28T03:21:49.886588Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string"
},
"plugins": {
"additionalProperties": false,
"description": "Define configurations for all available plugins",
"properties": {
"auto_merge": {
"additionalProperties": false,
"description": "Configuration for the auto_merge plugin",
"properties": {
"neededLabels": {
"description": "Labels needed for merge request to be ready for auto merging",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"squash": {
"description": "Whether or not to squash the merge request when merging",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"title": "JSON schema for Lassie config files (https://github.com/geprog/lassie-bot-dog)",
"type": "object"
} | MIT | en |
openmainframeproject/cobol-programming-course | 330cc6026a24cdc78d0edf157d1b3b6516c8257f | 2022-11-15T16:05:12 | zowe.schema.json | 2,907 | 2024-05-28T05:04:05.853778Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$version": "1.0",
"description": "Zowe configuration",
"properties": {
"autoStore": {
"description": "If true, values you enter when prompted are stored for future use",
"type": "boolean"
},
"defaults": {
"description": "Mapping of profile types to default profile names",
"properties": {
"base": {
"description": "Default base profile",
"type": "string"
},
"ssh": {
"description": "Default ssh profile",
"type": "string"
},
"tso": {
"description": "Default tso profile",
"type": "string"
},
"zosmf": {
"description": "Default zosmf profile",
"type": "string"
}
},
"type": "object"
},
"profiles": {
"description": "Mapping of profile names to profile configurations",
"patternProperties": {
"^\\S*$": {
"allOf": [
{
"if": {
"properties": {
"type": false
}
},
"then": {
"properties": {
"properties": {
"title": "Missing profile type"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "zosmf"
}
}
},
"then": {
"properties": {
"properties": {
"description": "z/OSMF Profile",
"properties": {
"basePath": {
"description": "The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer.",
"type": "string"
},
"certFile": {
"description": "The file path to a certificate file to use for authentication",
"type": "string"
},
"certKeyFile": {
"description": "The file path to a certificate key file to use for authentication",
"type": "string"
},
"encoding": {
"description": "The encoding for download and upload of z/OS data set and USS files. The default encoding if not specified is IBM-1047.",
"type": "string"
},
"host": {
"description": "The z/OSMF server host name.",
"type": "string"
},
"password": {
"description": "Mainframe (z/OSMF) password, which can be the same as your TSO password.",
"type": "string"
},
"port": {
"default": 443,
"description": "The z/OSMF server port.",
"type": "number"
},
"protocol": {
"default": "https",
"description": "The protocol used (HTTP or HTTPS)",
"enum": [
"http",
"https"
],
"type": "string"
},
"rejectUnauthorized": {
"default": true,
"description": "Reject self-signed certificates.",
"type": "boolean"
},
"responseTimeout": {
"description": "The maximum amount of time in seconds the z/OSMF Files TSO servlet should run before returning a response. Any request exceeding this amount of time will be terminated and return an error. Allowed values: 5 - 600",
"type": "number"
},
"user": {
"description": "Mainframe (z/OSMF) user name, which can be the same as your TSO login.",
"type": "string"
}
},
"required": [],
"title": "z/OSMF Profile",
"type": "object"
},
"secure": {
"items": {
"enum": [
"user",
"password"
]
}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "tso"
}
}
},
"then": {
"properties": {
"properties": {
"description": "z/OS TSO/E User Profile",
"properties": {
"account": {
"description": "Your z/OS TSO/E accounting information.",
"type": "string"
},
"characterSet": {
"default": "697",
"description": "Character set for address space to convert messages and responses from UTF-8 to EBCDIC.",
"type": "string"
},
"codePage": {
"default": "1047",
"description": "Codepage value for TSO/E address space to convert messages and responses from UTF-8 to EBCDIC.",
"type": "string"
},
"columns": {
"default": 80,
"description": "The number of columns on a screen.",
"type": "number"
},
"logonProcedure": {
"default": "IZUFPROC",
"description": "The logon procedure to use when creating TSO procedures on your behalf.",
"type": "string"
},
"regionSize": {
"default": 4096,
"description": "Region size for the TSO/E address space.",
"type": "number"
},
"rows": {
"default": 24,
"description": "The number of rows on a screen.",
"type": "number"
}
},
"required": [],
"title": "TSO Profile",
"type": "object"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "ssh"
}
}
},
"then": {
"properties": {
"properties": {
"description": "z/OS SSH Profile",
"properties": {
"handshakeTimeout": {
"description": "How long in milliseconds to wait for the SSH handshake to complete.",
"type": "number"
},
"host": {
"description": "The z/OS SSH server host name.",
"type": "string"
},
"keyPassphrase": {
"description": "Private key passphrase, which unlocks the private key.",
"type": "string"
},
"password": {
"description": "Mainframe password, which can be the same as your TSO password.",
"type": "string"
},
"port": {
"default": 22,
"description": "The z/OS SSH server port.",
"type": "number"
},
"privateKey": {
"description": "Path to a file containing your private key, that must match a public key stored in the server for authentication",
"type": "string"
},
"user": {
"description": "Mainframe user name, which can be the same as your TSO login.",
"type": "string"
}
},
"required": [],
"title": "z/OS SSH Profile",
"type": "object"
},
"secure": {
"items": {
"enum": [
"user",
"password",
"keyPassphrase"
]
}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "base"
}
}
},
"then": {
"properties": {
"properties": {
"description": "Base profile that stores values shared by multiple service profiles",
"properties": {
"certFile": {
"description": "The file path to a certificate file to use for authentication",
"type": "string"
},
"certKeyFile": {
"description": "The file path to a certificate key file to use for authentication",
"type": "string"
},
"host": {
"description": "Host name of service on the mainframe.",
"type": "string"
},
"password": {
"description": "Password to authenticate to service on the mainframe.",
"type": "string"
},
"port": {
"description": "Port number of service on the mainframe.",
"type": "number"
},
"rejectUnauthorized": {
"default": true,
"description": "Reject self-signed certificates.",
"type": "boolean"
},
"tokenType": {
"description": "The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.",
"type": "string"
},
"tokenValue": {
"description": "The value of the token to pass to the API.",
"type": "string"
},
"user": {
"description": "User name to authenticate to service on the mainframe.",
"type": "string"
}
},
"required": [],
"title": "Base Profile",
"type": "object"
},
"secure": {
"items": {
"enum": [
"user",
"password",
"tokenValue"
]
}
}
}
}
}
],
"description": "Profile configuration object",
"properties": {
"profiles": {
"$ref": "#/properties/profiles",
"description": "Optional subprofile configurations",
"type": "object"
},
"properties": {
"description": "Profile properties object",
"type": "object"
},
"secure": {
"description": "Secure property names",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"type": {
"description": "Profile type",
"enum": [
"zosmf",
"tso",
"ssh",
"base"
],
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
} | CC-BY-4.0 | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/observation.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/observation.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "observation"
}
},
"title": "Observation log",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/material.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/material.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "material"
}
},
"title": "Materials taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/unit.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/unit.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "unit"
}
},
"title": "Units taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/maintenance.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/maintenance.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "maintenance"
}
},
"title": "Maintenance log",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/animal.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/animal.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"birthdate": {
"format": "date-time",
"title": "Birthdate",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_castrated": {
"description": "Has this animal been castrated?",
"title": "Castrated",
"type": "boolean"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"nickname": {
"description": "List any nicknames of this animal.",
"items": {
"maxLength": 255,
"title": "Text value",
"type": "string"
},
"title": "Nicknames",
"type": "array"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"sex": {
"enum": [
"F",
"M"
],
"title": "Sex",
"type": "string"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"animal_type": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Species/breed",
"type": "object"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "animal"
}
},
"title": "Animal asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | test/json-schema/log--activity.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/log/activity/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"changed": {
"description": "The time the log was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"created": {
"description": "The time that the log was created.",
"format": "date-time",
"title": "Authored on",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"default_langcode": {
"default": true,
"description": "A flag indicating whether this is the default translation.",
"title": "Default translation",
"type": "boolean"
},
"drupal_internal__id": {
"title": "ID",
"type": "integer"
},
"drupal_internal__revision_id": {
"title": "Revision ID",
"type": "integer"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"langcode": {
"title": "Language",
"type": "string"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"revision_created": {
"description": "The time that the current revision was created.",
"format": "date-time",
"title": "Revision create time",
"type": "string"
},
"revision_default": {
"description": "A flag indicating whether this was a default revision when it was saved.",
"title": "Default revision",
"type": "boolean"
},
"revision_log_message": {
"default": "",
"description": "Briefly describe the changes you have made.",
"title": "Revision log message",
"type": "string"
},
"revision_translation_affected": {
"description": "Indicates if the last edit of a translation belongs to current revision.",
"title": "Revision translation affected",
"type": "boolean"
},
"status": {
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"drupal_internal__id",
"drupal_internal__revision_id",
"status",
"revision_translation_affected"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/asset/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Assets",
"type": "object"
},
"category": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/category/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Taxonomy term ID",
"type": "integer"
},
"type": {
"enum": [
"taxonomy_term--log_category"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Log category",
"type": "object"
},
"equipment": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/equipment/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Asset ID",
"type": "integer"
},
"type": {
"enum": [
"asset--equipment"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Equipment used",
"type": "object"
},
"file": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/file/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"description": {
"title": "Description",
"type": "string"
},
"display": {
"description": "Flag to control whether this file should be displayed when viewing content",
"title": "Display",
"type": "boolean"
},
"target_id": {
"title": "File ID",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Files",
"type": "object"
},
"image": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/image/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"alt": {
"description": "Alternative image text, for the image\\'s \\'alt\\' attribute.",
"title": "Alternative text",
"type": "string"
},
"height": {
"description": "The height of the image in pixels.",
"title": "Height",
"type": "integer"
},
"target_id": {
"title": "File ID",
"type": "integer"
},
"title": {
"description": "Image title text, for the image\\'s \\'title\\' attribute.",
"title": "Title",
"type": "string"
},
"width": {
"description": "The width of the image in pixels.",
"title": "Width",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Images",
"type": "object"
},
"location": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/location/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Location",
"type": "object"
},
"log_type": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/log_type/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Log type ID",
"type": "string"
},
"type": {
"enum": [
"log_type--log_type"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Log type",
"type": "object"
},
"owner": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/owner/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Assigned to",
"type": "object"
},
"quantity": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/quantity/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Quantity",
"type": "object"
},
"revision_user": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/revision_user/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Revision user",
"type": "object"
},
"uid": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/uid/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Authored by",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "log--activity"
}
},
"title": "Activity log"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/animal_type.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/animal_type.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "animal_type"
}
},
"title": "Animal types taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/land.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/land.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"land_type": {
"title": "Land type",
"type": "string"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry",
"land_type"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "land"
}
},
"title": "Land asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/seeding.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/seeding.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"lot_number": {
"description": "If the seed is part of a batch or lot, enter the lot number here.",
"maxLength": 255,
"title": "Lot number",
"type": "string"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"purchase_date": {
"description": "When was the seed purchased (if applicable)?",
"format": "date-time",
"title": "Purchase date",
"type": "string"
},
"source": {
"description": "Where was the seed obtained? Who supplied it?",
"maxLength": 255,
"title": "Source",
"type": "string"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "seeding"
}
},
"title": "Seeding log",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/input.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/input.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"lot_number": {
"description": "If this harvest is part of a batch or lot, enter the lot number here.",
"maxLength": 255,
"title": "Lot number",
"type": "string"
},
"method": {
"description": "How was this input applied?",
"maxLength": 255,
"title": "Method",
"type": "string"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"purchase_date": {
"description": "When was this input purchased (if applicable)?",
"format": "date-time",
"title": "Purchase date",
"type": "string"
},
"source": {
"description": "Where was this input obtained? Who manufactured it?",
"maxLength": 255,
"title": "Source",
"type": "string"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"material": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Material",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "input"
}
},
"title": "Input log",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/water.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/water.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "water"
}
},
"title": "Water asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/structure.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/structure.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"structure_type": {
"title": "Structure type",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry",
"structure_type"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "structure"
}
},
"title": "Structure asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | a7052df396ecea737ba1a0aedab273ab8c494b13 | 2021-11-08T19:42:49 | core_schemata/asset/equipment.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/asset/equipment/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"changed": {
"description": "The time the asset was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"created": {
"description": "The time that the asset was created.",
"format": "date-time",
"title": "Authored on",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"default_langcode": {
"default": true,
"description": "A flag indicating whether this is the default translation.",
"title": "Default translation",
"type": "boolean"
},
"drupal_internal__id": {
"title": "ID",
"type": "integer"
},
"drupal_internal__revision_id": {
"title": "Revision ID",
"type": "integer"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"langcode": {
"title": "Language",
"type": "string"
},
"manufacturer": {
"maxLength": 255,
"title": "Manufacturer",
"type": "string"
},
"model": {
"maxLength": 255,
"title": "Model",
"type": "string"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"revision_created": {
"description": "The time that the current revision was created.",
"format": "date-time",
"title": "Revision create time",
"type": "string"
},
"revision_default": {
"description": "A flag indicating whether this was a default revision when it was saved.",
"title": "Default revision",
"type": "boolean"
},
"revision_log_message": {
"default": "",
"description": "Briefly describe the changes you have made.",
"title": "Revision log message",
"type": "string"
},
"revision_translation_affected": {
"description": "Indicates if the last edit of a translation belongs to current revision.",
"title": "Revision translation affected",
"type": "boolean"
},
"serial_number": {
"maxLength": 255,
"title": "Serial number",
"type": "string"
},
"status": {
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"drupal_internal__id",
"drupal_internal__revision_id",
"name",
"status",
"revision_translation_affected",
"geometry"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset_type": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/asset_type/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Asset type ID",
"type": "string"
},
"type": {
"enum": [
"asset_type--asset_type"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Asset type",
"type": "object"
},
"file": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/file/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"description": {
"title": "Description",
"type": "string"
},
"display": {
"description": "Flag to control whether this file should be displayed when viewing content",
"title": "Display",
"type": "boolean"
},
"target_id": {
"title": "File ID",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Files",
"type": "object"
},
"image": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/image/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"alt": {
"description": "Alternative image text, for the image\\'s \\'alt\\' attribute.",
"title": "Alternative text",
"type": "string"
},
"height": {
"description": "The height of the image in pixels.",
"title": "Height",
"type": "integer"
},
"target_id": {
"title": "File ID",
"type": "integer"
},
"title": {
"description": "Image title text, for the image\\'s \\'title\\' attribute.",
"title": "Title",
"type": "string"
},
"width": {
"description": "The width of the image in pixels.",
"title": "Width",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Images",
"type": "object"
},
"location": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/location/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Current location",
"type": "object"
},
"parent": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/parent/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Parents",
"type": "object"
},
"revision_user": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/revision_user/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Revision user",
"type": "object"
},
"uid": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/asset/equipment/resource/relationships/uid/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Authored by",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "asset--equipment"
}
},
"title": "Equipment asset"
} | MIT | en |
farmOS/farmOS.js | a7052df396ecea737ba1a0aedab273ab8c494b13 | 2021-11-08T19:42:49 | core_schemata/quantity/standard.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/quantity/standard/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"changed": {
"description": "The time the quantity was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"created": {
"description": "The time that the quantity was created.",
"format": "date-time",
"title": "Authored on",
"type": "string"
},
"drupal_internal__id": {
"title": "ID",
"type": "integer"
},
"drupal_internal__revision_id": {
"title": "Revision ID",
"type": "integer"
},
"label": {
"default": "",
"description": "Label of the quantity.",
"maxLength": 255,
"title": "Label",
"type": "string"
},
"measure": {
"default": "",
"description": "The measure of the quantity.",
"title": "Measure",
"type": "string"
},
"revision_created": {
"description": "The time that the current revision was created.",
"format": "date-time",
"title": "Revision create time",
"type": "string"
},
"revision_default": {
"description": "A flag indicating whether this was a default revision when it was saved.",
"title": "Default revision",
"type": "boolean"
},
"revision_log_message": {
"default": "",
"description": "Briefly describe the changes you have made.",
"title": "Revision log message",
"type": "string"
},
"value": {
"description": "Value of the quantity.",
"properties": {
"denominator": {
"title": "Denominator value",
"type": "integer"
},
"numerator": {
"title": "Numerator value",
"type": "integer"
}
},
"title": "Value",
"type": "object"
}
},
"required": [
"drupal_internal__id",
"drupal_internal__revision_id"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"quantity_type": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/quantity/standard/resource/relationships/quantity_type/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Quantity type ID",
"type": "string"
},
"type": {
"enum": [
"quantity_type--quantity_type"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Quantity type",
"type": "object"
},
"revision_user": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/quantity/standard/resource/relationships/revision_user/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Revision user",
"type": "object"
},
"uid": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/quantity/standard/resource/relationships/uid/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Authored by",
"type": "object"
},
"units": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/quantity/standard/resource/relationships/units/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Taxonomy term ID",
"type": "integer"
},
"type": {
"enum": [
"taxonomy_term--unit"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Units",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "quantity--standard"
}
},
"title": "Standard quantity"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/quantity/standard.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/quantity/standard.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"label": {
"default": "",
"description": "Label of the quantity.",
"maxLength": 255,
"title": "Label",
"type": "string"
},
"measure": {
"default": "",
"description": "The measure of the quantity.",
"title": "Measure",
"type": "string"
},
"value": {
"description": "Value of the quantity.",
"properties": {
"denominator": {
"title": "Denominator value",
"type": "integer"
},
"numerator": {
"title": "Numerator value",
"type": "integer"
}
},
"title": "Value",
"type": "object"
}
},
"required": [],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"units": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Units",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "standard"
}
},
"title": "Standard quantity",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | a7052df396ecea737ba1a0aedab273ab8c494b13 | 2021-11-08T19:42:49 | core_schemata/user/user.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/user/user/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"access": {
"default": 0,
"description": "The time that the user last accessed the site.",
"format": "date-time",
"title": "Last access",
"type": "string"
},
"changed": {
"description": "The time that the user was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"created": {
"description": "The time that the user was created.",
"format": "date-time",
"title": "Created",
"type": "string"
},
"default_langcode": {
"default": true,
"description": "A flag indicating whether this is the default translation.",
"title": "Default translation",
"type": "boolean"
},
"display_name": {
"title": "display_name"
},
"drupal_internal__uid": {
"description": "The user ID.",
"title": "User ID",
"type": "integer"
},
"init": {
"default": "",
"description": "The email address used for initial account creation.",
"format": "email",
"title": "Initial email",
"type": "string"
},
"langcode": {
"description": "The user language code.",
"title": "Language code",
"type": "string"
},
"login": {
"default": 0,
"description": "The time that the user last logged in.",
"format": "date-time",
"title": "Last login",
"type": "string"
},
"mail": {
"default": "",
"description": "The email of this user.",
"format": "email",
"title": "Email",
"type": "string"
},
"name": {
"description": "The name of this user.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"pass": {
"description": "The password of this user (hashed).",
"properties": {
"existing": {
"title": "Existing password",
"type": "string"
},
"pre_hashed": {
"title": "Determines if a password needs hashing",
"type": "boolean"
},
"value": {
"maxLength": 255,
"title": "The hashed password",
"type": "string"
}
},
"title": "Password",
"type": "object"
},
"preferred_admin_langcode": {
"default": null,
"description": "The user\\'s preferred language code for viewing administration pages.",
"title": "Preferred admin language code",
"type": "string"
},
"preferred_langcode": {
"description": "The user\\'s preferred language code for receiving emails and viewing the site.",
"title": "Preferred language code",
"type": "string"
},
"status": {
"default": false,
"description": "Whether the user is active or blocked.",
"title": "User status",
"type": "boolean"
},
"timezone": {
"description": "The timezone of this user.",
"maxLength": 32,
"title": "Timezone",
"type": "string"
}
},
"required": [
"drupal_internal__uid",
"name"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"roles": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/user/user/resource/relationships/roles/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Role ID",
"type": "string"
},
"type": {
"enum": [
"user_role--user_role"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Roles",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "user--user"
}
},
"title": "User"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/equipment.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/equipment.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"manufacturer": {
"maxLength": 255,
"title": "Manufacturer",
"type": "string"
},
"model": {
"maxLength": 255,
"title": "Model",
"type": "string"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"serial_number": {
"maxLength": 255,
"title": "Serial number",
"type": "string"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "equipment"
}
},
"title": "Equipment asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/harvest.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/harvest.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"lot_number": {
"description": "If this harvest is part of a batch or lot, enter the lot number here.",
"maxLength": 255,
"title": "Lot number",
"type": "string"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "harvest"
}
},
"title": "Harvest log",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/season.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/season.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "season"
}
},
"title": "Seasons taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/plant_type.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/plant_type.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"maturity_days": {
"title": "Days to maturity",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"transplant_days": {
"title": "Days to transplant",
"type": "integer"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"companions": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Companions",
"type": "array"
},
"crop_family": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Crop family",
"type": "object"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Photos",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "plant_type"
}
},
"title": "Plant types taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/log_category.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/log_category.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "log_category"
}
},
"title": "Log categories taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | a7052df396ecea737ba1a0aedab273ab8c494b13 | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/unit.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/taxonomy_term/unit/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"changed": {
"description": "The time that the term was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"default_langcode": {
"default": true,
"description": "A flag indicating whether this is the default translation.",
"title": "Default translation",
"type": "boolean"
},
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__revision_id": {
"title": "Revision ID",
"type": "integer"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"langcode": {
"description": "The term language code.",
"title": "Language",
"type": "string"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"revision_created": {
"description": "The time that the current revision was created.",
"format": "date-time",
"title": "Revision create time",
"type": "string"
},
"revision_default": {
"description": "A flag indicating whether this was a default revision when it was saved.",
"title": "Default revision",
"type": "boolean"
},
"revision_log_message": {
"default": "",
"description": "Briefly describe the changes you have made.",
"title": "Revision log message",
"type": "string"
},
"revision_translation_affected": {
"description": "Indicates if the last edit of a translation belongs to current revision.",
"title": "Revision translation affected",
"type": "boolean"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"drupal_internal__revision_id",
"name",
"revision_translation_affected"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/taxonomy_term/unit/resource/relationships/parent/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Taxonomy term ID",
"type": "integer"
},
"type": {
"enum": [
"taxonomy_term--unit"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Term Parents",
"type": "object"
},
"revision_user": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/taxonomy_term/unit/resource/relationships/revision_user/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Revision user",
"type": "object"
},
"vid": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/taxonomy_term/unit/resource/relationships/vid/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Taxonomy vocabulary ID",
"type": "string"
},
"type": {
"enum": [
"taxonomy_vocabulary--taxonomy_vocabulary"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "taxonomy_term--unit"
}
},
"title": "Units taxonomy term"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/asset/plant.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/asset/plant.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"archived": {
"description": "The time the asset was archived.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Current geometry",
"type": "object"
},
"id_tag": {
"description": "List any identification tags that this asset has. Use the fields below to describe the type, location, and ID of each.",
"items": {
"properties": {
"id": {
"title": "ID of the tag",
"type": "string"
},
"location": {
"title": "Location of the tag",
"type": "string"
},
"type": {
"title": "Type of the tag",
"type": "string"
}
},
"type": "object"
},
"title": "ID tags",
"type": "array"
},
"intrinsic_geometry": {
"description": "Add geometry data to this asset to describe its intrinsic location. This will only be used if the asset is fixed.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Intrinsic geometry",
"type": "object"
},
"is_fixed": {
"description": "If this asset is fixed, then it can have an intrinsic geometry. If the asset will move around, then it is not fixed and geometry will be determined by movement logs.",
"title": "Is fixed",
"type": "boolean"
},
"is_location": {
"description": "If this asset is a location, then other assets can be moved to it.",
"title": "Is location",
"type": "boolean"
},
"name": {
"description": "The name of the asset.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "active",
"description": "Indicates the status of the asset.",
"maxLength": 255,
"title": "Status",
"type": "string"
}
},
"required": [
"name",
"status",
"geometry"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Current location",
"type": "array"
},
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Parents",
"type": "array"
},
"plant_type": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Crop/variety",
"type": "array"
},
"season": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Season",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "plant"
}
},
"title": "Plant asset",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/user/user.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/user/user.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"access": {
"default": 0,
"description": "The time that the user last accessed the site.",
"format": "date-time",
"title": "Last access",
"type": "string"
},
"display_name": {
"title": "display_name"
},
"drupal_internal__uid": {
"description": "The user ID.",
"title": "User ID",
"type": "integer"
},
"init": {
"default": "",
"description": "The email address used for initial account creation.",
"format": "email",
"title": "Initial email",
"type": "string"
},
"login": {
"default": 0,
"description": "The time that the user last logged in.",
"format": "date-time",
"title": "Last login",
"type": "string"
},
"mail": {
"default": "",
"description": "The email of this user.",
"format": "email",
"title": "Email",
"type": "string"
},
"name": {
"description": "The name of this user.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"pass": {
"description": "The password of this user (hashed).",
"properties": {
"existing": {
"title": "Existing password",
"type": "string"
},
"pre_hashed": {
"title": "Determines if a password needs hashing",
"type": "boolean"
},
"value": {
"maxLength": 255,
"title": "The hashed password",
"type": "string"
}
},
"title": "Password",
"type": "object"
},
"preferred_admin_langcode": {
"default": null,
"description": "The user\\'s preferred language code for viewing administration pages.",
"title": "Preferred admin language code",
"type": "string"
},
"preferred_langcode": {
"description": "The user\\'s preferred language code for receiving emails and viewing the site.",
"title": "Preferred language code",
"type": "string"
},
"status": {
"default": false,
"description": "Whether the user is active or blocked.",
"title": "User status",
"type": "boolean"
},
"timezone": {
"description": "The timezone of this user.",
"maxLength": 32,
"title": "Timezone",
"type": "string"
}
},
"required": [
"drupal_internal__uid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"roles": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Roles",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "user"
}
},
"title": "User",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | a7052df396ecea737ba1a0aedab273ab8c494b13 | 2021-11-08T19:42:49 | core_schemata/log/activity.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "http://localhost/api/log/activity/resource/schema",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"allOf": [
{
"properties": {
"attributes": {
"$ref": "#/definitions/attributes"
},
"relationships": {
"$ref": "#/definitions/relationships"
},
"type": {
"$ref": "#definitions/type"
}
},
"type": "object"
},
{
"$ref": "https://jsonapi.org/schema#/definitions/resource"
}
],
"definitions": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"changed": {
"description": "The time the log was last edited.",
"format": "date-time",
"title": "Changed",
"type": "string"
},
"created": {
"description": "The time that the log was created.",
"format": "date-time",
"title": "Authored on",
"type": "string"
},
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"default_langcode": {
"default": true,
"description": "A flag indicating whether this is the default translation.",
"title": "Default translation",
"type": "boolean"
},
"drupal_internal__id": {
"title": "ID",
"type": "integer"
},
"drupal_internal__revision_id": {
"title": "Revision ID",
"type": "integer"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"langcode": {
"title": "Language",
"type": "string"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"revision_created": {
"description": "The time that the current revision was created.",
"format": "date-time",
"title": "Revision create time",
"type": "string"
},
"revision_default": {
"description": "A flag indicating whether this was a default revision when it was saved.",
"title": "Default revision",
"type": "boolean"
},
"revision_log_message": {
"default": "",
"description": "Briefly describe the changes you have made.",
"title": "Revision log message",
"type": "string"
},
"revision_translation_affected": {
"description": "Indicates if the last edit of a translation belongs to current revision.",
"title": "Revision translation affected",
"type": "boolean"
},
"status": {
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"drupal_internal__id",
"drupal_internal__revision_id",
"status",
"revision_translation_affected"
],
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/asset/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Assets",
"type": "object"
},
"category": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/category/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Taxonomy term ID",
"type": "integer"
},
"type": {
"enum": [
"taxonomy_term--log_category"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Log category",
"type": "object"
},
"equipment": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/equipment/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Asset ID",
"type": "integer"
},
"type": {
"enum": [
"asset--equipment"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Equipment used",
"type": "object"
},
"file": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/file/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"description": {
"title": "Description",
"type": "string"
},
"display": {
"description": "Flag to control whether this file should be displayed when viewing content",
"title": "Display",
"type": "boolean"
},
"target_id": {
"title": "File ID",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Files",
"type": "object"
},
"image": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/image/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"properties": {
"alt": {
"description": "Alternative image text, for the image\\'s \\'alt\\' attribute.",
"title": "Alternative text",
"type": "string"
},
"height": {
"description": "The height of the image in pixels.",
"title": "Height",
"type": "integer"
},
"target_id": {
"title": "File ID",
"type": "integer"
},
"title": {
"description": "Image title text, for the image\\'s \\'title\\' attribute.",
"title": "Title",
"type": "string"
},
"width": {
"description": "The width of the image in pixels.",
"title": "Width",
"type": "integer"
}
},
"required": [
"target_id"
],
"type": "object"
},
"type": {
"enum": [
"file--file"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Images",
"type": "object"
},
"location": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/location/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Location",
"type": "object"
},
"log_type": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/log_type/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "Log type ID",
"type": "string"
},
"type": {
"enum": [
"log_type--log_type"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Log type",
"type": "object"
},
"owner": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/owner/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Assigned to",
"type": "object"
},
"quantity": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/quantity/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"type": "array"
}
},
"title": "Quantity",
"type": "object"
},
"revision_user": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/revision_user/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Revision user",
"type": "object"
},
"uid": {
"links": [
{
"href": "{instanceHref}",
"rel": "related",
"targetMediaType": "application/vnd.api+json",
"targetSchema": "http://localhost/api/log/activity/resource/relationships/uid/related/schema",
"templatePointers": {
"instanceHref": "/links/related/href"
},
"templateRequired": [
"instanceHref"
]
}
],
"properties": {
"data": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"meta": {
"title": "User ID",
"type": "integer"
},
"type": {
"enum": [
"user--user"
],
"title": "Referenced resource",
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"title": "Authored by",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "log--activity"
}
},
"title": "Activity log"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/taxonomy_term/crop_family.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/taxonomy_term/crop_family.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"description": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Description",
"type": "object"
},
"drupal_internal__tid": {
"description": "The term ID.",
"title": "Term ID",
"type": "integer"
},
"name": {
"maxLength": 255,
"title": "Name",
"type": "string"
},
"status": {
"default": true,
"title": "Published",
"type": "boolean"
},
"weight": {
"default": 0,
"description": "The weight of this term in relation to other terms.",
"title": "Weight",
"type": "integer"
}
},
"required": [
"drupal_internal__tid",
"name"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"parent": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Term Parents",
"type": "array"
},
"vid": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"title": "Vocabulary",
"type": "object"
}
},
"type": "object"
},
"type": {
"const": "crop_family"
}
},
"title": "Crop family taxonomy term",
"type": "object"
} | MIT | en |
farmOS/farmOS.js | 100a908fb76296a36fd5b57f54e9687a33160cbf | 2021-11-08T19:42:49 | core_schemata/log/activity.json | 15 | 2024-05-29T10:22:47.570473Z | {
"$id": "https://raw.githubusercontent.com/farmOS/farmOS.js/main/core_schemata/log/activity.json",
"$schema": "https://json-schema.org/draft/2019-09/hyper-schema",
"properties": {
"attributes": {
"additionalProperties": false,
"description": "Entity attributes",
"properties": {
"data": {
"maxLength": 255,
"title": "Data",
"type": "string"
},
"flag": {
"description": "Add flags to enable better sorting and filtering of records.",
"items": {
"title": "Text value",
"type": "string"
},
"title": "Flags",
"type": "array"
},
"geometry": {
"description": "Add geometry data to this log to describe where it took place.",
"properties": {
"bottom": {},
"geo_type": {
"title": "Geometry Type",
"type": "string"
},
"geohash": {
"title": "Geohash",
"type": "string"
},
"lat": {},
"latlon": {
"title": "LatLong Pair",
"type": "string"
},
"left": {},
"lon": {},
"right": {},
"top": {},
"value": {
"title": "Geometry",
"type": "string"
}
},
"title": "Geometry",
"type": "object"
},
"is_movement": {
"description": "If this log is a movement, then all assets referenced by it will be located in the referenced locations and/or geometry at the time the log takes place. The log must be complete in order for the movement to take effect.",
"title": "Is movement",
"type": "boolean"
},
"name": {
"default": "",
"description": "The name of the log. Leave this blank to automatically generate a name.",
"maxLength": 255,
"title": "Name",
"type": "string"
},
"notes": {
"properties": {
"format": {
"title": "Text format",
"type": "string"
},
"value": {
"title": "Text",
"type": "string"
}
},
"required": [
"value"
],
"title": "Notes",
"type": "object"
},
"status": {
"default": "pending",
"description": "Indicates the status of the log.",
"maxLength": 255,
"title": "Status",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the event being logged.",
"format": "date-time",
"title": "Timestamp",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"meta": {
"type": "object"
},
"relationships": {
"additionalProperties": false,
"description": "Entity relationships",
"properties": {
"asset": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assets",
"type": "array"
},
"category": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Log category",
"type": "array"
},
"equipment": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Equipment used",
"type": "array"
},
"file": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Files",
"type": "array"
},
"image": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Images",
"type": "array"
},
"location": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Location",
"type": "array"
},
"owner": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Assigned to",
"type": "array"
},
"quantity": {
"items": {
"properties": {
"id": {
"format": "uuid",
"maxLength": 128,
"title": "Resource ID",
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
},
"title": "Quantity",
"type": "array"
}
},
"type": "object"
},
"type": {
"const": "activity"
}
},
"title": "Activity log",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | bf686a2e7650642b3f613481b2f762af6a124200 | 2021-09-21T21:10:21 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 591c25b2367bf8e1aa26a4eeca6c276c606072e8 | 2021-10-02T20:42:56 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 39776e8c3db9b149b3c31c820311365c03ef6a29 | 2021-10-14T14:17:09 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"copyPaths": {
"description": "Include/Exclude content to be copied to the final bundle",
"properties": {
"excludes": {
"default": [
"index.html",
".fsproj",
".fable",
"fable_modules",
"bin",
"obj",
".fs",
".js",
".css",
".ts",
".jsx",
".tsx"
],
"description": "Files/directories to exclude from the out directory, this will override the default exclude list.",
"type": "array"
},
"include": {
"description": "Files/directories to include in the out directory",
"examples": [
"./src/sample.png",
"./public/data.bin"
],
"type": "array"
}
},
"type": "object"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"fileLoaders": {
"default": {
".png": "file",
".svg": "file",
".woff": "file",
".woff2": "file"
},
"description": "An object with file extensions and the kind of loaders you want for them see https://esbuild.github.io/content-types providing these options will override the defaults, please ensure your options are covered when building for the first time",
"type": "object"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "Configuration options for the saturn server running on the background at dev time",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"host": {
"default": "127.0.0.1",
"description": "A host to bind the dev server to, defaults to 127.0.0.1",
"type": "string"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 1cf1d8de4bcbb01e98ff57943f67da0f891e0f05 | 2021-10-02T16:19:13 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 442943bd0fd08729696a7c4acd6050cb71b4f208 | 2022-01-25T15:18:16 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"copyPaths": {
"description": "Include/Exclude content to be copied to the final bundle",
"properties": {
"excludes": {
"default": [
"index.html",
".fsproj",
".fable",
"fable_modules",
"bin",
"obj",
".fs",
".js",
".css",
".ts",
".jsx",
".tsx"
],
"description": "Files/directories to exclude from the out directory, this will override the default exclude list.",
"type": "array"
},
"includes": {
"description": "Files/directories to include in the out directory",
"examples": [
"./src/sample.png",
"./public/data.bin"
],
"type": "array"
}
},
"type": "object"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"fileLoaders": {
"default": {
".png": "file",
".svg": "file",
".woff": "file",
".woff2": "file"
},
"description": "An object with file extensions and the kind of loaders you want for them see https://esbuild.github.io/content-types providing these options will override the defaults, please ensure your options are covered when building for the first time",
"type": "object"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "Configuration options for the saturn server running on the background at dev time",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"host": {
"default": "localhost",
"description": "A host to bind the dev server to, defaults to localhost",
"type": "string"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | f6165f1cb5c43ee913aa085f85cca4bb5b661bae | 2021-10-10T04:54:35 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"copyPaths": {
"description": "Include/Exclude content to be copied to the final bundle",
"properties": {
"excludes": {
"default": [
"index.html",
".fsproj",
".fable",
"fable_modules",
"bin",
"obj",
".fs",
".js",
".css",
".ts",
".jsx",
".tsx"
],
"description": "Files/directories to exclude from the out directory, this will override the default exclude list.",
"type": "array"
},
"include": {
"description": "Files/directories to include in the out directory",
"examples": [
"./src/sample.png",
"./public/data.bin"
],
"type": "array"
}
},
"type": "object"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 95c460c9059e9aad79e4524c4330b748d8f531cb | 2021-09-26T04:39:21 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | 9e67e262dc46d9a7592ff3459fc394e56a85d5f9 | 2022-09-05T18:08:21 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "https://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"copyPaths": {
"description": "Include/Exclude content to be copied to the final bundle",
"properties": {
"excludes": {
"default": [
"index.html",
".fsproj",
".fable",
"fable_modules",
"bin",
"obj",
".fs",
".js",
".css",
".ts",
".jsx",
".tsx"
],
"description": "Files/directories to exclude from the out directory, this will override the default exclude list.",
"type": "array"
},
"includes": {
"description": "Files/directories to include in the out directory",
"examples": [
"./src/sample.png",
"./public/data.bin"
],
"type": "array"
}
},
"type": "object"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Semantic versioning *version* of an esbuild release, this must match a package in the npm js registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"fileLoaders": {
"default": {
".png": "file",
".svg": "file",
".woff": "file",
".woff2": "file"
},
"description": "An object with file extensions and the kind of loaders you want for them see https://esbuild.github.io/content-types providing these options will override the defaults, please ensure your options are covered when building for the first time",
"type": "object"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "Configuration options for the saturn server running on the background at dev time",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"enableEnv": {
"default": true,
"description": "Enable providing environmental variables at dev time",
"type": "boolean"
},
"envPath": {
"default": "/env.js",
"description": "Select the rooted url where to serve the env vars for perla e.g /my-api/env.js",
"examples": [
"/env.js",
"/my-api/env.js",
"/api/env.js"
],
"type": "string"
},
"host": {
"default": "localhost",
"description": "A host to bind the dev server to, defaults to localhost",
"type": "string"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
AngelMunoz/Perla | e275b97c29665389e4cbd4bfc5e877a300e65436 | 2021-11-16T21:15:05 | perla.schema.json | 132 | 2024-05-28T04:00:00.449005Z | {
"$schema": "http://json-schema.org/schema",
"definitions": {
"build": {
"description": "",
"properties": {
"bundle": {
"default": true,
"description": "Enable/disable bundling",
"type": "boolean"
},
"copyPaths": {
"description": "Include/Exclude content to be copied to the final bundle",
"properties": {
"excludes": {
"default": [
"index.html",
".fsproj",
".fable",
"fable_modules",
"bin",
"obj",
".fs",
".js",
".css",
".ts",
".jsx",
".tsx"
],
"description": "Files/directories to exclude from the out directory, this will override the default exclude list.",
"type": "array"
},
"includes": {
"description": "Files/directories to include in the out directory",
"examples": [
"./src/sample.png",
"./public/data.bin"
],
"type": "array"
}
},
"type": "object"
},
"esBuildPath": {
"description": "An absolute path to the esbuild executable, on Windows it must include the .exe extension.",
"type": "string"
},
"esbuildVersion": {
"default": "0.12.28",
"description": "A Sememantic versioning *version* of an esbuild release, this must match a package in the npmjs registry",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
"type": "string"
},
"externals": {
"description": "Third party libraries that you want esbuild to ignore (i.e. bare specifiers), eg. excluding lit from the bundle from \"import { LitElement from 'lit'\" by default perla excludes all of the specifiers that are in the packages map.",
"examples": [
[
"my-undeclared-dependency",
"@undeclared/dep"
]
],
"type": "array"
},
"fileLoaders": {
"default": {
".png": "file",
".svg": "file",
".woff": "file",
".woff2": "file"
},
"description": "An object with file extensions and the kind of loaders you want for them see https://esbuild.github.io/content-types providing these options will override the defaults, please ensure your options are covered when building for the first time",
"type": "object"
},
"format": {
"default": "esm",
"description": "Any format defined by esbuild, check https://esbuild.github.io/api/#format",
"type": "string"
},
"injects": {
"description": "A list of files to inject at the transformation phase, i.e import React from 'react' or import { h, Fragment } from 'preact', so you don't have to do it by hand on every file",
"examples": [
[
"./react-shim.js"
],
[
"./preact-shim.js"
]
],
"type": "array"
},
"jsxFactory": {
"description": "This sets the function that is called for each JSX element.",
"type": "string"
},
"jsxFragment": {
"description": "This sets the function that is called for each JSX fragment.",
"type": "string"
},
"minify": {
"default": true,
"description": "Enable/disable minification",
"type": "boolean"
},
"outDir": {
"default": "./dist",
"description": "A relative path that tells to output the js files",
"type": "string"
},
"target": {
"default": "es2015",
"description": "Any target defined by esbuild, check https://esbuild.github.io/api/#target",
"type": "string"
}
},
"type": "object"
},
"devServer": {
"description": "Configuration options for the saturn server running on the background at dev time",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the saturn server auto start feature",
"type": "boolean"
},
"host": {
"default": "127.0.0.1",
"description": "A host to bind the dev server to, defaults to 127.0.0.1",
"type": "string"
},
"liveReload": {
"default": true,
"description": "Enable/Disable the live reload feature",
"type": "boolean"
},
"mountDirectories": {
"default": {
"./src": ""
},
"description": "A key/value object that mounts the physical path specified by the key on the route specified by the value.",
"examples": [
{
"./src": ""
},
{
"./public": "/static",
"./src": ""
},
{
"./public": ""
}
],
"type": "object"
},
"port": {
"default": 7331,
"description": "A port to listen connections at for the dev server",
"type": "integer"
},
"useSSL": {
"default": false,
"description": "Enable SSL and HSTS for Local development",
"type": "boolean"
},
"watchConfig": {
"description": "Modify the way files are watched in the system",
"properties": {
"directories": {
"default": [
"./src"
],
"description": "A list of directories to watch for changes",
"type": "array"
},
"extensions": {
"default": [
"*.js",
"*.css"
],
"description": "A list of extensions to watch for changes",
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"fable": {
"description": "Fable Compiler configuration options (optional)",
"properties": {
"autoStart": {
"default": true,
"description": "Enable/Disable the Fable compilation at the start of the dev server",
"type": "boolean"
},
"extension": {
"description": "The extension to use for compiled js files",
"type": "string"
},
"outDir": {
"description": "A relative path that tells to output the js files",
"type": "string"
},
"project": {
"default": "./src/App.fsproj",
"description": "A relative path to the Fable project to compile",
"type": "string"
}
},
"type": "object"
}
},
"description": "A Node'less dev server for frontend developers",
"properties": {
"build": {
"$ref": "#/definitions/build"
},
"devServer": {
"$ref": "#/definitions/devServer"
},
"fable": {
"$ref": "#/definitions/fable"
},
"index": {
"description": "The main index file to be processed by perla, this file should be outside of the static mounted paths.",
"type": "string"
},
"packages": {
"description": "A list of third party packages with the URL to their source, the key of the object can be any string, not necessarily the name of the package. This is used to generate an import map for the browser",
"examples": [
{
"lit": "https://cdn.skypack.dev/lit"
},
{
"fsharp-components": "https://cdn.skypack.dev/fsharp-components",
"lit": "https://cdn.skypack.dev/lit"
}
],
"type": "object"
}
},
"required": [
"index"
],
"title": "Perla",
"type": "object"
} | MIT | en |
suzuki-shunsuke/renovate-issue-action | 388071dcea70ab42ed85aa4d02509cd4b6b766ce | 2022-04-24T00:33:55 | json-schema/config.json | 9 | 2024-05-27T02:57:20.879032Z | {
"$defs": {
"Config": {
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"$ref": "#/$defs/Entry"
},
"type": "array"
},
"issue": {
"$ref": "#/$defs/Issue"
},
"renovate_login": {
"default": "renovate[bot]",
"type": "string"
}
},
"type": "object"
},
"Entry": {
"additionalProperties": false,
"properties": {
"if": {
"type": "string"
},
"ignore": {
"type": "boolean"
},
"issue": {
"$ref": "#/$defs/Issue"
},
"vars": {
"items": {
"$ref": "#/$defs/Var"
},
"type": "array"
}
},
"required": [
"issue",
"if"
],
"type": "object"
},
"Issue": {
"additionalProperties": false,
"properties": {
"additional_assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"additional_labels": {
"items": {
"type": "string"
},
"type": "array"
},
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"description_body": {
"type": "string"
},
"description_header": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"repo_name": {
"type": "string"
},
"repo_owner": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"Var": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": true
},
"required": [
"name",
"value"
],
"type": "object"
}
},
"$id": "https://github.com/suzuki-shunsuke/renovate-issue-action/pkg/config/config",
"$ref": "#/$defs/Config",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | MIT | en |
suzuki-shunsuke/renovate-issue-action | 5daddbac87db24ae3c6be69e0369104f398162da | 2022-05-04T07:45:38 | json-schema/config.json | 9 | 2024-05-27T02:57:20.879032Z | {
"$defs": {
"Config": {
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"$ref": "#/$defs/Entry"
},
"type": "array"
},
"issue": {
"$ref": "#/$defs/Issue"
},
"projects": {
"items": {
"$ref": "#/$defs/Project"
},
"type": "array"
},
"renovate_login": {
"default": "renovate[bot]",
"type": "string"
}
},
"type": "object"
},
"Entry": {
"additionalProperties": false,
"properties": {
"if": {
"type": "string"
},
"ignore": {
"type": "boolean"
},
"issue": {
"$ref": "#/$defs/Issue"
},
"vars": {
"items": {
"$ref": "#/$defs/Var"
},
"type": "array"
}
},
"required": [
"issue",
"if"
],
"type": "object"
},
"Issue": {
"additionalProperties": false,
"properties": {
"additional_assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"additional_body": {
"type": "string"
},
"additional_labels": {
"items": {
"type": "string"
},
"type": "array"
},
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"description_body": {
"type": "string"
},
"description_header": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"projects": {
"items": {
"type": "string"
},
"type": "array"
},
"repo_name": {
"type": "string"
},
"repo_owner": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
},
"Project": {
"additionalProperties": false,
"properties": {
"alias": {
"type": "string"
},
"column_id": {
"type": "string"
},
"next_id": {
"type": "string"
}
},
"required": [
"alias"
],
"type": "object"
},
"Var": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": true
},
"required": [
"name",
"value"
],
"type": "object"
}
},
"$id": "https://github.com/suzuki-shunsuke/renovate-issue-action/pkg/config/config",
"$ref": "#/$defs/Config",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | MIT | en |
suzuki-shunsuke/renovate-issue-action | 6d34c625b5361c8cfa55d86a7b33474cd4c15ca4 | 2022-04-23T23:37:51 | json-schema/config.json | 9 | 2024-05-27T02:57:20.879032Z | {
"$defs": {
"Config": {
"additionalProperties": false,
"properties": {
"entries": {
"items": {
"$ref": "#/$defs/Entry"
},
"type": "array"
},
"issue": {
"$ref": "#/$defs/Issue"
},
"renovate_login": {
"type": "string"
}
},
"type": "object"
},
"Entry": {
"additionalProperties": false,
"properties": {
"if": {
"type": "string"
},
"ignore": {
"type": "boolean"
},
"issue": {
"$ref": "#/$defs/Issue"
}
},
"required": [
"issue",
"if"
],
"type": "object"
},
"Issue": {
"additionalProperties": false,
"properties": {
"additional_assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"additional_labels": {
"items": {
"type": "string"
},
"type": "array"
},
"assignees": {
"items": {
"type": "string"
},
"type": "array"
},
"description_body": {
"type": "string"
},
"description_header": {
"type": "string"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"repo_name": {
"type": "string"
},
"repo_owner": {
"type": "string"
},
"title": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/suzuki-shunsuke/renovate-issue-action/pkg/config/config",
"$ref": "#/$defs/Config",
"$schema": "https://json-schema.org/draft/2020-12/schema"
} | MIT | en |
marianafcosta/news-story-viz | 87584fa9b791faefab85d6f3d7759a00b144bf1f | 2021-06-24T19:25:26 | schema.json | 5 | 2024-05-28T04:03:03.777311Z | {
"$defs": {
"character": {
"properties": {
"affiliation": {
"description": "RGB value of the entity line in the visualization in the format 'rbg(R, G, B)'",
"type": "string"
},
"id": {
"description": "The ID of the entity",
"type": "string"
},
"name": {
"description": "The name of the entity",
"type": "string"
},
"synonyms": {
"descriptions": "Other names by which this entity can be referred to in the description texts",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"scene": {
"properties": {
"characters": {
"description": "ID's of the entities that participate in this event",
"items": {
"type": "string"
},
"type": "array"
},
"date": {
"descriptions": "Date of this event. Must be in a valid date format",
"type": "string"
},
"description": {
"description": "Description of this event",
"type": "string"
},
"location": {
"descriptions": "Location of this event",
"type": "string"
},
"title": {
"description": "Title of this event",
"type": "string"
}
},
"required": [
"characters",
"description",
"title"
],
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Main story elements necessary to the creation of a storyline visualization",
"properties": {
"characters": {
"description": "Entities who participate in the story",
"items": {
"$ref": "#/$defs/character"
},
"type": "array"
},
"scenes": {
"description": "Events in a story",
"items": {
"$ref": "#/$defs/scene"
},
"type": "array"
},
"title": {
"description": "The title of the story",
"type": "string"
}
},
"required": [
"title",
"characters",
"scenes"
],
"title": "News story",
"type": "object"
} | MIT | en |
NCATSTranslator/Knowledge_Graph_Exchange_Registry | 616f230ed2d145dd8a6be4330abd79b8879b77b4 | 2021-07-29T17:57:48 | kgea/server/web_services/catalog/content_metadata.schema.json | 5 | 2024-05-27T22:46:52.626016Z | {
"$defs": {
"BiolinkEntity": {
"description": "Compact URI (CURIE) for a Biolink class, biolink:NamedThing or a child thereof. The CURIE must use the prefix 'biolink:' followed by the PascalCase class name.",
"pattern": "^biolink:[A-Z][a-zA-Z]*$",
"type": "string"
},
"BiolinkPredicate": {
"description": "CURIE for a Biolink 'predicate' slot, taken from the Biolink slot ('is_a') hierarchy rooted in biolink:related_to (snake_case). This predicate defines the Biolink relationship between the subject and object nodes of a biolink:Association defining a knowledge graph edge.",
"pattern": "^biolink:[a-z][a-z_]*$",
"type": "string"
},
"MetaEdge": {
"additionalProperties": false,
"description": "Edge in a meta knowledge map describing relationship between a subject Biolink class and an object Biolink class.",
"properties": {
"count": {
"description": "Total number of edge instances of this (subject, predicate, object) triple known to this knowledge graph, or -1 if the number is not known.",
"type": "integer"
},
"count_by_source": {
"additionalProperties": false,
"description": "Number of edge instances by knowledge source URI or CURIE or plain namespace identifier",
"patternProperties": {
"^(https?://[a-z.]+(/[a-zA-Z_.]+)*/?|((\\w|\\.)+:)?(\\w|\\.)+)$": {
"type": "integer"
}
},
"type": "object"
},
"object": {
"$ref": "#/$defs/BiolinkEntity",
"description": "Object node category of this relationship edge."
},
"predicate": {
"$ref": "#/$defs/BiolinkPredicate",
"description": "Biolink relationship between the subject and object categories."
},
"relations": {
"description": "Low-level relations from the underlying source.",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"$ref": "#/$defs/BiolinkEntity",
"description": "Subject node category of this relationship edge."
}
},
"required": [
"subject",
"predicate",
"object"
],
"type": "object"
},
"MetaNode": {
"additionalProperties": false,
"properties": {
"count": {
"description": "Total number of node instances of this node category known to this knowledge graph, or -1 if the number is not known.",
"type": "integer"
},
"count_by_source": {
"additionalProperties": false,
"description": "Number of node instances by knowledge source URI or CURIE or plain namespace identifier",
"patternProperties": {
"^(https?://[a-z.]+(/[a-zA-Z_.]+)*/?|((w|.)+:)?(w|.|-)+)$": {
"type": "integer"
}
},
"type": "object"
},
"id_prefixes": {
"description": "List of CURIE prefixes for the node category that this Knowledge Graph contains.",
"items": {
"pattern": "^[a-zA-Z_.]+$",
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"id_prefixes"
],
"type": "object"
}
},
"$id": "https://raw.githubusercontent.com/NCATSTranslator/Knowledge_Graph_Exchange_Registry/master/kgea/api/content_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Description of a node category for Knowledge Graph eXchange (KGX) knowledge graph content metadata",
"properties": {
"edges": {
"description": "List of edges/predicates provided by this knowledge graph.",
"items": {
"$ref": "#/$defs/MetaEdge"
},
"type": "array"
},
"nodes": {
"additionalProperties": false,
"description": "Collection of node categories provided by this TRAPI web service, indexed by Biolink class CURIEs.",
"patternProperties": {
"^biolink:[A-Z][a-zA-Z]*$": {
"$ref": "#/$defs/MetaNode"
}
},
"type": "object"
}
},
"required": [
"nodes",
"edges"
],
"title": "KGX Content Metadata",
"type": "object"
} | MIT | en |
NCATSTranslator/Knowledge_Graph_Exchange_Registry | 9dd2662539542b6ec28cd8b6d3c02a517c9a19d4 | 2021-04-23T00:32:19 | kgea/server/web_services/catalog/content_metadata.schema.json | 5 | 2024-05-27T22:46:52.626016Z | {
"$defs": {
"BiolinkEntity": {
"description": "Compact URI (CURIE) for a Biolink class, biolink:NamedThing or a child thereof. The CURIE must use the prefix 'biolink:' followed by the PascalCase class name.",
"pattern": "^biolink:[A-Z][a-zA-Z]*$",
"type": "string"
},
"BiolinkPredicate": {
"description": "CURIE for a Biolink 'predicate' slot, taken from the Biolink slot ('is_a') hierarchy rooted in biolink:related_to (snake_case). This predicate defines the Biolink relationship between the subject and object nodes of a biolink:Association defining a knowledge graph edge.",
"pattern": "^biolink:[a-z][a-z_]*$",
"type": "string"
},
"MetaEdge": {
"additionalProperties": false,
"description": "Edge in a meta knowledge map describing relationship between a subject Biolink class and an object Biolink class.",
"properties": {
"count": {
"description": "Total number of edge instances of this (subject, predicate, object) triple known to this knowledge graph, or -1 if the number is not known.",
"type": "integer"
},
"count_by_source": {
"additionalProperties": false,
"description": "Number of edge instances by their source.",
"patternProperties": {
"^[a-zA-Z_.]+$": {
"type": "integer"
}
},
"type": "object"
},
"object": {
"$ref": "#/$defs/BiolinkEntity",
"description": "Object node category of this relationship edge."
},
"predicate": {
"$ref": "#/$defs/BiolinkPredicate",
"description": "Biolink relationship between the subject and object categories."
},
"relations": {
"description": "Low-level relations from the underlying source.",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"$ref": "#/$defs/BiolinkEntity",
"description": "Subject node category of this relationship edge."
}
},
"required": [
"subject",
"predicate",
"object"
],
"type": "object"
},
"MetaNode": {
"additionalProperties": false,
"properties": {
"count": {
"description": "Total number of node instances of this node category known to this knowledge graph, or -1 if the number is not known.",
"type": "integer"
},
"count_by_source": {
"additionalProperties": false,
"description": "Number of node instances by their CURIE ID prefix source",
"patternProperties": {
"^[a-zA-Z_.]+$": {
"type": "integer"
}
},
"type": "object"
},
"id_prefixes": {
"description": "List of CURIE prefixes for the node category that this Knowledge Graph contains.",
"items": {
"pattern": "^[a-zA-Z_.]+$",
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"id_prefixes"
],
"type": "object"
}
},
"$id": "https://raw.githubusercontent.com/NCATSTranslator/Knowledge_Graph_Exchange_Registry/master/kgea/api/content_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Description of a node category for Knowledge Graph eXchange (KGX) knowledge graph content metadata",
"properties": {
"edges": {
"description": "List of edges/predicates provided by this knowledge graph.",
"items": {
"$ref": "#/$defs/MetaEdge"
},
"type": "array"
},
"nodes": {
"additionalProperties": false,
"description": "Collection of node categories provided by this TRAPI web service, indexed by Biolink class CURIEs.",
"patternProperties": {
"^biolink:[A-Z][a-zA-Z]*$": {
"$ref": "#/$defs/MetaNode"
}
},
"type": "object"
}
},
"required": [
"nodes",
"edges"
],
"title": "KGX Content Metadata",
"type": "object"
} | MIT | en |
NCATSTranslator/Knowledge_Graph_Exchange_Registry | 77577412f29d6a475a29c26e850e622a416acea6 | 2021-04-22T17:56:41 | kgea/server/web_services/catalog/content_metadata.schema.json | 5 | 2024-05-27T22:46:52.626016Z | {
"$id": "https://raw.githubusercontent.com/NCATSTranslator/Knowledge_Graph_Exchange_Registry/master/kgea/api/content_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Knowledge Graph eXchange (KGX) knowledge graph content metadata JSON schema; See https://github.com/NCATSTranslator/Knowledge_Graph_Exchange_Registry/blob/master/KGE_METADATA.md",
"properties": {
"edges": {
"description": "List of edges/predicates provided by this TRAPI web service.",
"type": "object"
},
"nodes": {
"description": "Collection of node categories provided by this TRAPI web service, indexed by Biolink class CURIEs.",
"type": "object"
}
},
"required": [
"nodes",
"edges"
],
"title": "KGX Content Metadata",
"type": "object"
} | MIT | en |