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 |
---|---|---|---|---|---|---|---|---|
BSI-Bund/secvisogram | fd862589e864c1ef16e877d5bb31aff2ffa06c49 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"field_description": {
"description": "Description of the field as string key for translation",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"field_title": {
"description": "Label of the field as string key for translation",
"minLength": 1,
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"minLength": 1,
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"field_description",
"field_title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 515aed75c629a67d0b5cb99974379b15596b6caa | 2022-05-18T08:12:50 | app/lib/app/shared/Core/csaf_2.0.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$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 |
BSI-Bund/secvisogram | 103e34e8a202f8f55cd18e7474e2c946035c29c4 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 388a91315fa9fdb71bfd04ade0cf7ab2e71c5141 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 645e9bc6df4afe846976fb2ed26c3e5fb7b73810 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a documentation file on the file system.",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels of a field.",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents.",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"field_description": {
"description": "The key for looking up the description text of this field in a translation file.",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"field_title": {
"description": "The key for looking up the title of this field in a translation file.",
"minLength": 1,
"title": "Field Title",
"type": "string"
},
"path": {
"description": "Defines the JSON path of the field this item holds metadata for.",
"minLength": 1,
"pattern": "^\\$(\\.(([A-Za-z_])+|(cvss_v[23]))(\\[\\])?)+$",
"title": "JSON Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field for each profile.",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Contains the relevance level of the current field for the profile CSAF Base.",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Contains the relevance level of the current field for the profile CSAF Informational Advisory.",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Contains the relevance level of the current field for the profile CSAF Security Advisory.",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Contains the relevance level of the current field for the profile CSAF Security Incident.",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Contains the relevance level of the current field for the profile CSAF VEX.",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string or is a shorter string.",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation files of the field.",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Contains a link to a markdown file with the specification of this field.",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files.",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Base profile.",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Informational Advisory profile.",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Advisory profile.",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Incident profile.",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF VEX profile.",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies in all contexts.",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only in a specific context.",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"field_description",
"field_title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | ff1e1a4eebae6f8492c6b8aef7847c25be4db66a | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a documentation file on the file system",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels of a field",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"field_description": {
"description": "The key for looking up the description text of this field in a translation file",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"field_title": {
"description": "The key for looking up the title of this field in a translation file",
"minLength": 1,
"title": "Field Title",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"minLength": 1,
"pattern": "^\\$(\\.(([A-Za-z_])+|(cvss_v[23]))(\\[\\])?)+$",
"title": "JSON Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field for each profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string or is a shorter string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation files of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Contains a link to a markdown file with the specification of this field",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies in all contexts",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"field_description",
"field_title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 952584a84834e2727c35b6199e1a6f6a7e442204 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 3701e89018e6c860005554c87581a420efcdb2c1 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2}\\.md",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "JSON schema for json file storing metadata on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The json path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"description": "Container for user documentation of the field",
"properties": {
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 05add5bde3fddb9538f385fd2dd6a394774e77e9 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 574c177e0fa61626f88992b7fefca8b53f6a0e4a | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The json path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 8488bbd93b42b0611c4ffe7a281e403b47da1c64 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a documentation file on the file system",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels of a field",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"field_description": {
"description": "The key for looking up the description text of this field in a translation file",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"field_title": {
"description": "The key for looking up the title of this field in a translation file",
"minLength": 1,
"title": "Field Title",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"minLength": 1,
"pattern": "^\\$(\\.(([A-Za-z_])+|(cvss_v[23]))(\\[\\])?)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field for each profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "The relevance level of this field for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string or is a shorter string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation files of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Contains a link to a markdown file with the specification of this field",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only for the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies in all contexts",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "A link to a markdown file with the usage documentation of this field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"field_description",
"field_title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 6f2390e1a68e55474e11ef8d2803acd885f66cf5 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | b869fba469c55b9bffd98d31551c72bfece38148 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 629705bb13655af2fa8626214fc0aa0fdef3fa56 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2}\\.md",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for json file storing metadata on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The json path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 4671d60021d0c5dec76733c2cd9d8477416b70f3 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for json file storing metadata on fields of CSAF documents",
"properties": {
"metaData": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The json path of the field this item holds metadata for",
"pattern": "\\$(\\.([A-Za-z_](\\[\\])?)+)+",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Vex profile",
"title": "CSAF Vex Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Vex profile",
"title": "CSAF Vex User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"type": "array"
}
},
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 62468ab4c66031b5435bc49a3953dcaba9e7dd82 | 2022-11-15T15:47:50 | app/scripts/importUiMetaData/csaf_json_schema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$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 contributors being recognized.",
"items": {
"description": "Contains the name of a single contributor being recognized.",
"examples": [
"Albert Einstein",
"Johann Sebastian Bach"
],
"minLength": 1,
"title": "Name of the contributor",
"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 full or abbreviated (partial) model numbers.",
"items": {
"description": "Contains a full or abbreviated (partial) 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 full or abbreviated (partial) serial numbers.",
"items": {
"description": "Contains a full or abbreviated (partial) 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 full or abbreviated (partial) stock keeping units.",
"items": {
"description": "Contains a full or abbreviated (partial) 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": "Indicates 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": "Contains the information of what kind of note this is.",
"enum": [
"description",
"details",
"faq",
"general",
"legal_disclaimer",
"other",
"summary"
],
"title": "Note category",
"type": "string"
},
"text": {
"description": "Holds the content of the note. Content varies depending on type.",
"minLength": 1,
"title": "Note content",
"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 |
BSI-Bund/secvisogram | 23ef9540a05939a9c8c617c35cc3030228cc6da1 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"field_description": {
"description": "Description of the field as string key for translation",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"field_title": {
"description": "Label of the field as string key for translation",
"minLength": 1,
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"minLength": 1,
"pattern": "^\\$(\\.(([A-Za-z_])+|(cvss_v[23]))(\\[\\])?)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"field_description",
"field_title"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
BSI-Bund/secvisogram | 77166e0d1369a6b7aa1d40ec7331260a8c6cae67 | 2022-05-02T13:21:05 | data/metadataSchema.json | 18 | 2024-05-28T01:30:06.902666Z | {
"$defs": {
"documentation_file_path_t": {
"description": "Defines the path to a file on the file system",
"minLength": 1,
"pattern": "^docs/user(/.+)+-(spec|usage)(-csaf_(base|security_incident_response|informational_advisory|security_advisory|vex))?\\.[a-z]{2,3}\\.md$",
"title": "File Path",
"type": "string"
},
"relevance_levels_t": {
"description": "Defines the possible relevance levels",
"enum": [
"mandatory",
"best_practice",
"want_to_have",
"nice_to_know",
"optional",
"excluded"
],
"title": "Relevance Levels",
"type": "string"
}
},
"$id": "https://raw.githubusercontent.com/secvisogram/secvisogram/main/data/metadataSchema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON schema for documentation (specification and usage) on fields of CSAF documents",
"properties": {
"field_metadata": {
"items": {
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the field as string key for translation",
"minLength": 1,
"title": "Field Description",
"type": "string"
},
"label": {
"description": "Label of the field as string key for translation",
"minLength": 1,
"title": "Field Label",
"type": "string"
},
"path": {
"description": "The JSON path of the field this item holds metadata for",
"minLength": 1,
"pattern": "^\\$(\\.([A-Za-z_](\\[\\])?)+)+$",
"title": "Json Path",
"type": "string"
},
"relevance_levels": {
"additionalProperties": false,
"description": "Relevance levels of the field per profile",
"properties": {
"csaf_base": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Base profile",
"title": "CSAF Base Relevance Levels"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory Relevance Levels"
},
"csaf_security_advisory": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Advisory profile",
"title": "CSAF Security Advisory Relevance Levels"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF Security Incident profile",
"title": "CSAF Security Incident Relevance Levels"
},
"csaf_vex": {
"$ref": "#/$defs/relevance_levels_t",
"description": "Relevance Levels for the CSAF VEX profile",
"title": "CSAF VEX Relevance Levels"
}
},
"title": "Relevance Levels",
"type": "object"
},
"string_is_multiline": {
"description": "Defines whether the field content may be multiline string",
"title": "Multiline String",
"type": "boolean"
},
"user_documentation": {
"additionalProperties": false,
"description": "Container for user documentation of the field",
"properties": {
"additionalProperties": false,
"specification": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Link to specification markdown file",
"title": "Specification Link"
},
"usage": {
"additionalProperties": false,
"description": "Container for links to usage markdown files",
"properties": {
"csaf_base": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Base profile",
"title": "CSAF Base User Documentation"
},
"csaf_informational_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Informational Advisory profile",
"title": "CSAF Informational Advisory User Documentation"
},
"csaf_security_advisory": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Advisory profile",
"title": "CSAF Security Advisory User Documentation"
},
"csaf_security_incident_response": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF Security Incident profile",
"title": "CSAF Security Incident User Documentation"
},
"csaf_vex": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation specific to the CSAF VEX profile",
"title": "CSAF VEX User Documentation"
},
"generic": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies to all cases",
"title": "Generic User Documentation"
},
"specific": {
"$ref": "#/$defs/documentation_file_path_t",
"description": "Usage Documentation for the field that applies only in a specific context",
"title": "Specific User Documentation"
}
},
"required": [
"generic"
],
"title": "Usage Links",
"type": "object"
}
},
"required": [
"specification",
"usage"
],
"title": "User Documentation Links",
"type": "object"
}
},
"required": [
"path",
"user_documentation",
"description",
"label"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"field_metadata"
],
"title": "Field Metadata for CSAF Documents",
"type": "object"
} | MIT | en |
adwinying/dotfiles | 529a13ffc3ea6774f7cc2425a316571d570caa5c | 2024-01-20T09:40:21 | swaync/.config/swaync/configSchema.json | 26 | 2024-05-28T04:46:14.621402Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"$schema": {
"description": "Pointer to the schema against which this document should be validated.",
"type": "string"
},
"control-center-height": {
"default": 600,
"description": "Height of the control center in pixels. Ignored when 'fit-to-screen' is set to 'true'",
"minimum": 300,
"type": "integer"
},
"control-center-layer": {
"default": "none",
"description": "Layer of control center window",
"enum": [
"background",
"bottom",
"top",
"overlay",
"none"
],
"type": "string"
},
"control-center-margin-bottom": {
"default": 0,
"description": "The margin (in pixels) at the bottom of the control center. 0 to disable",
"type": "integer"
},
"control-center-margin-left": {
"default": 0,
"description": "The margin (in pixels) at the left of the control center. 0 to disable",
"type": "integer"
},
"control-center-margin-right": {
"default": 0,
"description": "The margin (in pixels) at the right of the control center. 0 to disable",
"type": "integer"
},
"control-center-margin-top": {
"default": 0,
"description": "The margin (in pixels) at the top of the control center. 0 to disable",
"type": "integer"
},
"control-center-positionX": {
"default": "none",
"description": "Optional: Horizontal position of the control center. Supersedes positionX if not set to `none`",
"enum": [
"right",
"left",
"center",
"none"
],
"type": "string"
},
"control-center-positionY": {
"default": "none",
"description": "Optional: Vertical position of the control center. Supersedes positionY if not set to `none`",
"enum": [
"top",
"bottom",
"none"
],
"type": "string"
},
"control-center-width": {
"default": 500,
"description": "Width of the control center in pixels",
"minimum": 300,
"type": "integer"
},
"cssPriority": {
"default": "application",
"description": "Which GTK priority to use when loading the default and user CSS files. Pick \"user\" to override XDG_CONFIG_HOME/gtk-3.0/gtk.css",
"enum": [
"application",
"user"
],
"type": "string"
},
"fit-to-screen": {
"default": true,
"description": "If the control center should expand to both edges of the screen",
"type": "boolean"
},
"hide-on-action": {
"default": true,
"description": "Hides the control center when clicking on notification action",
"type": "boolean"
},
"hide-on-clear": {
"default": false,
"description": "Hides the control center after pressing \"Clear All\"",
"type": "boolean"
},
"image-visibility": {
"default": "when-available",
"description": "An explanation about the purpose of this instance.",
"enum": [
"always",
"when-available",
"never"
],
"type": "string"
},
"keyboard-shortcuts": {
"default": true,
"description": "If control center should use keyboard shortcuts",
"type": "boolean"
},
"layer": {
"default": "overlay",
"description": "Layer of notification window",
"enum": [
"background",
"bottom",
"top",
"overlay"
],
"type": "string"
},
"layer-shell": {
"default": true,
"description": "Wether or not the windows should be opened as layer-shell surfaces. Note: Requires swaync restart to apply",
"type": "boolean"
},
"notification-2fa-action": {
"default": true,
"description": "If each notification should display a 'COPY \"1234\"' action",
"type": "boolean"
},
"notification-body-image-height": {
"default": 100,
"description": "The notification body image height (in pixels)",
"minimum": 100,
"type": "integer"
},
"notification-body-image-width": {
"default": 200,
"description": "The notification body image width (in pixels)",
"minimum": 200,
"type": "integer"
},
"notification-icon-size": {
"default": 64,
"description": "The notification icon size (in pixels)",
"minimum": 16,
"type": "integer"
},
"notification-inline-replies": {
"default": false,
"description": "If notifications should display a text field to reply if the sender requests it. NOTE: Replying in popup notifications is only available if the compositor supports GTK Layer-Shell ON_DEMAND keyboard interactivity.",
"type": "boolean"
},
"notification-visibility": {
"additionalProperties": false,
"description": "Set the visibility of each incoming notification. If the notification doesn't include one of the properties, that property will be ignored. All properties (except for state) use regex. If all properties match the given notification, the notification will be follow the provided state. Only the first matching object will be used.",
"minProperties": 1,
"patternProperties": {
"^.{1,}$": {
"additionalProperties": false,
"description": "Your script object.",
"minProperties": 2,
"properties": {
"app-name": {
"description": "The app-name. Uses Regex.",
"type": "string"
},
"body": {
"description": "The body of the notification. Uses Regex.",
"type": "string"
},
"category": {
"description": "Which category the notification belongs to. Uses Regex.",
"type": "string"
},
"desktop-entry": {
"description": "The desktop-entry. Uses Regex.",
"type": "string"
},
"override-urgency": {
"default": "unset",
"description": "The new urgency of the notification (optional)",
"enum": [
"unset",
"low",
"normal",
"critical"
],
"type": "string"
},
"state": {
"default": "enabled",
"description": "The notification visibility state.",
"enum": [
"ignored",
"muted",
"enabled",
"transient"
],
"type": "string"
},
"summary": {
"description": "The summary of the notification. Uses Regex.",
"type": "string"
},
"urgency": {
"default": "Normal",
"description": "The urgency of the notification.",
"enum": [
"Low",
"Normal",
"Critical"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "object"
}
},
"type": "object"
},
"notification-window-width": {
"default": 500,
"description": "Width of the notification in pixels",
"type": "integer"
},
"positionX": {
"default": "right",
"description": "Horizontal position of control center and notification window",
"enum": [
"right",
"left",
"center"
],
"type": "string"
},
"positionY": {
"default": "top",
"description": "Vertical position of control center and notification window",
"enum": [
"top",
"center",
"bottom"
],
"type": "string"
},
"script-fail-notify": {
"default": true,
"description": "Sends a notification if a script fails to run",
"type": "boolean"
},
"scripts": {
"additionalProperties": false,
"description": "Which scripts to check and potentially run for every notification. If the notification doesn't include one of the properties, that property will be ignored. All properties (except for exec) use regex. If all properties match the given notification, the script will be run. Only the first matching script will be run.",
"minProperties": 1,
"patternProperties": {
"^.{1,}$": {
"additionalProperties": false,
"description": "Your script object.",
"minProperties": 2,
"properties": {
"app-name": {
"description": "The app-name. Uses Regex.",
"type": "string"
},
"body": {
"description": "The body of the notification. Uses Regex.",
"type": "string"
},
"category": {
"description": "Which category the notification belongs to. Uses Regex.",
"type": "string"
},
"desktop-entry": {
"description": "The desktop-entry. Uses Regex.",
"type": "string"
},
"exec": {
"description": "The script to run. Can also run regular shell commands.",
"type": "string"
},
"run-on": {
"default": "receive",
"description": "Whether to run the script on an action being activated, or when the notification is received.",
"enum": [
"action",
"receive"
],
"type": "string"
},
"summary": {
"description": "The summary of the notification. Uses Regex.",
"type": "string"
},
"urgency": {
"default": "Normal",
"description": "The urgency of the notification.",
"enum": [
"Low",
"Normal",
"Critical"
],
"type": "string"
}
},
"required": [
"exec"
],
"type": "object"
}
},
"type": "object"
},
"timeout": {
"default": 10,
"description": "The notification timeout for notifications with normal priority",
"type": "integer"
},
"timeout-critical": {
"default": 0,
"description": "The notification timeout for notifications with critical priority. 0 to disable",
"type": "integer"
},
"timeout-low": {
"default": 5,
"description": "The notification timeout for notifications with low priority",
"type": "integer"
},
"transition-time": {
"default": 200,
"description": "The notification animation duration. 0 to disable",
"type": "integer"
},
"widget-config": {
"additionalProperties": false,
"description": "Configure specific widget properties.",
"patternProperties": {
"^backlight(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/backlight"
},
"^buttons-grid(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/buttons-grid"
},
"^dnd(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/dnd"
},
"^inhibitors(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/inhibitors"
},
"^label(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/label"
},
"^menubar(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/menubar"
},
"^mpris(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/mpris"
},
"^title(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/title"
},
"^volume(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"$ref": "#/widgets/volume"
}
},
"type": "object"
},
"widgets": {
"default": [
"inhibitors",
"title",
"dnd",
"notifications"
],
"description": "Which order and which widgets to display. If the \"notifications\" widget isn't specified, it will be placed at the bottom.",
"items": {
"pattern": "^[a-zA-Z0-9_-]{1,}(#[a-zA-Z0-9_-]{1,}){0,1}?$",
"type": "string"
},
"type": "array"
}
},
"title": "SwayNotificationCenter JSON schema",
"type": "object",
"widgets": {
"backlight": {
"additionalProperties": false,
"description": "Slider to control monitor brightness",
"properties": {
"device": {
"default": "intel_backlight",
"description": "Name of monitor (find possible devices using `ls /sys/class/backlight` or `ls /sys/class/leds`)",
"type": "string"
},
"label": {
"default": "Brightness",
"description": "Text displayed in front of the backlight slider",
"type": "string"
},
"min": {
"default": 0,
"description": "Lowest possible value for brightness",
"type": "integer"
},
"subsystem": {
"default": "backlight",
"description": "Kernel subsystem for brightness control",
"enum": [
"backlight",
"leds"
],
"type": "string"
}
},
"type": "object"
},
"buttons-grid": {
"additionalProperties": false,
"description": "A widget to add a grid of buttons that execute shell commands",
"properties": {
"actions": {
"description": "A list of actions containing a label and a command",
"items": {
"properties": {
"command": {
"default": "",
"description": "Command to be executed on click",
"type": "string"
},
"label": {
"default": "label",
"description": "Text to be displayed in button",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"dnd": {
"additionalProperties": false,
"description": "Control Center Do Not Disturb Widget",
"properties": {
"text": {
"default": "Do Not Disturb",
"description": "The title of the widget",
"type": "string"
}
},
"type": "object"
},
"inhibitors": {
"additionalProperties": false,
"description": "Control Center Inhibitors Widget",
"properties": {
"button-text": {
"default": "Clear All",
"description": "\"Clear All\" button text",
"type": "string"
},
"clear-all-button": {
"default": true,
"description": "Wether to display a \"Clear All\" button",
"type": "boolean"
},
"text": {
"default": "Inhibitors",
"description": "The title of the widget",
"type": "string"
}
},
"type": "object"
},
"label": {
"additionalProperties": false,
"description": "A generic widget that allows the user to add custom text",
"properties": {
"max-lines": {
"default": 5,
"description": "The maximum lines",
"type": "integer"
},
"text": {
"default": "Label Text",
"description": "The text content of the widget",
"type": "string"
}
},
"type": "object"
},
"menubar": {
"additionalProperties": false,
"description": "A bar that contains action-buttons and buttons to open a dropdown with action-buttons",
"patternProperties": {
"^buttons(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"additionalProperties": false,
"description": "A list of action-buttons to be displayed in the topbar",
"properties": {
"actions": {
"$ref": "#/widgets/buttons-grid/properties/actions"
},
"position": {
"default": "right",
"description": "Horizontal position of the button in the bar",
"enum": [
"right",
"left"
],
"type": "string"
}
},
"type": "object"
},
"^menu(#[a-zA-Z0-9_-]{1,}){0,1}?$": {
"additionalProperties": false,
"description": "A button that opens a dropdown with action-buttons",
"properties": {
"actions": {
"$ref": "#/widgets/buttons-grid/properties/actions"
},
"animation-duration": {
"default": 250,
"description": "Duration of animation in milliseconds",
"type": "integer"
},
"animation-type": {
"default": "slide_down",
"description": "Animation type for menu",
"enum": [
"slide_down",
"slide_up",
"none"
],
"type": "string"
},
"label": {
"default": "Menu",
"description": "Text to be displayed in button",
"type": "string"
},
"position": {
"default": "right",
"description": "Horizontal position of the button in the bar",
"enum": [
"right",
"left"
],
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"mpris": {
"additionalProperties": false,
"description": "A widget that displays multiple music players",
"properties": {
"image-radius": {
"default": 12,
"description": "The border radius of the album art",
"type": "integer"
},
"image-size": {
"default": 96,
"description": "The size of the album art",
"type": "integer"
}
},
"type": "object"
},
"title": {
"additionalProperties": false,
"description": "Control Center Title Widget",
"properties": {
"button-text": {
"default": "Clear All",
"description": "\"Clear All\" button text",
"type": "string"
},
"clear-all-button": {
"default": true,
"description": "Wether to display a \"Clear All\" button",
"type": "boolean"
},
"text": {
"default": "Notifications",
"description": "The title of the widget",
"type": "string"
}
},
"type": "object"
},
"volume": {
"additionalProperties": false,
"description": "Slider to control pulse volume",
"properties": {
"animation-duration": {
"default": 250,
"description": "Duration of animation in milliseconds",
"type": "integer"
},
"animation-type": {
"default": "slide_down",
"description": "Animation type for menu",
"enum": [
"slide_down",
"slide_up",
"none"
],
"type": "string"
},
"collapse-button-label": {
"default": "\u21e9",
"description": "Label displayed on button to hide per app volume control",
"type": "string"
},
"empty-list-label": {
"default": "No active sink input",
"description": "Text displayed when there are not active sink inputs",
"type": "string"
},
"expand-button-label": {
"default": "\u21e7",
"description": "Label displayed on button to show per app volume control",
"type": "string"
},
"icon-size": {
"default": 24,
"description": "Size of the application icon in per app volume control",
"type": "integer"
},
"label": {
"default": "Volume",
"description": "Text displayed in front of the volume slider",
"type": "string"
},
"show-per-app": {
"default": false,
"description": "Show per app volume control",
"type": "boolean"
}
},
"type": "object"
}
}
} | WTFPL | en |
PacktPublishing/Developing-IoT-Projects-with-ESP32-2nd-edition | 756fb4dee8bbb6e899e9596f65dd4724a043986d | 2022-11-22T17:05:28 | ch4/flatbuffers_ex/components/flatbuffers/tests/monster_test.schema.json | 84 | 2024-05-27T06:52:09.15862Z | {
"$ref": "#/definitions/MyGame_Example_Monster",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"MyGame_Example2_Monster": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"MyGame_Example_Ability": {
"additionalProperties": false,
"properties": {
"distance": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"id": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_Any": {
"enum": [
"NONE",
"Monster",
"TestSimpleTableWithEnum",
"MyGame_Example2_Monster"
],
"type": "string"
},
"MyGame_Example_AnyAmbiguousAliases": {
"enum": [
"NONE",
"M1",
"M2",
"M3"
],
"type": "string"
},
"MyGame_Example_AnyUniqueAliases": {
"enum": [
"NONE",
"M",
"TS",
"M2"
],
"type": "string"
},
"MyGame_Example_Color": {
"enum": [
"Red",
"Green",
"Blue"
],
"type": "string"
},
"MyGame_Example_LongEnum": {
"enum": [
"LongOne",
"LongTwo",
"LongBig"
],
"type": "string"
},
"MyGame_Example_Monster": {
"additionalProperties": false,
"description": "an example documentation comment: \"monster object\"",
"properties": {
"any_ambiguous": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_Monster"
}
]
},
"any_ambiguous_type": {
"$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases"
},
"any_unique": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum"
},
{
"$ref": "#/definitions/MyGame_Example2_Monster"
}
]
},
"any_unique_type": {
"$ref": "#/definitions/MyGame_Example_AnyUniqueAliases"
},
"co_owning_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"color": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"enemy": {
"$ref": "#/definitions/MyGame_Example_Monster"
},
"flex": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"friendly": {
"deprecated": true,
"type": "boolean"
},
"hp": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"inventory": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"long_enum_non_enum_default": {
"$ref": "#/definitions/MyGame_Example_LongEnum"
},
"long_enum_normal_default": {
"$ref": "#/definitions/MyGame_Example_LongEnum"
},
"mana": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"name": {
"type": "string"
},
"native_inline": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"non_owning_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"parent_namespace_test": {
"$ref": "#/definitions/MyGame_InParentNamespace"
},
"pos": {
"$ref": "#/definitions/MyGame_Example_Vec3"
},
"scalar_key_sorted_tables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Stat"
},
"type": "array"
},
"signed_enum": {
"$ref": "#/definitions/MyGame_Example_Race"
},
"single_weak_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"test": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum"
},
{
"$ref": "#/definitions/MyGame_Example2_Monster"
}
]
},
"test4": {
"items": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"type": "array"
},
"test5": {
"items": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"type": "array"
},
"test_type": {
"$ref": "#/definitions/MyGame_Example_Any"
},
"testarrayofbools": {
"items": {
"type": "boolean"
},
"type": "array"
},
"testarrayofsortedstruct": {
"items": {
"$ref": "#/definitions/MyGame_Example_Ability"
},
"type": "array"
},
"testarrayofstring": {
"items": {
"type": "string"
},
"type": "array"
},
"testarrayofstring2": {
"items": {
"type": "string"
},
"type": "array"
},
"testarrayoftables": {
"description": "an example documentation comment: this will end up in the generated code\nmultiline too",
"items": {
"$ref": "#/definitions/MyGame_Example_Monster"
},
"type": "array"
},
"testbool": {
"type": "boolean"
},
"testempty": {
"$ref": "#/definitions/MyGame_Example_Stat"
},
"testf": {
"type": "number"
},
"testf2": {
"type": "number"
},
"testf3": {
"type": "number"
},
"testhashs32_fnv1": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"testhashs32_fnv1a": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"testhashs64_fnv1": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"testhashs64_fnv1a": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"testhashu32_fnv1": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"testhashu32_fnv1a": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"testhashu64_fnv1": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"testhashu64_fnv1a": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"testnestedflatbuffer": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"testrequirednestedflatbuffer": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_co_owning_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_doubles": {
"items": {
"type": "number"
},
"type": "array"
},
"vector_of_enums": {
"items": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"type": "array"
},
"vector_of_longs": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"type": "array"
},
"vector_of_non_owning_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_referrables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Referrable"
},
"type": "array"
},
"vector_of_strong_referrables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Referrable"
},
"type": "array"
},
"vector_of_weak_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
}
},
"required": [
"name"
],
"type": "object"
},
"MyGame_Example_Race": {
"enum": [
"None",
"Human",
"Dwarf",
"Elf"
],
"type": "string"
},
"MyGame_Example_Referrable": {
"additionalProperties": false,
"properties": {
"id": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_Stat": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"id": {
"type": "string"
},
"val": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_StructOfStructs": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_Ability"
},
"b": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"c": {
"$ref": "#/definitions/MyGame_Example_Ability"
}
},
"type": "object"
},
"MyGame_Example_StructOfStructsOfStructs": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_StructOfStructs"
}
},
"type": "object"
},
"MyGame_Example_Test": {
"additionalProperties": false,
"properties": {
"a": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"b": {
"maximum": 127,
"minimum": -128,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_TestSimpleTableWithEnum": {
"additionalProperties": false,
"properties": {
"color": {
"$ref": "#/definitions/MyGame_Example_Color"
}
},
"type": "object"
},
"MyGame_Example_TypeAliases": {
"additionalProperties": false,
"properties": {
"f32": {
"type": "number"
},
"f64": {
"type": "number"
},
"i16": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"i32": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"i64": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"i8": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"u16": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"u32": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"u64": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"u8": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"v8": {
"items": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"type": "array"
},
"vf64": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_Vec3": {
"additionalProperties": false,
"properties": {
"test1": {
"type": "number"
},
"test2": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"test3": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"type": "object"
},
"MyGame_InParentNamespace": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"MyGame_OtherNameSpace_FromInclude": {
"enum": [
"IncludeVal"
],
"type": "string"
},
"MyGame_OtherNameSpace_TableB": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/TableA"
}
},
"type": "object"
},
"MyGame_OtherNameSpace_Unused": {
"additionalProperties": false,
"properties": {
"a": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
},
"type": "object"
},
"TableA": {
"additionalProperties": false,
"properties": {
"b": {
"$ref": "#/definitions/MyGame_OtherNameSpace_TableB"
}
},
"type": "object"
}
}
} | MIT | en |
PacktPublishing/Developing-IoT-Projects-with-ESP32-2nd-edition | 756fb4dee8bbb6e899e9596f65dd4724a043986d | 2022-11-22T17:05:28 | ch4/flatbuffers_ex/components/flatbuffers/tests/arrays_test.schema.json | 84 | 2024-05-27T06:52:09.15862Z | {
"$ref": "#/definitions/MyGame_Example_ArrayTable",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"MyGame_Example_ArrayStruct": {
"additionalProperties": false,
"properties": {
"a": {
"type": "number"
},
"b": {
"items": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"maxItems": 15,
"minItems": 15,
"type": "array"
},
"c": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"d": {
"items": {
"$ref": "#/definitions/MyGame_Example_NestedStruct"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"e": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"f": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_ArrayTable": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_ArrayStruct"
}
},
"type": "object"
},
"MyGame_Example_NestedStruct": {
"additionalProperties": false,
"properties": {
"a": {
"items": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"b": {
"$ref": "#/definitions/MyGame_Example_TestEnum"
},
"c": {
"items": {
"$ref": "#/definitions/MyGame_Example_TestEnum"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"d": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_TestEnum": {
"enum": [
"A",
"B",
"C"
],
"type": "string"
}
}
} | MIT | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | cli/test_fixtures/calm/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-02/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-02/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-02/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-02/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 5f7a5fd69643b1a55a77dd1acc77f4faa572c8e0 | 2024-04-04T11:09:37 | cli/test_fixtures/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 63b3814767727c98e08a68ce4aeed3b3d723d1c5 | 2024-04-03T11:21:28 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"ref": "/interface/node-interface"
},
"source": {
"ref": "/interface/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "/interface/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-03/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 547e86ff5400570c86351aa6a95fd3aacb350a06 | 2024-03-08T09:14:33 | calm/draft/2024-03/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | c50a8f216e379a3375b6a06b01579f22abdb7d83 | 2024-04-04T10:28:51 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"ref": "/interface/node-interface"
},
"source": {
"ref": "/interface/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object"
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
],
"type": "object"
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"properties": {
"interfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"type": "string"
}
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
],
"type": "object"
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"rate-limit-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"calls": {
"type": "integer"
},
"key": {
"$ref": "#/defs/rate-limit-key"
},
"time": {
"type": "integer"
},
"time-unit": {
"$ref": "#/defs/rate-limit-time-unit"
}
},
"required": [
"key",
"time",
"time-unit",
"calls"
],
"type": "object"
},
"rate-limit-key": {
"properties": {
"key-type": {
"$ref": "#/defs/rate-limit-key-type"
},
"static-value": {
"type": "string"
}
},
"required": [
"key-type"
],
"type": "object"
},
"rate-limit-key-type": {
"enum": [
"User",
"IP",
"Global",
"Header",
"OAuth2Client"
]
},
"rate-limit-time-unit": {
"enum": [
"Seconds",
"Minutes",
"Hours"
]
},
"url-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | cli/test_fixtures/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 0960a83194b140dc56ec9f13d73a08fd506adc17 | 2024-04-04T11:09:37 | cli/test_fixtures/calm/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 478f07d14aa818050245375960f0b7183e51a85b | 2024-04-17T14:11:05 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"ref": "/interface/node-interface"
},
"source": {
"ref": "/interface/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"detailed-architecture": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | aa0cb9f291ef83d810832d25570abb8504b807de | 2024-04-17T13:54:34 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"ref": "#/defs/interface-type",
"required": [
"host",
"port"
]
},
"hostname-interface": {
"properties": {
"hostname": {
"type": "string"
}
},
"ref": "#/defs/interface-type",
"required": "hostname"
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interface": {
"type": "string"
},
"node": {
"type": "string"
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"ref": "#/defs/interface-type"
},
"path-interface": {
"properties": {
"path": {
"type": "string"
}
},
"ref": "#/defs/interface-type",
"required": "path"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"$ref": "interface.json#/defs/node-interface"
},
"source": {
"$ref": "interface.json#/defs/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"metadata": {
"items": {
"type": "object"
},
"type": "array"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"detailed-architecture": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"metadata": {
"$ref": "#/defs/metadata"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"metadata": {
"$ref": "#/defs/metadata"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"metadata": {
"$ref": "#/defs/metadata"
},
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | cli/test_fixtures/calm/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | a052a0dfd0e0c439df088f8edfd8b76d6bf42092 | 2024-04-22T13:56:03 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"$ref": "interface.json#/defs/node-interface"
},
"source": {
"$ref": "interface.json#/defs/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"detailed-architecture": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | e393dc930afad6ee924040a06205fcf792636481 | 2024-04-22T13:25:11 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
]
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
]
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interface": {
"type": "string"
},
"node": {
"type": "string"
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
]
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-04/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-04/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-04/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-04/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | cli/test_fixtures/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 547e86ff5400570c86351aa6a95fd3aacb350a06 | 2024-03-08T09:14:33 | calm/draft/2024-02/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 61f5d696630889b58a7f1928644e66df34164cc6 | 2024-04-03T11:00:16 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "/interface/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | a6a13bc59d0f56154de477d05b46dd36c6137f5e | 2024-05-03T08:58:26 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object"
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
],
"type": "object"
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"properties": {
"interfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"type": "string"
}
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
],
"type": "object"
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"rate-limit-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"calls": {
"type": "integer"
},
"key": {
"$ref": "#/defs/rate-limit-key"
},
"time": {
"type": "integer"
},
"time-unit": {
"$ref": "#/defs/rate-limit-time-unit"
}
},
"required": [
"key",
"time",
"time-unit",
"calls"
],
"type": "object"
},
"rate-limit-key": {
"properties": {
"key-type": {
"$ref": "#/defs/rate-limit-key-type"
},
"static-value": {
"type": "string"
}
},
"required": [
"key-type"
],
"type": "object"
},
"rate-limit-key-type": {
"enum": [
"User",
"IP",
"Global",
"Header",
"OAuth2Client"
]
},
"rate-limit-time-unit": {
"enum": [
"Seconds",
"Minutes",
"Hours"
]
},
"url-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 96bb023cc97d4903e247d38dc4fe9bca80a8fbaf | 2024-04-23T17:36:44 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object"
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
],
"type": "object"
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"type": "string"
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
],
"type": "object"
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"rate-limit-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"calls": {
"type": "number"
},
"key": {
"$ref": "#/defs/rate-limit-key"
},
"time": {
"type": "number"
},
"time-unit": {
"$ref": "#/defs/rate-limit-time-unit"
}
},
"required": [
"key",
"time",
"time-unit",
"calls"
],
"type": "object"
},
"rate-limit-key": {
"properties": {
"key-type": {
"$ref": "#/defs/rate-limit-key-type"
},
"static-value": {
"type": "string"
}
},
"required": [
"key-type"
],
"type": "object"
},
"rate-limit-key-type": {
"enum": [
"User",
"IP",
"Global",
"Header",
"OAuth2Client"
]
},
"rate-limit-time-unit": {
"enum": [
"Seconds",
"Minutes",
"Hours"
]
},
"url-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 63b3814767727c98e08a68ce4aeed3b3d723d1c5 | 2024-04-03T11:21:28 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"ref": "#/defs/interface-type",
"required": [
"host",
"port"
]
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interface": {
"type": "string"
},
"node": {
"type": "string"
},
"required": [
"node",
"interface"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | e393dc930afad6ee924040a06205fcf792636481 | 2024-04-22T13:25:11 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"$ref": "interface.json#/defs/interface-type"
},
"source": {
"$ref": "interface.json#/defs/interface-type"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"detailed-architecture": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | b44c9918cbb2ee5bacdd19372ccf27f507cde088 | 2024-04-23T08:19:19 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
]
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
]
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"type": "string"
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
]
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 5f7a5fd69643b1a55a77dd1acc77f4faa572c8e0 | 2024-04-04T11:09:37 | cli/test_fixtures/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 44169ce27135409150fa6c5a4269782503332df3 | 2024-04-03T11:49:47 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"ref": "#/defs/interface-type",
"required": [
"host",
"port"
]
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"interface": {
"type": "string"
},
"node": {
"type": "string"
},
"required": [
"node"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | 024d1a385cd84b0da1df358d0090830ed518546c | 2024-03-31T17:12:14 | calm/draft/2024-03/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 3ace47c9b8866bd057079a7d5dda0570ec6f8c08 | 2024-02-21T15:31:16 | calm/draft/2024-02/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-02/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 0960a83194b140dc56ec9f13d73a08fd506adc17 | 2024-04-04T11:09:37 | cli/test_fixtures/calm/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-03/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 33cc7d3f3afa67880e3c9a3254835b694b99debe | 2024-04-24T12:27:38 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object"
},
"hostname-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"hostname": {
"type": "string"
}
},
"required": [
"hostname"
],
"type": "object"
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
},
"node-interface": {
"properties": {
"interfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"type": "string"
}
},
"required": [
"node"
],
"type": "object"
},
"oauth2-audience-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"audiences": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"audiences"
],
"type": "object"
},
"path-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
},
"rate-limit-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"calls": {
"type": "number"
},
"key": {
"$ref": "#/defs/rate-limit-key"
},
"time": {
"type": "number"
},
"time-unit": {
"$ref": "#/defs/rate-limit-time-unit"
}
},
"required": [
"key",
"time",
"time-unit",
"calls"
],
"type": "object"
},
"rate-limit-key": {
"properties": {
"key-type": {
"$ref": "#/defs/rate-limit-key-type"
},
"static-value": {
"type": "string"
}
},
"required": [
"key-type"
],
"type": "object"
},
"rate-limit-key-type": {
"enum": [
"User",
"IP",
"Global",
"Header",
"OAuth2Client"
]
},
"rate-limit-time-unit": {
"enum": [
"Seconds",
"Minutes",
"Hours"
]
},
"url-interface": {
"$ref": "#/defs/interface-type",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/architecture-as-code | cd474949f49734dbec07847185808da3240e71fe | 2024-04-03T09:35:32 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | cd474949f49734dbec07847185808da3240e71fe | 2024-04-03T09:35:32 | calm/draft/2024-04/meta/calm.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$dynamicAnchor": "meta",
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/calm.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": {
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
"https://json-schema.org/draft/2020-12/vocab/content": true,
"https://json-schema.org/draft/2020-12/vocab/core": true,
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
"https://json-schema.org/draft/2020-12/vocab/validation": true,
"https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json": true
},
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"$ref": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json"
}
],
"title": "Common Architecture Language Model (CALM) Schema"
} | Apache-2.0 | en |
finos/architecture-as-code | 97ae376f2cecb9d1562a915542d6734f44287c16 | 2024-05-20T15:48:17 | calm/draft/2024-03/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-03/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"instance": {
"type": "string"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | f22ad759847fd27d4b1fcc46dc94e256907140c0 | 2024-05-09T14:00:25 | calm/draft/2024-04/meta/core.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/core.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"authentication": {
"enum": [
"Basic",
"OAuth2",
"Kerberos",
"SPNEGO",
"Certificate"
]
},
"composed-of-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"container",
"nodes"
],
"type": "object"
},
"connects-type": {
"properties": {
"destination": {
"$ref": "interface.json#/defs/node-interface"
},
"source": {
"$ref": "interface.json#/defs/node-interface"
}
},
"required": [
"source",
"destination"
],
"type": "object"
},
"data-classification": {
"enum": [
"Public",
"Confidential",
"Highly Restricted",
"MNPI",
"PII"
]
},
"deployed-in-type": {
"properties": {
"container": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"type": "object"
},
"interacts-type": {
"properties": {
"actor": {
"type": "string"
},
"nodes": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"actor",
"nodes"
],
"type": "object"
},
"metadata": {
"items": {
"type": "object"
},
"type": "array"
},
"node": {
"additionalProperties": true,
"properties": {
"data-classification": {
"$ref": "#/defs/data-classification"
},
"description": {
"type": "string"
},
"detailed-architecture": {
"type": "string"
},
"instance": {
"type": "string"
},
"interfaces": {
"items": {
"$ref": "interface.json#/defs/interface-type"
},
"type": "array"
},
"metadata": {
"$ref": "#/defs/metadata"
},
"name": {
"type": "string"
},
"node-type": {
"$ref": "#/defs/node-type-definition"
},
"run-as": {
"type": "string"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"node-type",
"name",
"description"
],
"type": "object"
},
"node-type-definition": {
"enum": [
"actor",
"system",
"service",
"database",
"internal-network",
"ldap",
"webclient"
]
},
"protocol": {
"enum": [
"HTTP",
"HTTPS",
"FTP",
"SFTP",
"JDBC",
"WebSocket",
"SocketIO",
"LDAP",
"AMQP",
"TLS",
"mTLS",
"TCP"
]
},
"relationship": {
"additionalProperties": true,
"properties": {
"authentication": {
"$ref": "#/defs/authentication"
},
"description": {
"type": "string"
},
"metadata": {
"$ref": "#/defs/metadata"
},
"protocol": {
"$ref": "#/defs/protocol"
},
"relationship-type": {
"oneOf": [
{
"required": [
"deployed-in"
]
},
{
"required": [
"composed-of"
]
},
{
"required": [
"interacts"
]
},
{
"required": [
"connects"
]
}
],
"properties": {
"composed-of": {
"$ref": "#/defs/composed-of-type"
},
"connects": {
"$ref": "#/defs/connects-type"
},
"deployed-in": {
"$ref": "#/defs/deployed-in-type"
},
"interacts": {
"$ref": "#/defs/interacts-type"
}
},
"type": "object"
},
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id",
"relationship-type"
],
"type": "object"
}
},
"properties": {
"metadata": {
"$ref": "#/defs/metadata"
},
"nodes": {
"items": {
"$ref": "#/defs/node"
},
"type": "array"
},
"relationships": {
"items": {
"$ref": "#/defs/relationship"
},
"type": "array"
}
},
"title": "Common Architecture Language Model (CALM) Vocab"
} | Apache-2.0 | en |
finos/architecture-as-code | 61f5d696630889b58a7f1928644e66df34164cc6 | 2024-04-03T11:00:16 | calm/draft/2024-04/meta/interface.json | 25 | 2024-05-27T05:52:39.018601Z | {
"$id": "https://raw.githubusercontent.com/finos-labs/architecture-as-code/main/calm/draft/2024-04/meta/interface.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"defs": {
"host-port-interface": {
"properties": {
"host": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"ref": "#/defs/interface-type",
"required": [
"host",
"port"
]
},
"interface-type": {
"properties": {
"unique-id": {
"type": "string"
}
},
"required": [
"unique-id"
],
"type": "object"
}
},
"title": "Common Architecture Language Model Interfaces"
} | Apache-2.0 | en |
finos/git-proxy | a3429d06ab58382b6633950082c8997ff242286b | 2024-04-13T13:45:30 | config.schema.json | 78 | 2024-05-28T03:04:24.218573Z | {
"$id": "https://git-proxy.finos.org/config.schema.json",
"$schema": "https://json-schema.org/draft-07/schema",
"additionalProperties": false,
"definitions": {
"authentication": {
"properties": {
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
},
"authorisedRepo": {
"properties": {
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"project",
"name",
"url"
],
"type": "object"
},
"database": {
"properties": {
"connectionString": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"params": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
}
},
"description": "Configuration for customizing git-proxy",
"properties": {
"authentication": {
"description": "List of authentication sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/authentication"
},
"type": "array"
},
"authorisedList": {
"description": "List of repositories that are authorised to be pushed to through the proxy.",
"items": {
"$ref": "#/definitions/authorisedRepo"
},
"type": "array"
},
"sink": {
"description": "List of database sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/database"
},
"type": "array"
},
"tempPassword": {
"description": "Toggle the generation of temporary password for git-proxy admin user",
"properties": {
"emailConfig": {
"description": "Generic object to configure nodemailer. For full type information, please see https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
"type": "object"
},
"sendEmail": {
"type": "boolean"
}
},
"type": "object"
}
},
"title": "Git Proxy configuration file",
"type": "object"
} | Apache-2.0 | en |
finos/git-proxy | dd10d4a8a1ed6b15675d0e4158e67f54cd9cce44 | 2023-12-10T20:39:35 | config.schema.json | 78 | 2024-05-28T03:04:24.218573Z | {
"$id": "https://git-proxy.finos.org/config.schema.json",
"$schema": "https://json-schema.org/draft-07/schema",
"additionalProperties": false,
"definitions": {
"authentication": {
"properties": {
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
},
"authorisedRepo": {
"properties": {
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"project",
"name",
"url"
],
"type": "object"
},
"database": {
"properties": {
"connectionString": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"params": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
}
},
"description": "Configuration for customizing git-proxy",
"oneOf": [
{
"properties": {
"authentication": {
"description": "List of authentication sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/authentication"
},
"type": "array"
},
"authorisedList": {
"description": "List of repositories that are authorised to be pushed to through the proxy.",
"items": {
"$ref": "#/definitions/authorisedRepo"
},
"type": "array"
},
"sink": {
"description": "List of database sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/database"
},
"type": "array"
},
"tempPassword": {
"description": "Toggle the generation of temporary password for git-proxy admin user",
"properties": {
"emailConfig": {
"description": "Generic object to configure nodemailer. For full type information, please see https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
"type": "object"
},
"sendEmail": {
"type": "boolean"
}
},
"type": "object"
}
}
}
],
"title": "Git Proxy configuration file",
"type": "object"
} | Apache-2.0 | en |
finos/git-proxy | a06f5f143b8ef9f54fcdc4d078931ef1c2c0ccd4 | 2024-04-30T15:17:26 | config.schema.json | 78 | 2024-05-28T03:04:24.218573Z | {
"$id": "https://git-proxy.finos.org/config.schema.json",
"$schema": "https://json-schema.org/draft-07/schema",
"additionalProperties": false,
"definitions": {
"authentication": {
"properties": {
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
},
"authorisedRepo": {
"properties": {
"name": {
"type": "string"
},
"project": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"project",
"name",
"url"
],
"type": "object"
},
"database": {
"properties": {
"connectionString": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"options": {
"type": "object"
},
"params": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"enabled"
],
"type": "object"
}
},
"description": "Configuration for customizing git-proxy",
"properties": {
"api": {
"description": "Third party APIs",
"type": "object"
},
"attestationConfig": {
"description": "Customisable questions to add to attestation form",
"type": "object"
},
"authentication": {
"description": "List of authentication sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/authentication"
},
"type": "array"
},
"authorisedList": {
"description": "List of repositories that are authorised to be pushed to through the proxy.",
"items": {
"$ref": "#/definitions/authorisedRepo"
},
"type": "array"
},
"commitConfig": {
"description": "Enforce rules and patterns on commits including e-mail and message",
"type": "object"
},
"contactEmail": {
"description": "Customisable e-mail address to share in proxy responses and warnings",
"type": "string"
},
"cookieSecret": {
"type": "string"
},
"csrfProtection": {
"description": "Flag to enable CSRF protections for UI",
"type": "boolean"
},
"privateOrganizations": {
"description": "Pattern searches for listed private organizations are disabled",
"type": "array"
},
"proxyUrl": {
"type": "string"
},
"sessionMaxAgeHours": {
"type": "number"
},
"sink": {
"description": "List of database sources. The first source in the configuration with enabled=true will be used.",
"items": {
"$ref": "#/definitions/database"
},
"type": "array"
},
"tempPassword": {
"description": "Toggle the generation of temporary password for git-proxy admin user",
"properties": {
"emailConfig": {
"description": "Generic object to configure nodemailer. For full type information, please see https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer",
"type": "object"
},
"sendEmail": {
"type": "boolean"
}
},
"type": "object"
},
"urlShortener": {
"description": "Customisable URL shortener to share in proxy responses and warnings",
"type": "string"
}
},
"title": "Git Proxy configuration file",
"type": "object"
} | Apache-2.0 | en |
apre-group/checkmate | d1e84c8d663bc3dd380aa5dd7a1c70fd613e598e | 2024-02-20T15:11:33 | input.schema.json | 8 | 2024-05-27T06:29:26.731042Z | {
"$defs": {
"edge": {
"description": "A specification of a child node and an action that leads to that child node in a game tree.",
"properties": {
"action": {
"description": "The action which leads to the child node.",
"type": "string"
},
"child": {
"$ref": "#/$defs/node",
"description": "The child node."
}
},
"required": [
"action",
"child"
],
"title": "Edge in a game tree",
"type": "object"
},
"node": {
"dependentSchemas": {
"children": {
"not": {
"required": [
"utility"
]
},
"required": [
"player"
]
},
"player": {
"not": {
"required": [
"utility"
]
},
"required": [
"children"
]
},
"utility": {
"not": {
"allOf": [
{
"required": [
"player"
]
},
{
"required": [
"children"
]
}
]
}
}
},
"description": "A specification of a node in a game tree.",
"minProperties": 1,
"properties": {
"children": {
"description": "The outgoing edges of a node in a game tree.",
"items": {
"$ref": "#/$defs/edge"
},
"type": "array"
},
"player": {
"description": "The name of the player whose turn it is at this point in the game.",
"type": "string"
},
"utility": {
"description": "The utility for each player of a leaf node in a game tree.",
"items": {
"$ref": "#/$defs/utility"
},
"type": "array"
}
},
"title": "Node in a game tree",
"type": "object"
},
"property_constraints": {
"description": "The constraints that must hold for the individual security properties.",
"properties": {
"collusion_resilience": {
"description": "The constraints that must hold when checking collusion resilience.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"practicality": {
"description": "The constraints that must hold when checking practicality.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"weak_immunity": {
"description": "The constraints that must hold when checking weak immunity.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"weaker_immunity": {
"description": "The constraints that must hold when checking weaker immunity.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"weaker_immunity",
"weak_immunity",
"collusion_resilience",
"practicality"
],
"title": "Property constraints",
"type": "object"
},
"utility": {
"description": "A specification of the utility for each player of a leaf node in a game tree.",
"properties": {
"player": {
"description": "The name of the player whose utility is specified.",
"type": "string"
},
"value": {
"description": "The concrete value of the utility.",
"type": [
"number",
"string"
]
}
},
"required": [
"player",
"value"
],
"title": "Utility of a leaf node in a game tree",
"type": "object"
}
},
"$id": "input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "An input instance defining an extensive form game (EFG) and initial constraints.",
"properties": {
"actions": {
"description": "The list of actions in the game.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"constants": {
"description": "The list of constant names (a name can only consist of letters, digits and underscores) occurring in the game.",
"items": {
"pattern": "^\\w+$",
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"honest_histories": {
"description": "The list of terminal histories that should be checked. A history is provided as a list of actions.",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"infinitesimals": {
"description": "The list of names for infinitesimals (a name can only consist of letters, digits and underscores) occurring in the game.",
"items": {
"pattern": "^\\w+$",
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"initial_constraints": {
"description": "The list of initial constraints that are assumed to hold (for all security properties).",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"players": {
"description": "The list of players in the game.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"property_constraints": {
"$ref": "#/$defs/property_constraints",
"description": "The constraints that must hold when considering the three security properties."
},
"tree": {
"$ref": "#/$defs/node",
"description": "The game tree."
}
},
"required": [
"players",
"actions",
"infinitesimals",
"constants",
"initial_constraints",
"property_constraints",
"honest_histories",
"tree"
],
"title": "Game-theoretic input",
"type": "object"
} | MIT | en |
apre-group/checkmate | c6e469b83ea7319872b74ca3c93d2f712576d888 | 2024-02-20T14:18:47 | input.schema.json | 8 | 2024-05-27T06:29:26.731042Z | {
"$defs": {
"edge": {
"description": "A specification of a child node and an action that leads to that child node in a game tree.",
"properties": {
"action": {
"description": "The action which leads to the child node.",
"type": "string"
},
"child": {
"$ref": "#/$defs/node",
"description": "The child node."
}
},
"required": [
"action",
"child"
],
"title": "Edge in a game tree",
"type": "object"
},
"node": {
"dependentSchemas": {
"children": {
"not": {
"required": [
"utility"
]
},
"required": [
"player"
]
},
"player": {
"not": {
"required": [
"utility"
]
},
"required": [
"children"
]
},
"utility": {
"not": {
"allOf": [
{
"required": [
"player"
]
},
{
"required": [
"children"
]
}
]
}
}
},
"description": "A specification of a node in a game tree.",
"minProperties": 1,
"properties": {
"children": {
"description": "The outgoing edges of a node in a game tree.",
"items": {
"$ref": "#/$defs/edge"
},
"type": "array"
},
"player": {
"description": "The name of the player whose turn it is at this point in the game.",
"type": "string"
},
"utility": {
"description": "The utility for each player of a leaf node in a game tree.",
"items": {
"$ref": "#/$defs/utility"
},
"type": "array"
}
},
"title": "Node in a game tree",
"type": "object"
},
"property_constraints": {
"description": "The constraints that must hold for the individual security properties.",
"properties": {
"collusion_resilience": {
"description": "The constraints that must hold when checking collusion resilience.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"practicality": {
"description": "The constraints that must hold when checking practicality.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"weak_immunity": {
"description": "The constraints that must hold when checking weak immunity.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"weaker_immunity": {
"description": "The constraints that must hold when checking weaker immunity.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"required": [
"weaker_immunity",
"weak_immunity",
"collusion_resilience",
"practicality"
],
"title": "Property constraints",
"type": "object"
},
"utility": {
"description": "A specification of the utility for each player of a leaf node in a game tree.",
"properties": {
"player": {
"description": "The name of the player whose utility is specified.",
"type": "string"
},
"value": {
"description": "The concrete value of the utility.",
"type": [
"number",
"string"
]
}
},
"required": [
"player",
"value"
],
"title": "Utility of a leaf node in a game tree",
"type": "object"
}
},
"$id": "input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "An input instance defining an extensive form game (EFG) and initial constraints.",
"properties": {
"actions": {
"description": "The list of actions in the game.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"constants": {
"description": "The list of constant names (a name can only consist of letters, digits and underscores) occurring in the game.",
"items": {
"pattern": "^\\w+$",
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"honest_histories": {
"description": "The list of terminal histories that should be checked. A history is provided as a list of actions.",
"items": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "array"
},
"infinitesimals": {
"description": "The list of names for infinitesimals (a name can only consist of letters, digits and underscores) occurring in the game.",
"items": {
"pattern": "^\\w+$",
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"initial_constraints": {
"description": "The list of initial constraints that are assumed to hold (for all security properties).",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"players": {
"description": "The list of players in the game.",
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"property_constraints": {
"$ref": "#/$defs/property_constraints",
"description": "The constraints that must hold when considering the three security properties."
},
"tree": {
"$ref": "#/$defs/node",
"description": "The game tree."
}
},
"required": [
"players",
"actions",
"infinitesimals",
"constants",
"initial_constraints",
"property_constraints",
"honest_histories",
"tree"
],
"title": "Game-theoretic input",
"type": "object"
} | MIT | en |
awslabs/aws-go-multi-module-repository-tools | fc2c7f934fc8d822dac5e7e87e5600e97085164c | 2021-09-20T20:50:34 | release/manifest_schema.json | 11 | 2024-05-28T04:03:29.75908Z | {
"$defs": {
"annotationId": {
"description": "The UUID identifier for a changelog annotation.",
"type": "string"
},
"module": {
"properties": {
"annotations": {
"description": "The changelog annotation identifiers that are associated with this module.",
"items": {
"$ref": "#/$defs/annotationId"
},
"type": "array",
"uniqueItems": true
},
"changes": {
"$ref": "#/$defs/moduleChanges",
"description": "The changes detected for this module"
},
"from": {
"$ref": "#/$defs/semver",
"description": "The modules latest version"
},
"module_path": {
"description": "The Go Module Path from the go.mod",
"type": "string"
},
"to": {
"$ref": "#/$defs/semver",
"description": "The computed next module version"
}
},
"required": [
"module_path",
"to"
]
},
"moduleChanges": {
"properties": {
"dependency_update": {
"description": "Indicates the module has changes due to one or more repository modules that it has a dependency on has been updated.",
"type": "boolean"
},
"new_module": {
"description": "Indicates the module is new and hasn't been tagged before.",
"type": "boolean"
},
"source_change": {
"description": "Changes to the module were detected via Git.",
"type": "boolean"
}
},
"type": "object"
},
"semver": {
"description": "A Go semantic version identifier.",
"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-]+)*))?$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"id": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}(\\.\\d+)?$",
"type": "string"
},
"modules": {
"patternProperties": {
"^(.*)+$": {
"$ref": "#/$defs/module"
}
},
"type": "object"
},
"tags": {
"description": "List of Go Module tags for release.",
"items": {
"$ref": "#/$defs/semver"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
} | Apache-2.0 | en |
awslabs/aws-go-multi-module-repository-tools | 4e2bd8b5ca51391be106c8db66cf07c75ff4f6f2 | 2021-11-01T16:39:49 | release/manifest_schema.json | 11 | 2024-05-28T04:03:29.75908Z | {
"$defs": {
"annotationId": {
"description": "The UUID identifier for a changelog annotation.",
"type": "string"
},
"module": {
"properties": {
"annotations": {
"description": "The changelog annotation identifiers that are associated with this module.",
"items": {
"$ref": "#/$defs/annotationId"
},
"type": "array",
"uniqueItems": true
},
"changes": {
"$ref": "#/$defs/moduleChanges",
"description": "The changes detected for this module"
},
"file_changes": {
"$ref": "#/$defs/moduleFileChanges",
"description": "The list of files that were detected as changed for this module"
},
"from": {
"$ref": "#/$defs/semver",
"description": "The modules latest version"
},
"module_path": {
"description": "The Go Module Path from the go.mod",
"type": "string"
},
"to": {
"$ref": "#/$defs/semver",
"description": "The computed next module version"
}
},
"required": [
"module_path",
"to"
]
},
"moduleChanges": {
"properties": {
"dependency_update": {
"description": "Indicates the module has changes due to one or more repository modules that it has a dependency on has been updated.",
"type": "boolean"
},
"new_module": {
"description": "Indicates the module is new and hasn't been tagged before.",
"type": "boolean"
},
"source_change": {
"description": "Changes to the module were detected via Git.",
"type": "boolean"
}
},
"type": "object"
},
"moduleFileChanges": {
"items": {
"description": "The file that changed within a module",
"type": "string"
},
"type": "array"
},
"semver": {
"description": "A Go semantic version identifier.",
"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-]+)*))?$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"id": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}(\\.\\d+)?$",
"type": "string"
},
"modules": {
"patternProperties": {
"^(.*)+$": {
"$ref": "#/$defs/module"
}
},
"type": "object"
},
"tags": {
"description": "List of Go Module tags for release.",
"items": {
"$ref": "#/$defs/semver"
},
"type": "array",
"uniqueItems": true
},
"with_release_tag": {
"type": "boolean"
}
},
"type": "object"
} | Apache-2.0 | en |
awslabs/aws-go-multi-module-repository-tools | ce00bc212843cc9010e1df0cc338c81e88966f49 | 2021-10-05T19:45:17 | release/manifest_schema.json | 11 | 2024-05-28T04:03:29.75908Z | {
"$defs": {
"annotationId": {
"description": "The UUID identifier for a changelog annotation.",
"type": "string"
},
"module": {
"properties": {
"annotations": {
"description": "The changelog annotation identifiers that are associated with this module.",
"items": {
"$ref": "#/$defs/annotationId"
},
"type": "array",
"uniqueItems": true
},
"changes": {
"$ref": "#/$defs/moduleChanges",
"description": "The changes detected for this module"
},
"file_changes": {
"$ref": "#/$defs/moduleFileChanges",
"description": "The list of files that were detected as changed for this module"
},
"from": {
"$ref": "#/$defs/semver",
"description": "The modules latest version"
},
"module_path": {
"description": "The Go Module Path from the go.mod",
"type": "string"
},
"to": {
"$ref": "#/$defs/semver",
"description": "The computed next module version"
}
},
"required": [
"module_path",
"to"
]
},
"moduleChanges": {
"properties": {
"dependency_update": {
"description": "Indicates the module has changes due to one or more repository modules that it has a dependency on has been updated.",
"type": "boolean"
},
"new_module": {
"description": "Indicates the module is new and hasn't been tagged before.",
"type": "boolean"
},
"source_change": {
"description": "Changes to the module were detected via Git.",
"type": "boolean"
}
},
"type": "object"
},
"moduleFileChanges": {
"items": {
"description": "The file that changed within a module",
"type": "string"
},
"type": "array"
},
"semver": {
"description": "A Go semantic version identifier.",
"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-]+)*))?$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"id": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}(\\.\\d+)?$",
"type": "string"
},
"modules": {
"patternProperties": {
"^(.*)+$": {
"$ref": "#/$defs/module"
}
},
"type": "object"
},
"tags": {
"description": "List of Go Module tags for release.",
"items": {
"$ref": "#/$defs/semver"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
} | Apache-2.0 | en |
awslabs/frontend-discovery | c0236772b1364e3e6c1df4ed70968e2f6b2c7b1d | 2022-08-22T08:04:45 | schema/v1-pre.json | 136 | 2024-05-27T06:33:55.748465Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"microFrontends": {
"$comment": "Map containing the microfrontends using an arbitrary descriptor such as `MFA` or `@org/mfaX`",
"additionalProperties": {
"$comment": "Array of multiple versions of a micro-frontend",
"items": [
{
"additionalProperties": false,
"properties": {
"deployment": {
"properties": {
"default": {
"$comment": "Default traffic route to be used in case of unretriable errors",
"type": "boolean"
},
"traffic": {
"$comment": "Percentage of traffic currently being served",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"required": [
"traffic",
"default"
],
"type": "object"
},
"extras": {
"$comment": "An object that can be used by framework-specific implementations to extend the configuration",
"type": "object"
},
"fallbackUrl": {
"$comment": "optional url to be used in case of a retriable error when fetching $url",
"type": "string"
},
"metadata": {
"$comment": "Object containing idempotent properties of a version",
"additionalProperties": false,
"properties": {
"integrity": {
"$comment": "String used to perform checksum",
"type": "string"
},
"version": {
"$comment": "String to define version. Does not mandate any format",
"type": "string"
}
},
"required": [
"integrity",
"version"
],
"type": "object"
},
"url": {
"$comment": "url of the entrypoint. It can be absolute or relative, and it doesn't mandate Javascript. Valid examples are `/mf.js`, `https://website.com/v1/mf.js`, `https://localhost/entry.html`",
"type": "string"
}
},
"required": [
"url",
"metadata"
],
"type": "object"
}
],
"type": "array",
"uniqueItems": true
},
"type": "object"
},
"schema": {
"$comment": "The version of the current schema such as https://github.com/awslabs/frontend-discovery/blob/main/schema/v1-pre.json",
"type": "string"
}
},
"required": [
"schema",
"microFrontends"
],
"type": "object"
} | MIT-0 | en |
UvUno/pockethold | 90c17c5c1c91f8cd19fca8a676a52f3e3e8b1960 | 2020-09-08T11:18:08 | pockethold/3rdparty/composer/res/composer-schema.json | 81 | 2024-05-28T00:53:19.912126Z | {
"$schema": "https://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"artifact-repository": {
"properties": {
"canonical": {
"type": "boolean"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"artifact"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"authors": {
"description": "List of authors that contributed to the package. This is typically the main maintainers, not the full list.",
"items": {
"additionalProperties": false,
"properties": {
"email": {
"description": "Email address of the author.",
"format": "email",
"type": "string"
},
"homepage": {
"description": "Homepage URL for the author.",
"format": "uri",
"type": "string"
},
"name": {
"description": "Full name of the author.",
"type": "string"
},
"role": {
"description": "Author's role in the project.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"autoload": {
"description": "Description of how the package can be autoloaded.",
"properties": {
"classmap": {
"description": "This is an array of directories that contain classes to be included in the class-map generation process.",
"type": "array"
},
"exclude-from-classmap": {
"description": "This is an array of patterns to exclude from autoload classmap generation. (e.g. \"exclude-from-classmap\": [\"/test/\", \"/tests/\", \"/Tests/\"]",
"type": "array"
},
"files": {
"description": "This is an array of files that are always required on every request.",
"type": "array"
},
"psr-0": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the directories they can be found in (values, can be arrays of paths) by the autoloader.",
"type": "object"
},
"psr-4": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.",
"type": "object"
}
},
"type": "object"
},
"composer-repository": {
"properties": {
"allow_ssl_downgrade": {
"type": "boolean"
},
"canonical": {
"type": "boolean"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"force-lazy-providers": {
"type": "boolean"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"options": {
"additionalProperties": true,
"type": "object"
},
"type": {
"enum": [
"composer"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"inline-package": {
"additionalProperties": true,
"properties": {
"archive": {
"properties": {
"exclude": {
"type": "array"
}
},
"type": [
"object"
]
},
"authors": {
"$ref": "#/definitions/authors"
},
"autoload": {
"$ref": "#/definitions/autoload"
},
"bin": {
"description": "A set of files, or a single file, that should be treated as binaries and symlinked into bin-dir (from config).",
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"conflict": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"description": {
"type": "string"
},
"dist": {
"properties": {
"mirrors": {
"type": "array"
},
"reference": {
"type": "string"
},
"shasum": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"extra": {
"additionalProperties": true,
"type": [
"object",
"array"
]
},
"homepage": {
"format": "uri",
"type": "string"
},
"include-path": {
"description": "DEPRECATED: A list of directories which should get added to PHP's include path. This is only present to support legacy projects, and all new code should preferably use autoloading.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"keywords": {
"items": {
"type": "string"
},
"type": "array"
},
"license": {
"type": [
"string",
"array"
]
},
"name": {
"description": "Package name, including 'vendor-name/' prefix.",
"type": "string"
},
"provide": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"replace": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"require": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"require-dev": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"source": {
"properties": {
"mirrors": {
"type": "array"
},
"reference": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url",
"reference"
],
"type": "object"
},
"suggest": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"target-dir": {
"description": "DEPRECATED: Forces the package to be installed into the given subdirectory path. This is used for autoloading PSR-0 packages that do not contain their full path. Use forward slashes for cross-platform compatibility.",
"type": "string"
},
"time": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"version"
],
"type": "object"
},
"package-repository": {
"properties": {
"canonical": {
"type": "boolean"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"package": {
"oneOf": [
{
"$ref": "#/definitions/inline-package"
},
{
"items": {
"$ref": "#/definitions/inline-package"
},
"type": "array"
}
]
},
"type": {
"enum": [
"package"
],
"type": "string"
}
},
"required": [
"type",
"package"
],
"type": "object"
},
"path-repository": {
"properties": {
"canonical": {
"type": "boolean"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"options": {
"additionalProperties": true,
"properties": {
"symlink": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"type": {
"enum": [
"path"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"pear-repository": {
"properties": {
"canonical": {
"type": "boolean"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"type": {
"enum": [
"pear"
],
"type": "string"
},
"url": {
"type": "string"
},
"vendor-alias": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"repository": {
"oneOf": [
{
"$ref": "#/definitions/composer-repository"
},
{
"$ref": "#/definitions/vcs-repository"
},
{
"$ref": "#/definitions/path-repository"
},
{
"$ref": "#/definitions/artifact-repository"
},
{
"$ref": "#/definitions/pear-repository"
},
{
"$ref": "#/definitions/package-repository"
}
],
"type": "object"
},
"vcs-repository": {
"properties": {
"branch": {
"type": "string"
},
"branches-path": {
"type": [
"string",
"boolean"
]
},
"canonical": {
"type": "boolean"
},
"depot": {
"type": "string"
},
"exclude": {
"items": {
"type": "string"
},
"type": "array"
},
"no-api": {
"type": "boolean"
},
"only": {
"items": {
"type": "string"
},
"type": "array"
},
"p4password": {
"type": "string"
},
"p4user": {
"type": "string"
},
"package-path": {
"type": "string"
},
"secure-http": {
"type": "boolean"
},
"svn-cache-credentials": {
"type": "boolean"
},
"tags-path": {
"type": [
"string",
"boolean"
]
},
"trunk-path": {
"type": [
"string",
"boolean"
]
},
"type": {
"enum": [
"vcs",
"github",
"git",
"gitlab",
"git-bitbucket",
"hg",
"hg-bitbucket",
"fossil",
"perforce",
"svn"
],
"type": "string"
},
"unique_perforce_client_name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
}
},
"name": "Package",
"properties": {
"_comment": {
"description": "A key to store comments in",
"type": [
"array",
"string"
]
},
"abandoned": {
"description": "Indicates whether this package has been abandoned, it can be boolean or a package name/URL pointing to a recommended alternative. Defaults to false.",
"type": [
"boolean",
"string"
]
},
"archive": {
"description": "Options for creating package archives for distribution.",
"properties": {
"exclude": {
"description": "A list of patterns for paths to exclude or include if prefixed with an exclamation mark.",
"type": "array"
},
"name": {
"description": "A base name for archive.",
"type": "string"
}
},
"type": [
"object"
]
},
"authors": {
"$ref": "#/definitions/authors"
},
"autoload": {
"$ref": "#/definitions/autoload"
},
"autoload-dev": {
"description": "Description of additional autoload rules for development purpose (eg. a test suite).",
"properties": {
"classmap": {
"description": "This is an array of directories that contain classes to be included in the class-map generation process.",
"type": "array"
},
"files": {
"description": "This is an array of files that are always required on every request.",
"type": "array"
},
"psr-0": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the directories they can be found into (values, can be arrays of paths) by the autoloader.",
"type": "object"
},
"psr-4": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.",
"type": "object"
}
},
"type": "object"
},
"bin": {
"description": "A set of files, or a single file, that should be treated as binaries and symlinked into bin-dir (from config).",
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"config": {
"description": "Composer options.",
"properties": {
"apcu-autoloader": {
"description": "If true, the Composer autoloader will check for APCu and use it to cache found/not-found classes when the extension is enabled, defaults to false.",
"type": "boolean"
},
"archive-dir": {
"description": "The default archive path when not provided on cli, defaults to \".\".",
"type": "string"
},
"archive-format": {
"description": "The default archiving format when not provided on cli, defaults to \"tar\".",
"type": "string"
},
"autoloader-suffix": {
"description": "Optional string to be used as a suffix for the generated Composer autoloader. When null a random one will be generated.",
"type": "string"
},
"bearer": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => bearer authentication token, for example {\"example.com\":\"<token>\"}.",
"type": "object"
},
"bin-compat": {
"description": "The compatibility of the binaries, defaults to \"auto\" (automatically guessed) and can be \"full\" (compatible with both Windows and Unix-based systems).",
"enum": [
"auto",
"full"
]
},
"bin-dir": {
"description": "The location where all binaries are linked, defaults to \"vendor/bin\".",
"type": "string"
},
"cache-dir": {
"description": "The location where all caches are located, defaults to \"~/.composer/cache\" on *nix and \"%LOCALAPPDATA%\\Composer\" on windows.",
"type": "string"
},
"cache-files-dir": {
"description": "The location where files (zip downloads) are cached, defaults to \"{$cache-dir}/files\".",
"type": "string"
},
"cache-files-maxsize": {
"description": "The cache max size for the files cache, defaults to \"300MiB\".",
"type": [
"string",
"integer"
]
},
"cache-files-ttl": {
"description": "The cache time-to-live for files, defaults to the value of cache-ttl.",
"type": "integer"
},
"cache-repo-dir": {
"description": "The location where repo (git/hg repo clones) are cached, defaults to \"{$cache-dir}/repo\".",
"type": "string"
},
"cache-ttl": {
"description": "The default cache time-to-live, defaults to 15552000 (6 months).",
"type": "integer"
},
"cache-vcs-dir": {
"description": "The location where vcs infos (git clones, github api calls, etc. when reading vcs repos) are cached, defaults to \"{$cache-dir}/vcs\".",
"type": "string"
},
"cafile": {
"description": "A way to set the path to the openssl CA file. In PHP 5.6+ you should rather set this via openssl.cafile in php.ini, although PHP 5.6+ should be able to detect your system CA file automatically.",
"type": "string"
},
"capath": {
"description": "If cafile is not specified or if the certificate is not found there, the directory pointed to by capath is searched for a suitable certificate. capath must be a correctly hashed certificate directory.",
"type": "string"
},
"classmap-authoritative": {
"description": "If true, the composer autoloader will not scan the filesystem for classes that are not found in the class map, defaults to false.",
"type": "boolean"
},
"data-dir": {
"description": "The location where old phar files are stored, defaults to \"$home\" except on XDG Base Directory compliant unixes.",
"type": "string"
},
"disable-tls": {
"description": "Defaults to `false`. If set to true all HTTPS URLs will be tried with HTTP instead and no network level encryption is performed. Enabling this is a security risk and is NOT recommended. The better way is to enable the php_openssl extension in php.ini.",
"type": "boolean"
},
"discard-changes": {
"description": "The default style of handling dirty updates, defaults to false and can be any of true, false or \"stash\".",
"type": [
"string",
"boolean"
]
},
"github-domains": {
"description": "A list of domains to use in github mode. This is used for GitHub Enterprise setups, defaults to [\"github.com\"].",
"items": {
"type": "string"
},
"type": "array"
},
"github-expose-hostname": {
"description": "Defaults to true. If set to false, the OAuth tokens created to access the github API will have a date instead of the machine hostname.",
"type": "boolean"
},
"github-oauth": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => github API oauth tokens, typically {\"github.com\":\"<token>\"}.",
"type": "object"
},
"github-protocols": {
"description": "A list of protocols to use for github.com clones, in priority order, defaults to [\"git\", \"https\", \"http\"].",
"items": {
"type": "string"
},
"type": "array"
},
"gitlab-domains": {
"description": "A list of domains to use in gitlab mode. This is used for custom GitLab setups, defaults to [\"gitlab.com\"].",
"items": {
"type": "string"
},
"type": "array"
},
"gitlab-oauth": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":\"<token>\"}.",
"type": "object"
},
"gitlab-token": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}.",
"type": "object"
},
"htaccess-protect": {
"description": "Defaults to true. If set to false, Composer will not create .htaccess files in the composer home, cache, and data directories.",
"type": "boolean"
},
"http-basic": {
"additionalProperties": {
"properties": {
"password": {
"description": "The password used for HTTP Basic authentication",
"type": "string"
},
"username": {
"description": "The username used for HTTP Basic authentication",
"type": "string"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"description": "A hash of domain name => {\"username\": \"...\", \"password\": \"...\"}.",
"type": "object"
},
"lock": {
"description": "Defaults to true. If set to false, Composer will not create a composer.lock file.",
"type": "boolean"
},
"notify-on-install": {
"description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true.",
"type": "boolean"
},
"optimize-autoloader": {
"description": "Always optimize when dumping the autoloader.",
"type": "boolean"
},
"platform": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version (values) that will be used to mock the platform packages on this machine.",
"type": "object"
},
"platform-check": {
"description": "Defaults to true. If set to false, Composer will not create and require a platform_check.php file as part of the autoloader bootstrap.",
"type": "boolean"
},
"preferred-install": {
"description": "The install method Composer will prefer to use, defaults to auto and can be any of source, dist, auto, or a hash of {\"pattern\": \"preference\"}.",
"type": [
"string",
"object"
]
},
"prepend-autoloader": {
"description": "If false, the composer autoloader will not be prepended to existing autoloaders, defaults to true.",
"type": "boolean"
},
"process-timeout": {
"description": "The timeout in seconds for process executions, defaults to 300 (5mins).",
"type": "integer"
},
"secure-http": {
"description": "Defaults to `true`. If set to true only HTTPS URLs are allowed to be downloaded via Composer. If you really absolutely need HTTP access to something then you can disable it, but using \"Let's Encrypt\" to get a free SSL certificate is generally a better alternative.",
"type": "boolean"
},
"sort-packages": {
"description": "Defaults to false. If set to true, Composer will sort packages when adding/updating a new dependency.",
"type": "boolean"
},
"store-auths": {
"description": "What to do after prompting for authentication, one of: true (store), false (do not store) or \"prompt\" (ask every time), defaults to prompt.",
"type": [
"string",
"boolean"
]
},
"use-github-api": {
"description": "Defaults to true. If set to false, globally disables the use of the GitHub API for all GitHub repositories and clones the repository as it would for any other repository.",
"type": "boolean"
},
"use-include-path": {
"description": "If true, the Composer autoloader will also look for classes in the PHP include path.",
"type": "boolean"
},
"vendor-dir": {
"description": "The location where all packages are installed, defaults to \"vendor\".",
"type": "string"
}
},
"type": "object"
},
"conflict": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that conflict with this package.",
"type": "object"
},
"default-branch": {
"description": "Internal use only, do not specify this in composer.json. Indicates whether this version is the default branch of the linked VCS repository. Defaults to false.",
"type": [
"boolean"
]
},
"description": {
"description": "Short package description.",
"type": "string"
},
"extra": {
"additionalProperties": true,
"description": "Arbitrary extra data that can be used by plugins, for example, package of type composer-plugin may have a 'class' key defining an installer class name.",
"type": [
"object",
"array"
]
},
"funding": {
"description": "A list of options to fund the development and maintenance of the package.",
"items": {
"properties": {
"type": {
"description": "Type of funding or platform through which funding is possible.",
"type": "string"
},
"url": {
"description": "URL to a website with details on funding and a way to fund the package.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"homepage": {
"description": "Homepage URL for the project.",
"format": "uri",
"type": "string"
},
"include-path": {
"description": "DEPRECATED: A list of directories which should get added to PHP's include path. This is only present to support legacy projects, and all new code should preferably use autoloading.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"keywords": {
"items": {
"description": "A tag/keyword that this package relates to.",
"type": "string"
},
"type": "array"
},
"license": {
"description": "License name. Or an array of license names.",
"type": [
"string",
"array"
]
},
"minimum-stability": {
"description": "The minimum stability the packages must have to be install-able. Possible values are: dev, alpha, beta, RC, stable.",
"pattern": "^dev|alpha|beta|rc|RC|stable$",
"type": [
"string"
]
},
"name": {
"description": "Package name, including 'vendor-name/' prefix.",
"pattern": "^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$",
"type": "string"
},
"non-feature-branches": {
"description": "A set of string or regex patterns for non-numeric branch names that will not be handled as feature branches.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"prefer-stable": {
"description": "If set to true, stable packages will be preferred to dev packages when possible, even if the minimum-stability allows unstable packages.",
"type": [
"boolean"
]
},
"provide": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that this package provides in addition to this package's name.",
"type": "object"
},
"readme": {
"description": "Relative path to the readme document.",
"type": "string"
},
"replace": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that can be replaced by this package.",
"type": "object"
},
"repositories": {
"additionalProperties": {
"oneOf": [
{
"$ref": "#/definitions/repository"
},
{
"enum": [
false
],
"type": "boolean"
}
]
},
"description": "A set of additional repositories where packages can be found.",
"items": {
"oneOf": [
{
"$ref": "#/definitions/repository"
},
{
"additionalProperties": {
"enum": [
false
],
"type": "boolean"
},
"maxProperties": 1,
"minProperties": 1,
"type": "object"
}
]
},
"type": [
"object",
"array"
]
},
"require": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that are required to run this package.",
"type": "object"
},
"require-dev": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).",
"type": "object"
},
"scripts": {
"description": "Script listeners that will be executed before/after some events.",
"properties": {
"post-autoload-dump": {
"description": "Occurs after the autoloader is dumped, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-create-project-cmd": {
"description": "Occurs after the create-project command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-install-cmd": {
"description": "Occurs after the install command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-install": {
"description": "Occurs after a package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-uninstall": {
"description": "Occurs after a package has been uninstalled, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-update": {
"description": "Occurs after a package is updated, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-root-package-install": {
"description": "Occurs after the root-package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-status-cmd": {
"description": "Occurs after the status command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-update-cmd": {
"description": "Occurs after the update command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-autoload-dump": {
"description": "Occurs before the autoloader is dumped, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-install-cmd": {
"description": "Occurs before the install command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-install": {
"description": "Occurs before a package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-uninstall": {
"description": "Occurs before a package has been uninstalled, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-update": {
"description": "Occurs before a package is updated, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-status-cmd": {
"description": "Occurs before the status command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-update-cmd": {
"description": "Occurs before the update command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
}
},
"type": [
"object"
]
},
"scripts-descriptions": {
"additionalProperties": {
"type": "string"
},
"description": "Descriptions for custom commands, shown in console help.",
"type": [
"object"
]
},
"suggest": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and descriptions (values) that this package suggests work well with it (this will be suggested to the user during installation).",
"type": "object"
},
"support": {
"properties": {
"chat": {
"description": "URL to the support chat.",
"format": "uri",
"type": "string"
},
"docs": {
"description": "URL to the documentation.",
"format": "uri",
"type": "string"
},
"email": {
"description": "Email address for support.",
"format": "email",
"type": "string"
},
"forum": {
"description": "URL to the forum.",
"format": "uri",
"type": "string"
},
"irc": {
"description": "IRC channel for support, as irc://server/channel.",
"format": "uri",
"type": "string"
},
"issues": {
"description": "URL to the issue tracker.",
"format": "uri",
"type": "string"
},
"rss": {
"description": "URL to the RSS feed.",
"format": "uri",
"type": "string"
},
"source": {
"description": "URL to browse or download the sources.",
"format": "uri",
"type": "string"
},
"wiki": {
"description": "URL to the wiki.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"target-dir": {
"description": "DEPRECATED: Forces the package to be installed into the given subdirectory path. This is used for autoloading PSR-0 packages that do not contain their full path. Use forward slashes for cross-platform compatibility.",
"type": "string"
},
"time": {
"description": "Package release date, in 'YYYY-MM-DD', 'YYYY-MM-DD HH:MM:SS' or 'YYYY-MM-DDTHH:MM:SSZ' format.",
"type": "string"
},
"type": {
"description": "Package type, either 'library' for common packages, 'composer-plugin' for plugins, 'metapackage' for empty packages, or a custom type ([a-z0-9-]+) defined by whatever project this package applies to.",
"pattern": "^[a-z0-9-]+$",
"type": "string"
},
"version": {
"description": "Package version, see https://getcomposer.org/doc/04-schema.md#version for more info on valid schemes.",
"pattern": "^v?\\d+(((\\.\\d+)?\\.\\d+)?\\.\\d+)?|^dev-",
"type": "string"
}
},
"required": [
"name",
"description"
],
"type": "object"
} | MIT | en |
UvUno/pockethold | 0fa832c86b571d03e42e7a74b19a607b5b3bf0aa | 2018-12-16T15:50:23 | pockethold/3rdparty/composer/res/composer-repository-schema.json | 81 | 2024-05-28T00:53:19.912126Z | {
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"metapackage": {
"allOf": [
{
"$ref": "#/definitions/package-base"
},
{
"properties": {
"type": {
"enum": [
"metapackage"
],
"type": "string"
}
},
"required": [
"name",
"version",
"type"
]
}
]
},
"package": {
"allOf": [
{
"$ref": "#/definitions/package-base"
},
{
"properties": {
"dist": {
"type": "object"
},
"source": {
"type": "object"
}
}
},
{
"oneOf": [
{
"required": [
"name",
"version",
"source"
]
},
{
"required": [
"name",
"version",
"dist"
]
}
]
}
]
},
"package-base": {
"additionalProperties": true,
"properties": {
"autoload": {
"type": "object"
},
"conflict": {
"type": "object"
},
"name": {
"type": "string"
},
"provide": {
"type": "object"
},
"replace": {
"type": "object"
},
"require": {
"type": "object"
},
"time": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "string"
},
"version_normalized": {
"description": "Normalized version, optional but can save computational time on client side.",
"type": "string"
}
}
},
"provider": {
"properties": {
"sha256": {
"description": "Hash value that can be used to validate the resource.",
"type": "string"
}
},
"type": "object"
},
"version": {
"oneOf": [
{
"$ref": "#/definitions/package"
},
{
"$ref": "#/definitions/metapackage"
}
],
"type": "object"
},
"versions": {
"additionalProperties": {
"$ref": "#/definitions/version"
},
"description": "A hashmap of versions and their metadata.",
"type": "object"
}
},
"description": "A representation of packages metadata.",
"oneOf": [
{
"required": [
"packages"
]
},
{
"required": [
"providers"
]
},
{
"required": [
"provider-includes",
"providers-url"
]
}
],
"properties": {
"notify-batch": {
"description": "Endpoint to call after multiple packages have been installed, e.g. '/downloads/'.",
"type": "string"
},
"packages": {
"additionalProperties": {
"$ref": "#/definitions/versions"
},
"description": "A hashmap of package names in the form of <vendor>/<name>.",
"type": [
"object",
"array"
]
},
"provider-includes": {
"additionalProperties": {
"$ref": "#/definitions/provider"
},
"description": "A hashmap of provider listings.",
"type": "object"
},
"providers": {
"additionalProperties": {
"$ref": "#/definitions/provider"
},
"description": "A hashmap of package names in the form of <vendor>/<name>.",
"type": "object"
},
"providers-url": {
"description": "Endpoint to retrieve provider data from, e.g. '/p/%package%$%hash%.json'.",
"type": "string"
},
"search": {
"description": "Endpoint that provides search capabilities, e.g. '/search.json?q=%query%&type=%type%'.",
"type": "string"
},
"warning": {
"description": "A message that will be output by Composer as a warning when this source is consulted.",
"type": "string"
}
},
"type": "object"
} | MIT | en |
UvUno/pockethold | 0fa832c86b571d03e42e7a74b19a607b5b3bf0aa | 2018-12-16T15:50:23 | pockethold/3rdparty/composer/res/composer-schema.json | 81 | 2024-05-28T00:53:19.912126Z | {
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"artifact-repository": {
"properties": {
"type": {
"enum": [
"artifact"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"authors": {
"description": "List of authors that contributed to the package. This is typically the main maintainers, not the full list.",
"items": {
"additionalProperties": false,
"properties": {
"email": {
"description": "Email address of the author.",
"format": "email",
"type": "string"
},
"homepage": {
"description": "Homepage URL for the author.",
"format": "uri",
"type": "string"
},
"name": {
"description": "Full name of the author.",
"type": "string"
},
"role": {
"description": "Author's role in the project.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"autoload": {
"description": "Description of how the package can be autoloaded.",
"properties": {
"classmap": {
"description": "This is an array of directories that contain classes to be included in the class-map generation process.",
"type": "array"
},
"exclude-from-classmap": {
"description": "This is an array of patterns to exclude from autoload classmap generation. (e.g. \"exclude-from-classmap\": [\"/test/\", \"/tests/\", \"/Tests/\"]",
"type": "array"
},
"files": {
"description": "This is an array of files that are always required on every request.",
"type": "array"
},
"psr-0": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the directories they can be found in (values, can be arrays of paths) by the autoloader.",
"type": "object"
},
"psr-4": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.",
"type": "object"
}
},
"type": "object"
},
"composer-repository": {
"properties": {
"allow_ssl_downgrade": {
"type": "boolean"
},
"force-lazy-providers": {
"type": "boolean"
},
"options": {
"additionalProperties": true,
"type": "object"
},
"type": {
"enum": [
"composer"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"inline-package": {
"additionalProperties": true,
"properties": {
"archive": {
"properties": {
"exclude": {
"type": "array"
}
},
"type": [
"object"
]
},
"authors": {
"$ref": "#/definitions/authors"
},
"autoload": {
"$ref": "#/definitions/autoload"
},
"bin": {
"description": "A set of files, or a single file, that should be treated as binaries and symlinked into bin-dir (from config).",
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"conflict": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"description": {
"type": "string"
},
"dist": {
"properties": {
"mirrors": {
"type": "array"
},
"reference": {
"type": "string"
},
"shasum": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"extra": {
"additionalProperties": true,
"type": [
"object",
"array"
]
},
"homepage": {
"format": "uri",
"type": "string"
},
"include-path": {
"description": "DEPRECATED: A list of directories which should get added to PHP's include path. This is only present to support legacy projects, and all new code should preferably use autoloading.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"keywords": {
"items": {
"type": "string"
},
"type": "array"
},
"license": {
"type": [
"string",
"array"
]
},
"name": {
"description": "Package name, including 'vendor-name/' prefix.",
"type": "string"
},
"provide": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"replace": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"require": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"require-dev": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"source": {
"properties": {
"mirrors": {
"type": "array"
},
"reference": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url",
"reference"
],
"type": "object"
},
"suggest": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"target-dir": {
"description": "DEPRECATED: Forces the package to be installed into the given subdirectory path. This is used for autoloading PSR-0 packages that do not contain their full path. Use forward slashes for cross-platform compatibility.",
"type": "string"
},
"time": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"version"
],
"type": "object"
},
"package-repository": {
"properties": {
"package": {
"oneOf": [
{
"$ref": "#/definitions/inline-package"
},
{
"items": {
"$ref": "#/definitions/inline-package"
},
"type": "array"
}
]
},
"type": {
"enum": [
"package"
],
"type": "string"
}
},
"required": [
"type",
"package"
],
"type": "object"
},
"path-repository": {
"properties": {
"options": {
"additionalProperties": true,
"properties": {
"symlink": {
"type": [
"boolean",
"null"
]
}
},
"type": "object"
},
"type": {
"enum": [
"path"
],
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"pear-repository": {
"properties": {
"type": {
"enum": [
"pear"
],
"type": "string"
},
"url": {
"type": "string"
},
"vendor-alias": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"repository": {
"oneOf": [
{
"$ref": "#/definitions/composer-repository"
},
{
"$ref": "#/definitions/vcs-repository"
},
{
"$ref": "#/definitions/path-repository"
},
{
"$ref": "#/definitions/artifact-repository"
},
{
"$ref": "#/definitions/pear-repository"
},
{
"$ref": "#/definitions/package-repository"
}
],
"type": "object"
},
"vcs-repository": {
"properties": {
"branch": {
"type": "string"
},
"branches-path": {
"type": [
"string",
"boolean"
]
},
"depot": {
"type": "string"
},
"no-api": {
"type": "boolean"
},
"p4password": {
"type": "string"
},
"p4user": {
"type": "string"
},
"package-path": {
"type": "string"
},
"secure-http": {
"type": "boolean"
},
"svn-cache-credentials": {
"type": "boolean"
},
"tags-path": {
"type": [
"string",
"boolean"
]
},
"trunk-path": {
"type": [
"string",
"boolean"
]
},
"type": {
"enum": [
"vcs",
"github",
"git",
"gitlab",
"git-bitbucket",
"hg",
"hg-bitbucket",
"fossil",
"perforce",
"svn"
],
"type": "string"
},
"unique_perforce_client_name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
}
},
"name": "Package",
"properties": {
"_comment": {
"description": "A key to store comments in",
"type": [
"array",
"string"
]
},
"abandoned": {
"description": "Indicates whether this package has been abandoned, it can be boolean or a package name/URL pointing to a recommended alternative. Defaults to false.",
"type": [
"boolean",
"string"
]
},
"archive": {
"description": "Options for creating package archives for distribution.",
"properties": {
"exclude": {
"description": "A list of patterns for paths to exclude or include if prefixed with an exclamation mark.",
"type": "array"
}
},
"type": [
"object"
]
},
"authors": {
"$ref": "#/definitions/authors"
},
"autoload": {
"$ref": "#/definitions/autoload"
},
"autoload-dev": {
"description": "Description of additional autoload rules for development purpose (eg. a test suite).",
"properties": {
"classmap": {
"description": "This is an array of directories that contain classes to be included in the class-map generation process.",
"type": "array"
},
"files": {
"description": "This is an array of files that are always required on every request.",
"type": "array"
},
"psr-0": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the directories they can be found into (values, can be arrays of paths) by the autoloader.",
"type": "object"
},
"psr-4": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"description": "This is a hash of namespaces (keys) and the PSR-4 directories they can map to (values, can be arrays of paths) by the autoloader.",
"type": "object"
}
},
"type": "object"
},
"bin": {
"description": "A set of files, or a single file, that should be treated as binaries and symlinked into bin-dir (from config).",
"items": {
"type": "string"
},
"type": [
"string",
"array"
]
},
"config": {
"description": "Composer options.",
"properties": {
"apcu-autoloader": {
"description": "If true, the Composer autoloader will check for APCu and use it to cache found/not-found classes when the extension is enabled, defaults to false.",
"type": "boolean"
},
"archive-dir": {
"description": "The default archive path when not provided on cli, defaults to \".\".",
"type": "string"
},
"archive-format": {
"description": "The default archiving format when not provided on cli, defaults to \"tar\".",
"type": "string"
},
"autoloader-suffix": {
"description": "Optional string to be used as a suffix for the generated Composer autoloader. When null a random one will be generated.",
"type": "string"
},
"bin-compat": {
"description": "The compatibility of the binaries, defaults to \"auto\" (automatically guessed) and can be \"full\" (compatible with both Windows and Unix-based systems).",
"enum": [
"auto",
"full"
]
},
"bin-dir": {
"description": "The location where all binaries are linked, defaults to \"vendor/bin\".",
"type": "string"
},
"cache-dir": {
"description": "The location where all caches are located, defaults to \"~/.composer/cache\" on *nix and \"%LOCALAPPDATA%\\Composer\" on windows.",
"type": "string"
},
"cache-files-dir": {
"description": "The location where files (zip downloads) are cached, defaults to \"{$cache-dir}/files\".",
"type": "string"
},
"cache-files-maxsize": {
"description": "The cache max size for the files cache, defaults to \"300MiB\".",
"type": [
"string",
"integer"
]
},
"cache-files-ttl": {
"description": "The cache time-to-live for files, defaults to the value of cache-ttl.",
"type": "integer"
},
"cache-repo-dir": {
"description": "The location where repo (git/hg repo clones) are cached, defaults to \"{$cache-dir}/repo\".",
"type": "string"
},
"cache-ttl": {
"description": "The default cache time-to-live, defaults to 15552000 (6 months).",
"type": "integer"
},
"cache-vcs-dir": {
"description": "The location where vcs infos (git clones, github api calls, etc. when reading vcs repos) are cached, defaults to \"{$cache-dir}/vcs\".",
"type": "string"
},
"cafile": {
"description": "A way to set the path to the openssl CA file. In PHP 5.6+ you should rather set this via openssl.cafile in php.ini, although PHP 5.6+ should be able to detect your system CA file automatically.",
"type": "string"
},
"capath": {
"description": "If cafile is not specified or if the certificate is not found there, the directory pointed to by capath is searched for a suitable certificate. capath must be a correctly hashed certificate directory.",
"type": "string"
},
"classmap-authoritative": {
"description": "If true, the composer autoloader will not scan the filesystem for classes that are not found in the class map, defaults to false.",
"type": "boolean"
},
"data-dir": {
"description": "The location where old phar files are stored, defaults to \"$home\" except on XDG Base Directory compliant unixes.",
"type": "string"
},
"disable-tls": {
"description": "Defaults to `false`. If set to true all HTTPS URLs will be tried with HTTP instead and no network level encryption is performed. Enabling this is a security risk and is NOT recommended. The better way is to enable the php_openssl extension in php.ini.",
"type": "boolean"
},
"discard-changes": {
"description": "The default style of handling dirty updates, defaults to false and can be any of true, false or \"stash\".",
"type": [
"string",
"boolean"
]
},
"github-domains": {
"description": "A list of domains to use in github mode. This is used for GitHub Enterprise setups, defaults to [\"github.com\"].",
"items": {
"type": "string"
},
"type": "array"
},
"github-expose-hostname": {
"description": "Defaults to true. If set to false, the OAuth tokens created to access the github API will have a date instead of the machine hostname.",
"type": "boolean"
},
"github-oauth": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => github API oauth tokens, typically {\"github.com\":\"<token>\"}.",
"type": "object"
},
"github-protocols": {
"description": "A list of protocols to use for github.com clones, in priority order, defaults to [\"git\", \"https\", \"http\"].",
"items": {
"type": "string"
},
"type": "array"
},
"gitlab-domains": {
"description": "A list of domains to use in gitlab mode. This is used for custom GitLab setups, defaults to [\"gitlab.com\"].",
"items": {
"type": "string"
},
"type": "array"
},
"gitlab-oauth": {
"additionalProperties": {
"type": "string"
},
"description": "A hash of domain name => gitlab API oauth tokens, typically {\"gitlab.com\":\"<token>\"}.",
"type": "object"
},
"gitlab-token": {
"additionalProperties": true,
"description": "A hash of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}.",
"type": "object"
},
"htaccess-protect": {
"description": "Defaults to true. If set to false, Composer will not create .htaccess files in the composer home, cache, and data directories.",
"type": "boolean"
},
"http-basic": {
"additionalProperties": {
"properties": {
"password": {
"description": "The password used for HTTP Basic authentication",
"type": "string"
},
"username": {
"description": "The username used for HTTP Basic authentication",
"type": "string"
}
},
"required": [
"username",
"password"
],
"type": "object"
},
"description": "A hash of domain name => {\"username\": \"...\", \"password\": \"...\"}.",
"type": "object"
},
"notify-on-install": {
"description": "Composer allows repositories to define a notification URL, so that they get notified whenever a package from that repository is installed. This option allows you to disable that behaviour, defaults to true.",
"type": "boolean"
},
"optimize-autoloader": {
"description": "Always optimize when dumping the autoloader.",
"type": "boolean"
},
"platform": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version (values) that will be used to mock the platform packages on this machine.",
"type": "object"
},
"preferred-install": {
"description": "The install method Composer will prefer to use, defaults to auto and can be any of source, dist, auto, or a hash of {\"pattern\": \"preference\"}.",
"type": [
"string",
"object"
]
},
"prepend-autoloader": {
"description": "If false, the composer autoloader will not be prepended to existing autoloaders, defaults to true.",
"type": "boolean"
},
"process-timeout": {
"description": "The timeout in seconds for process executions, defaults to 300 (5mins).",
"type": "integer"
},
"secure-http": {
"description": "Defaults to `true`. If set to true only HTTPS URLs are allowed to be downloaded via Composer. If you really absolutely need HTTP access to something then you can disable it, but using \"Let's Encrypt\" to get a free SSL certificate is generally a better alternative.",
"type": "boolean"
},
"sort-packages": {
"description": "Defaults to false. If set to true, Composer will sort packages when adding/updating a new dependency.",
"type": "boolean"
},
"store-auths": {
"description": "What to do after prompting for authentication, one of: true (store), false (do not store) or \"prompt\" (ask every time), defaults to prompt.",
"type": [
"string",
"boolean"
]
},
"use-include-path": {
"description": "If true, the Composer autoloader will also look for classes in the PHP include path.",
"type": "boolean"
},
"vendor-dir": {
"description": "The location where all packages are installed, defaults to \"vendor\".",
"type": "string"
}
},
"type": "object"
},
"conflict": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that conflict with this package.",
"type": "object"
},
"description": {
"description": "Short package description.",
"type": "string"
},
"extra": {
"additionalProperties": true,
"description": "Arbitrary extra data that can be used by plugins, for example, package of type composer-plugin may have a 'class' key defining an installer class name.",
"type": [
"object",
"array"
]
},
"homepage": {
"description": "Homepage URL for the project.",
"format": "uri",
"type": "string"
},
"include-path": {
"description": "DEPRECATED: A list of directories which should get added to PHP's include path. This is only present to support legacy projects, and all new code should preferably use autoloading.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"keywords": {
"items": {
"description": "A tag/keyword that this package relates to.",
"type": "string"
},
"type": "array"
},
"license": {
"description": "License name. Or an array of license names.",
"type": [
"string",
"array"
]
},
"minimum-stability": {
"description": "The minimum stability the packages must have to be install-able. Possible values are: dev, alpha, beta, RC, stable.",
"pattern": "^dev|alpha|beta|rc|RC|stable$",
"type": [
"string"
]
},
"name": {
"description": "Package name, including 'vendor-name/' prefix.",
"type": "string"
},
"non-feature-branches": {
"description": "A set of string or regex patterns for non-numeric branch names that will not be handled as feature branches.",
"items": {
"type": "string"
},
"type": [
"array"
]
},
"prefer-stable": {
"description": "If set to true, stable packages will be preferred to dev packages when possible, even if the minimum-stability allows unstable packages.",
"type": [
"boolean"
]
},
"provide": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that this package provides in addition to this package's name.",
"type": "object"
},
"readme": {
"description": "Relative path to the readme document.",
"type": "string"
},
"replace": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that can be replaced by this package.",
"type": "object"
},
"repositories": {
"additionalProperties": {
"oneOf": [
{
"$ref": "#/definitions/repository"
},
{
"enum": [
false
],
"type": "boolean"
}
]
},
"description": "A set of additional repositories where packages can be found.",
"items": {
"oneOf": [
{
"$ref": "#/definitions/repository"
},
{
"additionalProperties": {
"enum": [
false
],
"type": "boolean"
},
"maxProperties": 1,
"minProperties": 1,
"type": "object"
}
]
},
"type": [
"object",
"array"
]
},
"require": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that are required to run this package.",
"type": "object"
},
"require-dev": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).",
"type": "object"
},
"scripts": {
"description": "Script listeners that will be executed before/after some events.",
"properties": {
"post-autoload-dump": {
"description": "Occurs after the autoloader is dumped, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-create-project-cmd": {
"description": "Occurs after the create-project command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-install-cmd": {
"description": "Occurs after the install command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-install": {
"description": "Occurs after a package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-uninstall": {
"description": "Occurs after a package has been uninstalled, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-package-update": {
"description": "Occurs after a package is updated, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-root-package-install": {
"description": "Occurs after the root-package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-status-cmd": {
"description": "Occurs after the status command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"post-update-cmd": {
"description": "Occurs after the update command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-autoload-dump": {
"description": "Occurs before the autoloader is dumped, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-install-cmd": {
"description": "Occurs before the install command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-install": {
"description": "Occurs before a package is installed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-uninstall": {
"description": "Occurs before a package has been uninstalled, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-package-update": {
"description": "Occurs before a package is updated, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-status-cmd": {
"description": "Occurs before the status command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
},
"pre-update-cmd": {
"description": "Occurs before the update command is executed, contains one or more Class::method callables or shell commands.",
"type": [
"array",
"string"
]
}
},
"type": [
"object"
]
},
"scripts-descriptions": {
"additionalProperties": {
"type": "string"
},
"description": "Descriptions for custom commands, shown in console help.",
"type": [
"object"
]
},
"suggest": {
"additionalProperties": {
"type": "string"
},
"description": "This is a hash of package name (keys) and descriptions (values) that this package suggests work well with it (this will be suggested to the user during installation).",
"type": "object"
},
"support": {
"properties": {
"docs": {
"description": "URL to the documentation.",
"format": "uri",
"type": "string"
},
"email": {
"description": "Email address for support.",
"format": "email",
"type": "string"
},
"forum": {
"description": "URL to the forum.",
"format": "uri",
"type": "string"
},
"irc": {
"description": "IRC channel for support, as irc://server/channel.",
"format": "uri",
"type": "string"
},
"issues": {
"description": "URL to the issue tracker.",
"format": "uri",
"type": "string"
},
"rss": {
"description": "URL to the RSS feed.",
"format": "uri",
"type": "string"
},
"source": {
"description": "URL to browse or download the sources.",
"format": "uri",
"type": "string"
},
"wiki": {
"description": "URL to the wiki.",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"target-dir": {
"description": "DEPRECATED: Forces the package to be installed into the given subdirectory path. This is used for autoloading PSR-0 packages that do not contain their full path. Use forward slashes for cross-platform compatibility.",
"type": "string"
},
"time": {
"description": "Package release date, in 'YYYY-MM-DD', 'YYYY-MM-DD HH:MM:SS' or 'YYYY-MM-DDTHH:MM:SSZ' format.",
"type": "string"
},
"type": {
"description": "Package type, either 'library' for common packages, 'composer-plugin' for plugins, 'metapackage' for empty packages, or a custom type ([a-z0-9-]+) defined by whatever project this package applies to.",
"type": "string"
},
"version": {
"description": "Package version, see https://getcomposer.org/doc/04-schema.md#version for more info on valid schemes.",
"type": "string"
}
},
"required": [
"name",
"description"
],
"type": "object"
} | MIT | en |
UvUno/pockethold | 90c17c5c1c91f8cd19fca8a676a52f3e3e8b1960 | 2020-09-08T11:18:08 | pockethold/3rdparty/composer/res/composer-repository-schema.json | 81 | 2024-05-28T00:53:19.912126Z | {
"$schema": "https://json-schema.org/draft-04/schema#",
"definitions": {
"metapackage": {
"allOf": [
{
"$ref": "#/definitions/package-base"
},
{
"properties": {
"type": {
"enum": [
"metapackage"
],
"type": "string"
}
},
"required": [
"name",
"version",
"type"
]
}
]
},
"package": {
"allOf": [
{
"$ref": "#/definitions/package-base"
},
{
"properties": {
"dist": {
"type": "object"
},
"source": {
"type": "object"
}
}
},
{
"oneOf": [
{
"required": [
"name",
"version",
"source"
]
},
{
"required": [
"name",
"version",
"dist"
]
}
]
}
]
},
"package-base": {
"additionalProperties": true,
"properties": {
"autoload": {
"type": "object"
},
"conflict": {
"type": "object"
},
"name": {
"type": "string"
},
"provide": {
"type": "object"
},
"replace": {
"type": "object"
},
"require": {
"type": "object"
},
"time": {
"type": "string"
},
"type": {
"type": "string"
},
"version": {
"type": "string"
},
"version_normalized": {
"description": "Normalized version, optional but can save computational time on client side.",
"type": "string"
}
}
},
"provider": {
"properties": {
"sha256": {
"description": "Hash value that can be used to validate the resource.",
"type": "string"
}
},
"type": "object"
},
"version": {
"oneOf": [
{
"$ref": "#/definitions/package"
},
{
"$ref": "#/definitions/metapackage"
}
],
"type": "object"
},
"versions": {
"additionalProperties": {
"$ref": "#/definitions/version"
},
"description": "A hashmap of versions and their metadata.",
"type": "object"
}
},
"description": "A representation of packages metadata.",
"oneOf": [
{
"required": [
"packages"
]
},
{
"required": [
"providers"
]
},
{
"required": [
"provider-includes",
"providers-url"
]
}
],
"properties": {
"notify-batch": {
"description": "Endpoint to call after multiple packages have been installed, e.g. '/downloads/'.",
"type": "string"
},
"packages": {
"additionalProperties": {
"$ref": "#/definitions/versions"
},
"description": "A hashmap of package names in the form of <vendor>/<name>.",
"type": [
"object",
"array"
]
},
"provider-includes": {
"additionalProperties": {
"$ref": "#/definitions/provider"
},
"description": "A hashmap of provider listings.",
"type": "object"
},
"providers": {
"additionalProperties": {
"$ref": "#/definitions/provider"
},
"description": "A hashmap of package names in the form of <vendor>/<name>.",
"type": "object"
},
"providers-url": {
"description": "Endpoint to retrieve provider data from, e.g. '/p/%package%$%hash%.json'.",
"type": "string"
},
"search": {
"description": "Endpoint that provides search capabilities, e.g. '/search.json?q=%query%&type=%type%'.",
"type": "string"
},
"warning": {
"description": "A message that will be output by Composer as a warning when this source is consulted.",
"type": "string"
}
},
"type": "object"
} | MIT | en |
interuss/dss | 87da43ce78a3555134b7b12b112ea2c619770cb1 | 2024-01-04T09:51:36 | deploy/services/helm-charts/dss/values.schema.json | 118 | 2024-05-29T17:04:29.768745Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"cockroachdb": {
"description": "Cockroach DB related configuration",
"properties": {
"conf": {
"properties": {
"cluster-name": {
"description": "Name of CockroachDB cluster",
"type": "string"
},
"join": {
"description": "List of already-existing CockroachDB instances. If empty, the chart will automatically discover the internal nodes. If set to join a DSS Region and other DSS instance, please add the addresses of the statefulset's pod as well.",
"items": {
"type": "string"
},
"type": "array"
},
"locality": {
"description": "Locality attribute for this deployment. Example: zone=example",
"type": "string"
}
},
"required": [
"cluster-name",
"locality"
],
"type": "object"
},
"fullnameOverride": {
"description": "Name of the internal statefulset",
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"statefulset": {
"properties": {
"args": {
"additionalItems": true,
"description": "Additional argument passed to the statefulset pod command. In the context of the dss deployment it requires the following arguments:\n `--locality-advertise-addr=zone=example@$(hostname -f)`\n`--advertise-addr=${HOSTNAME##*-}.db.example.com`",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"args"
],
"type": "object"
},
"storage": {
"properties": {
"persistentVolume": {
"properties": {
"storageClass": {
"description": "Storage class depending on your cloud provider.",
"type": "string"
}
}
}
},
"type": "object"
}
},
"required": [
"image",
"fullnameOverride",
"conf",
"statefulset"
],
"type": "object"
},
"dss": {
"properties": {
"conf": {
"properties": {
"enableScd": {
"type": "boolean"
},
"hostname": {
"description": "Public hostname of the dss. Example: dss.example.com",
"type": "string"
},
"jwksEndpoint": {
"type": "string"
},
"jwksKeyIds": {
"items": {
"type": "string"
},
"type": "array"
},
"pubKeys": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"hostname"
],
"type": "object"
},
"image": {
"type": "string"
}
},
"required": [
"image",
"conf"
],
"type": "object"
},
"global": {
"properties": {
"cloudProvider": {
"description": "Cloud provider identifier. `aws` or `google`",
"type": "string"
}
},
"required": [
"cloudProvider"
],
"type": "object"
},
"loadBalancers": {
"description": "Load balancers configuration",
"properties": {
"cockroachdbNodes": {
"items": {
"properties": {
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
}
},
"required": [
"ip"
]
},
"type": "array"
},
"dssGateway": {
"properties": {
"certName": {
"description": "Optional: ARN of the certificate for AWS only",
"type": "string"
},
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
}
},
"required": [
"ip"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"cockroachdb",
"loadBalancers",
"dss",
"global"
],
"title": "Values",
"type": "object"
} | Apache-2.0 | en |
interuss/dss | 1ea7ebfa3306cf55fc6a543f743abe8408ff321e | 2024-02-14T14:47:02 | deploy/services/helm-charts/dss/values.schema.json | 118 | 2024-05-29T17:04:29.768745Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"cockroachdb": {
"description": "Cockroach DB related configuration",
"properties": {
"conf": {
"properties": {
"cluster-name": {
"description": "Name of CockroachDB cluster",
"type": "string"
},
"join": {
"description": "List of already-existing CockroachDB instances. If empty, the chart will automatically discover the internal nodes. If set to join a DSS Region and other DSS instance, please add the addresses of the statefulset's pod as well.",
"items": {
"type": "string"
},
"type": "array"
},
"locality": {
"description": "Locality attribute for this deployment. Example: zone=example",
"type": "string"
}
},
"required": [
"cluster-name",
"locality"
],
"type": "object"
},
"fullnameOverride": {
"description": "Name of the internal statefulset",
"type": "string"
},
"image": {
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"statefulset": {
"properties": {
"args": {
"additionalItems": true,
"description": "Additional argument passed to the statefulset pod command. In the context of the dss deployment it requires the following arguments:\n `--locality-advertise-addr=zone=example@$(hostname -f)`\n`--advertise-addr=${HOSTNAME##*-}.db.example.com`",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"args"
],
"type": "object"
},
"storage": {
"properties": {
"persistentVolume": {
"properties": {
"storageClass": {
"description": "Storage class depending on your cloud provider.",
"type": "string"
}
}
}
},
"type": "object"
}
},
"required": [
"image",
"fullnameOverride",
"conf",
"statefulset"
],
"type": "object"
},
"dss": {
"properties": {
"conf": {
"properties": {
"enableScd": {
"type": "boolean"
},
"hostname": {
"description": "Public hostname of the dss. Example: dss.example.com",
"type": "string"
},
"jwksEndpoint": {
"type": "string"
},
"jwksKeyIds": {
"items": {
"type": "string"
},
"type": "array"
},
"pubKeys": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"hostname"
],
"type": "object"
},
"image": {
"type": "string"
}
},
"required": [
"image",
"conf"
],
"type": "object"
},
"global": {
"properties": {
"cloudProvider": {
"description": "Cloud provider identifier. `aws` or `google`",
"type": "string"
}
},
"required": [
"cloudProvider"
],
"type": "object"
},
"loadBalancers": {
"description": "Load balancers configuration",
"properties": {
"cockroachdbNodes": {
"items": {
"properties": {
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
}
},
"required": [
"ip"
]
},
"type": "array"
},
"dssGateway": {
"properties": {
"certName": {
"description": "Optional: ARN of the certificate for AWS only",
"type": "string"
},
"ip": {
"description": "Public ip or cloud resource name.",
"type": "string"
},
"sslPolicy": {
"description": "For Google only: If provided, this SSL Policy is applied to the DSS Gateway Ingress",
"type": "string"
},
"subnet": {
"description": "Optional: Subnet of the public ip for AWS only",
"type": "string"
}
},
"required": [
"ip"
],
"type": "object"
}
},
"type": "object"
}
},
"required": [
"cockroachdb",
"loadBalancers",
"dss",
"global"
],
"title": "Values",
"type": "object"
} | Apache-2.0 | en |
somewhatabstract/checksync | 1b7b343805d4a14af973ec4681174754ac0108ff | 2021-12-15T22:30:34 | src/checksync.schema.json | 17 | 2024-05-29T14:49:23.240879Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Configuration file for CheckSync",
"properties": {
"$comment": {
"description": "A comment about the configuration",
"type": "string"
},
"$schema": {
"description": "The JSON schema for this file",
"type": "string"
},
"$schemaVersion": {
"description": "The version of the JSON schema for this file",
"pattern": "^[0-9]+(\\.[0-9]+){1,3}$",
"type": "string"
},
"autoFix": {
"default": false,
"description": "When true, checksync will attempt to apply fixes to an errors",
"type": "boolean"
},
"comments": {
"default": [
"#",
"//",
"{/*"
],
"description": "An array of the strings that identify the starts of comments in the files being parsed",
"items": {
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"dryRun": {
"default": false,
"description": "When true, checksync will not write any files",
"type": "boolean"
},
"excludeGlobs": {
"description": "An array of globs that identify files to exclude from the checks",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2})(\\/([^/*.][^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"ignoreFiles": {
"description": "An array of globs that identify .gitignore-style files that specify files to be ignored",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2})(\\/([^/*.][^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"includeGlobs": {
"description": "An array of globs that identify files to include in the checks",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2})(\\/([^/*.][^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"json": {
"default": false,
"description": "When true, checksync output will be as JSON",
"type": "boolean"
},
"rootMarker": {
"description": "The string that identifies the root of the project from which all sync-tags are relative",
"pattern": "^[^/\\\\]+$",
"type": "string"
}
},
"required": [],
"title": "CheckSync",
"type": "object"
} | MIT | en |
somewhatabstract/checksync | 7a247b6d040ea15192f63db619c7add743d029cd | 2021-12-27T01:10:31 | src/checksync.schema.json | 17 | 2024-05-29T14:49:23.240879Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Configuration file for CheckSync",
"properties": {
"$comment": {
"description": "A comment about the configuration",
"type": "string"
},
"$schema": {
"description": "The JSON schema for this file",
"type": "string"
},
"$schemaVersion": {
"description": "The version of the JSON schema for this file",
"pattern": "^[0-9]+(\\.[0-9]+){1,3}$",
"type": "string"
},
"autoFix": {
"default": false,
"description": "When true, checksync will attempt to apply fixes to an errors",
"type": "boolean"
},
"comments": {
"default": [
"#",
"//",
"{/*"
],
"description": "An array of the strings that identify the starts of comments in the files being parsed",
"items": {
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"dryRun": {
"default": false,
"description": "When true, checksync will not write any files",
"type": "boolean"
},
"excludeGlobs": {
"description": "An array of globs that identify files to exclude from the checks",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2}|\\.[^/*.]+)(\\/([^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"ignoreFiles": {
"description": "An array of globs that identify .gitignore-style files that specify files to be ignored",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2}|\\.[^/*.]+)(\\/([^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"includeGlobs": {
"description": "An array of globs that identify files to include in the checks",
"items": {
"pattern": "^([^/*.][^/*]+|\\*{1,2}|\\.{1,2}|\\.[^/*.]+)(\\/([^/*]+|\\*{1,2}))*$",
"type": "string"
},
"minLength": 0,
"type": "array",
"uniqueItems": true
},
"json": {
"default": false,
"description": "When true, checksync output will be as JSON",
"type": "boolean"
},
"rootMarker": {
"description": "The string that identifies the root of the project from which all sync-tags are relative",
"pattern": "^[^/\\\\]+$",
"type": "string"
}
},
"required": [],
"title": "CheckSync",
"type": "object"
} | MIT | en |
creativenull/dotfyle-metadata.nvim | c8bc020e5e400c394ef56cdcf1970e33ecdb0ab3 | 2023-08-23T03:13:10 | schema.json | 20 | 2024-05-27T06:44:33.726821Z | {
"$id": "https://dotfyle.com/metadata-schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Metadata information generated by dotfyle-metadata.nvim plugin",
"properties": {
"keymaps": {
"description": "List of tree-sitter parsers installed by the user via nvim-treesitter plugin.",
"items": {
"properties": {
"desc": {
"description": "Description of the keymap.",
"type": "string"
},
"lhs": {
"description": "Left-hand side of the keymap, the key to use.",
"type": "string"
},
"mode": {
"description": "Which mode this keymap will be executed from.",
"type": "string"
},
"noremap": {
"description": "Is the keymap is a non-recursive keymap.",
"type": "boolean"
},
"rhs": {
"description": "Right-hand side of the keymap, the command to execute.",
"type": "string"
}
},
"required": [
"rhs",
"lhs",
"mode",
"noremap"
],
"type": "object"
},
"type": "array"
},
"leaderKey": {
"description": "Leader key used by the user.",
"type": "string"
},
"lspServers": {
"description": "List of LSP servers setup by the user via nvim-lspconfig plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"masonTools": {
"description": "List LSP servers and tools installed by mason.nvim plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"pluginManager": {
"description": "Name of the plugin manager used to install plugins.",
"type": "string"
},
"plugins": {
"description": "List of plugins installed by the user.",
"items": {
"type": "string"
},
"type": "array"
},
"treesitterParsers": {
"description": "List of tree-sitter parsers installed by the user via nvim-treesitter plugin.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"plugins",
"pluginManager",
"leaderKey",
"lspServers",
"treesitterParsers",
"keymaps",
"masonTools"
],
"title": "Dotfyle Metadata",
"type": "object"
} | MIT | en |
creativenull/dotfyle-metadata.nvim | d47fa20a80a7b659257430a955c00b966dc81506 | 2023-08-23T14:27:35 | schema.json | 20 | 2024-05-27T06:44:33.726821Z | {
"$id": "https://dotfyle.com/metadata-schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Metadata information generated by dotfyle-metadata.nvim plugin",
"properties": {
"keymaps": {
"description": "User defined keymaps.",
"items": {
"properties": {
"desc": {
"description": "Description of the keymap.",
"type": "string"
},
"lhs": {
"description": "Left-hand side of the keymap, the key to use.",
"type": "string"
},
"mode": {
"description": "Which mode this keymap will be executed from.",
"type": "string"
},
"noremap": {
"description": "Is the keymap is a non-recursive keymap.",
"type": "boolean"
},
"rhs": {
"description": "Right-hand side of the keymap, the command to execute.",
"type": "string"
}
},
"required": [
"rhs",
"lhs",
"mode",
"noremap"
],
"type": "object"
},
"type": "array"
},
"leaderKey": {
"description": "Leader key used by the user.",
"type": "string"
},
"lspServers": {
"description": "List of LSP servers setup by the user via nvim-lspconfig plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"masonTools": {
"description": "List LSP servers and tools installed by mason.nvim plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"pluginManager": {
"description": "Name of the plugin manager used to install plugins.",
"type": "string"
},
"plugins": {
"description": "List of plugins installed by the user.",
"items": {
"type": "string"
},
"type": "array"
},
"treesitterParsers": {
"description": "List of tree-sitter parsers installed by the user via nvim-treesitter plugin.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"plugins",
"pluginManager",
"leaderKey",
"lspServers",
"treesitterParsers",
"keymaps",
"masonTools"
],
"title": "Dotfyle Metadata",
"type": "object"
} | MIT | en |
creativenull/dotfyle-metadata.nvim | 30e85779c1a017e7bc49693826a024ca73c7f499 | 2024-02-18T00:45:22 | schema.json | 20 | 2024-05-27T06:44:33.726821Z | {
"$id": "https://dotfyle.com/metadata-schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Metadata information generated by dotfyle-metadata.nvim plugin",
"properties": {
"distribution": {
"description": "The detected distribution of the user's neovim setup.",
"type": "string"
},
"keymaps": {
"description": "User defined keymaps.",
"items": {
"properties": {
"desc": {
"description": "Description of the keymap.",
"type": "string"
},
"lhs": {
"description": "Left-hand side of the keymap, the key to use.",
"type": "string"
},
"mode": {
"description": "Which mode this keymap will be executed from.",
"type": "string"
},
"noremap": {
"description": "Is the keymap is a non-recursive keymap.",
"type": "boolean"
},
"rhs": {
"description": "Right-hand side of the keymap, the command to execute.",
"type": "string"
}
},
"required": [
"rhs",
"lhs",
"mode",
"noremap"
],
"type": "object"
},
"type": "array"
},
"leaderKey": {
"description": "Leader key used by the user.",
"type": "string"
},
"lspServers": {
"description": "List of LSP servers setup by the user via nvim-lspconfig plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"masonTools": {
"description": "List LSP servers and tools installed by mason.nvim plugin.",
"items": {
"type": "string"
},
"type": "array"
},
"pluginManager": {
"description": "Name of the plugin manager used to install plugins.",
"type": "string"
},
"plugins": {
"description": "List of plugins installed by the user.",
"items": {
"type": "string"
},
"type": "array"
},
"treesitterParsers": {
"description": "List of tree-sitter parsers installed by the user via nvim-treesitter plugin.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"plugins",
"pluginManager",
"leaderKey",
"lspServers",
"treesitterParsers",
"keymaps",
"masonTools"
],
"title": "Dotfyle Metadata",
"type": "object"
} | MIT | en |
creativenull/projectlocal.vim | 2492cbeb9936ad90381293d4523530e84f500a0c | 2022-04-19T21:07:29 | projectlocal.schema.json | 9 | 2024-05-28T04:56:35.396841Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A project local config for vim/nvim in json",
"properties": {
"projectlocal": {
"description": "The base key required to define projectlocal settings",
"properties": {
"ale": {
"description": "[Not Implemented] ALE filetype setup, dense-analysis/ale plugin is required",
"type": "object"
},
"diagnosticls": {
"description": "[Not Implemented] Diagnostic Language Server filetype setup, creativenull/diagnosticls-configs plugin is required",
"type": "object"
},
"efmls": {
"description": "[Not Implemented] EFM Langserver filetype setup, creativenull/efmls-configs plugin is required",
"type": "object"
},
"globalVars": {
"description": "Vim global variables to be define, will populate g: scope",
"type": "object"
},
"neoformat": {
"description": "[Not Implemented] Neoformat filetype setup, sbdchd/neoformat plugin is required",
"type": "object"
},
"neomake": {
"description": "[Not Implemented] Neomake filetype setup, neomake/neomake plugin is required",
"type": "object"
},
"null-ls": {
"description": "[Not Implemented] Null-ls filetype setup, jose-elias-alvarez/null-ls.nvim plugin is required",
"type": "object"
},
"nvim-lint": {
"description": "[Not Implemented] Nvim-lint filetype setup, mfussenegger/nvim-lint plugin is required",
"type": "object"
},
"nvim-lsp": {
"description": "Builtin nvim-lsp client setup, neovim 0.5 and up is required",
"type": "object"
}
},
"type": "object"
}
},
"required": [
"projectlocal"
],
"title": "Project Local",
"type": "object"
} | MIT | en |
creativenull/projectlocal.vim | 0d45c6dfb077b48dd14bfccbb50a7fa3505478cb | 2022-04-19T20:29:48 | projectlocal.schema.json | 9 | 2024-05-28T04:56:35.396841Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A project local config for vim/nvim in json",
"properties": {
"projectlocal": {
"description": "The base key required to define projectlocal settings",
"properties": {
"ale": {
"description": "[Not Implemented] ALE filetype setup, dense-analysis/ale plugin is required",
"type": "object"
},
"diagnosticls": {
"description": "[Not Implemented] Diagnostic Language Server filetype setup, creativenull/diagnosticls-configs plugin is required",
"type": "object"
},
"efmls": {
"description": "[Not Implemented] EFM Langserver filetype setup, creativenull/efmls-configs plugin is required",
"type": "object"
},
"globalVars": {
"description": "Vim global variables to be define, will populate g: scope",
"type": "object"
},
"null-ls": {
"description": "[Not Implemented] Null-ls filetype setup, jose-elias-alvarez/null-ls.nvim plugin is required",
"type": "object"
},
"nvim-lint": {
"description": "[Not Implemented] Nvim-lint filetype setup, mfussenegger/nvim-lint plugin is required",
"type": "object"
},
"nvim-lsp": {
"description": "Builtin nvim-lsp client setup, neovim 0.5 and up is required",
"type": "object"
}
},
"type": "object"
}
},
"required": [
"projectlocal"
],
"title": "Project Local",
"type": "object"
} | MIT | en |
creativenull/projectlocal.vim | 7f1a69d00612950ba736fb41e96e8eb6201c010c | 2022-04-19T19:52:24 | projectlocal.schema.json | 9 | 2024-05-28T04:56:35.396841Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A project local config for vim/nvim in json",
"properties": {
"projectlocal": {
"description": "The base key required to define projectlocal settings",
"properties": {
"ale": {
"description": "[WIP] ALE filetype setup, dense-analysis/ale plugin is required",
"type": "object"
},
"diagnosticls": {
"description": "[WIP] Diagnostic Language Server filetype setup, creativenull/diagnosticls-configs plugin is required",
"type": "object"
},
"efmls": {
"description": "[WIP] EFM Langserver filetype setup, creativenull/efmls-configs plugin is required",
"type": "object"
},
"globalVars": {
"description": "Vim global variables to be define, will populate g: scope",
"type": "object"
},
"nvim-lsp": {
"description": "Builtin nvim-lsp client setup, neovim 0.5 and up is required",
"type": "object"
}
},
"type": "object"
}
},
"required": [
"projectlocal"
],
"title": "Project Local",
"type": "object"
} | MIT | en |
creativenull/projectlocal.vim | 89ea30cc3b0a628f07cdd2b448c7803d3bf4c747 | 2022-04-19T19:51:38 | projectlocal.schema.json | 9 | 2024-05-28T04:56:35.396841Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A project local config for vim/nvim in json",
"properties": {
"projectlocal": {
"description": "The base key required to define projectlocal settings",
"properties": {
"ale": {
"description": "[WIP] ALE filetype setup, dense-analysis/ale plugin is required",
"type": "object"
},
"diagnosticls": {
"description": "[WIP] Diagnostic Language Server filtype setup, creativenull/diagnosticls-configs plugin is required",
"type": "object"
},
"efmls": {
"description": "[WIP] EFM Langserver filtype setup, creativenull/efmls-configs plugin is required",
"type": "object"
},
"globalVars": {
"description": "Vim global variables to be define, will populate g: scope",
"type": "object"
},
"nvim-lsp": {
"description": "Builtin nvim-lsp client setup, neovim 0.5 and up is required",
"type": "object"
}
},
"type": "object"
}
},
"required": [
"projectlocal"
],
"title": "Project Local",
"type": "object"
} | MIT | en |
creativenull/projectlocal.vim | e65c306f3a9ce1933013d60f3d827d65c109d34f | 2023-03-23T22:10:51 | projectlocal.schema.json | 9 | 2024-05-28T04:56:35.396841Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A project local config for vim/nvim in json",
"properties": {
"projectlocal": {
"description": "The base key required to define projectlocal settings",
"properties": {
"ale": {
"description": "For ALE, dense-analysis/ale plugin is required",
"properties": {
"fixers": {
"type": "array"
},
"linters": {
"type": "array"
}
},
"type": "object"
},
"diagnosticls": {
"description": "[Not Implemented] For diagnostic language server, creativenull/diagnosticls-configs plugin is required",
"type": "object"
},
"efmls": {
"description": "[Not Implemented] For efm language server, creativenull/efmls-configs plugin is required",
"type": "object"
},
"globalVars": {
"description": "For setting global vim variables, aka g: variables",
"type": "object"
},
"neoformat": {
"description": "[Not Implemented] For neoformat plugin, sbdchd/neoformat plugin is required",
"type": "object"
},
"neomake": {
"description": "[Not Implemented] For neomake plugin, neomake/neomake plugin is required",
"type": "object"
},
"null-ls": {
"description": "[Not Implemented] For null-ls language server, jose-elias-alvarez/null-ls.nvim plugin is required",
"type": "object"
},
"nvim-lint": {
"description": "[Not Implemented] For nvim-lint plugin, mfussenegger/nvim-lint plugin is required",
"type": "object"
},
"nvim-lsp": {
"description": "For built-in nvim lsp client, nvim >= 0.6 is required",
"type": "array"
}
},
"type": "object"
}
},
"required": [
"projectlocal"
],
"title": "Project Local",
"type": "object"
} | MIT | en |
silverton-io/buz | bc0c3db2fd724d4345cfb4f9e8c367dce9352e1d | 2022-08-21T06:13:39 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "http://registry.silverton.io/io.silverton/buz/internal/meta/v1.0.json",
"$schema": "http://registry.silverton.io/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "json",
"description": "The schema format",
"enum": [
"json"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | 214085b0c65e2a4e9e115682c35da730a682363b | 2022-09-16T03:18:45 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "http://registry.silverton.io/io.silverton/buz/internal/meta/v1.0.json",
"$schema": "http://registry.silverton.io/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": "false",
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | 801617d3c408256ac70661625b2ef027647e0948 | 2023-05-03T19:08:02 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": false,
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | 9be745fe2d482bbfa2831ce4fa09d78025231da8 | 2023-04-29T15:31:51 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://r.buz.dev/s/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": false,
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | defacf865b6d159a7055c61d451020974819a7a7 | 2022-09-21T13:54:55 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://registry.buz.dev/s/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": "false",
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | cae50aece15014079c60e6fa5475821639ee80ea | 2022-10-11T14:00:46 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://registry.buz.dev/s/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": false,
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | 021ef8c913bf72b47251c345e0e94b3ffd70b0b5 | 2023-05-03T18:04:22 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://raw.githubusercontent.com/silverton-io/buz/main/schemas/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": false,
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
silverton-io/buz | b8fcd28cd4abf9da16512deadd03e862cb504c79 | 2023-04-29T15:26:17 | schemas/io.silverton/buz/internal/meta/v1.0.json | 178 | 2024-05-27T06:05:09.343494Z | {
"$id": "io.silverton/buz/internal/meta/v1.0.json",
"$schema": "https://raw.githubusercontent.com/silverton-io/buz/main/schemas/io.silverton/buz/internal/meta/v1.0.json",
"allOf": [
{
"$ref": "https://json-schema.org/draft/2020-12/schema"
},
{
"properties": {
"disableValidation": {
"default": false,
"description": "A meta property that disables validation",
"type": "boolean"
},
"metrics": {
"properties": {
"dimensions": {
"description": "A list of event properties to be considered dimensions",
"items": {
"type": "string"
},
"type": "array"
},
"measures": {
"description": "A list of event properties to be considered measures",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"owner": {
"anyOf": [
{
"required": [
"org"
]
},
{
"required": [
"team"
]
},
{
"required": [
"individual"
]
}
],
"properties": {
"individual": {
"description": "The event individual owner",
"type": "string"
},
"org": {
"description": "The event org owner",
"type": "string"
},
"team": {
"description": "The event team owner",
"type": "string"
}
},
"type": "object"
},
"privacy": {
"additionalProperties": false,
"properties": {
"anonymize": {
"description": "A list of schema fields to anonymize",
"items": {
"type": "string"
},
"type": "array"
},
"controller": {
"description": "The controller name",
"type": "string"
},
"isPii": {
"description": "A list of schema fields that should be considered PII",
"items": {
"type": "string"
},
"type": "array"
},
"subject": {
"description": "The subject",
"type": "string"
},
"tokenize": {
"description": "A list of schema fields to tokenize",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [],
"type": "object"
},
"self": {
"additionalProperties": false,
"properties": {
"format": {
"default": "jsonschema",
"description": "The event schema format",
"enum": [
"jsonschema",
"jsontypedef"
],
"type": "string"
},
"namespace": {
"description": "The schema namespace",
"type": "string"
},
"vendor": {
"description": "The schema vendor",
"type": "string"
},
"version": {
"description": "The schema version",
"type": "string"
}
},
"required": [
"vendor",
"namespace",
"version"
],
"type": "object"
}
},
"required": [
"owner",
"self"
]
}
],
"description": "The Buz Metaschema",
"owner": {
"individual": "jakthom",
"org": "silverton",
"team": "buz"
},
"privacy": {},
"self": {
"format": "json",
"namespace": "internal.meta",
"vendor": "buz",
"version": "1.0"
}
} | Apache-2.0 | en |
aquasecurity/defsec | 9b3cc255faff5dc57de5ff77ed0ce0009c80a4bb | 2023-11-21T21:09:51 | pkg/rego/schemas/kubernetes.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$id": "https://github.com/aquasecurity/trivy-policies/blob/main/pkg/rego/schemas/kubernetes.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 418759b4dc97af25f30f32e0bd365be7984003a1 | 2022-09-27T13:00:37 | pkg/rego/schemas/kubernetes.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$id": "https://github.com/aquasecurity/defsec/tree/master/pkg/rego/schemas/kubernetes.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 9b3cc255faff5dc57de5ff77ed0ce0009c80a4bb | 2023-11-21T21:09:51 | pkg/rego/schemas/rbac.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$id": "https://github.com/aquasecurity/trivy-policies/blob/main/pkg/rego/schemas/rbac.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 418759b4dc97af25f30f32e0bd365be7984003a1 | 2022-09-27T13:00:37 | pkg/rego/schemas/dockerfile.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$defs": {
"command": {
"properties": {
"Cmd": {
"type": "string"
},
"EndLine": {
"type": "integer"
},
"Flags": {
"items": {
"type": "string"
},
"type": "array"
},
"JSON": {
"type": "boolean"
},
"Original": {
"type": "string"
},
"Path": {
"type": "string"
},
"Stage": {
"type": "integer"
},
"StartLine": {
"type": "integer"
},
"SubCmd": {
"type": "string"
},
"Value": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"stage": {
"properties": {
"Commands": {
"items": {
"$ref": "#/$defs/command"
},
"type": "array"
},
"Name": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/aquasecurity/defsec/tree/master/pkg/rego/schemas/dockerfile.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"Stages": {
"items": {
"$ref": "#/$defs/stage"
},
"type": "array"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 046ee90ace59c3d87dab96889a87b636fdb205ef | 2023-01-20T01:45:03 | pkg/rego/schemas/kubernetes.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$id": "https://github.com/aquasecurity/defsec/tree/master/pkg/rego/schemas/kubernetes.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 418759b4dc97af25f30f32e0bd365be7984003a1 | 2022-09-27T13:00:37 | pkg/rego/schemas/rbac.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$id": "https://github.com/aquasecurity/defsec/tree/master/pkg/rego/schemas/rbac.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | MIT | en |
aquasecurity/defsec | 9b3cc255faff5dc57de5ff77ed0ce0009c80a4bb | 2023-11-21T21:09:51 | pkg/rego/schemas/dockerfile.json | 208 | 2024-05-28T05:19:42.609364Z | {
"$defs": {
"command": {
"properties": {
"Cmd": {
"type": "string"
},
"EndLine": {
"type": "integer"
},
"Flags": {
"items": {
"type": "string"
},
"type": "array"
},
"JSON": {
"type": "boolean"
},
"Original": {
"type": "string"
},
"Path": {
"type": "string"
},
"Stage": {
"type": "integer"
},
"StartLine": {
"type": "integer"
},
"SubCmd": {
"type": "string"
},
"Value": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"stage": {
"properties": {
"Commands": {
"items": {
"$ref": "#/$defs/command"
},
"type": "array"
},
"Name": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/aquasecurity/trivy-policies/blob/main/pkg/rego/schemas/dockerfile.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"Stages": {
"items": {
"$ref": "#/$defs/stage"
},
"type": "array"
}
},
"type": "object"
} | MIT | en |
aquasecurity/trivy | 14adbb446460bd2b93d1e9bfaad2238e2b1e1f83 | 2024-02-16T08:31:32 | pkg/iac/rego/schemas/dockerfile.json | 21,693 | 2024-05-29T14:26:03.633377Z | {
"$defs": {
"command": {
"properties": {
"Cmd": {
"type": "string"
},
"EndLine": {
"type": "integer"
},
"Flags": {
"items": {
"type": "string"
},
"type": "array"
},
"JSON": {
"type": "boolean"
},
"Original": {
"type": "string"
},
"Path": {
"type": "string"
},
"Stage": {
"type": "integer"
},
"StartLine": {
"type": "integer"
},
"SubCmd": {
"type": "string"
},
"Value": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"stage": {
"properties": {
"Commands": {
"items": {
"$ref": "#/$defs/command"
},
"type": "array"
},
"Name": {
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://github.com/aquasecurity/trivy-policies/blob/main/pkg/rego/schemas/dockerfile.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"Stages": {
"items": {
"$ref": "#/$defs/stage"
},
"type": "array"
}
},
"type": "object"
} | Apache-2.0 | en |
aquasecurity/trivy | 37da98df45f6014fcd5f1744e2e26351b61d2a02 | 2024-05-02T18:16:17 | pkg/iac/rego/schemas/rbac.json | 21,693 | 2024-05-29T14:26:03.633377Z | {
"$id": "https://github.com/aquasecurity/trivy/blob/main/pkg/iac/rego/schemas/rbac.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
aquasecurity/trivy | 14adbb446460bd2b93d1e9bfaad2238e2b1e1f83 | 2024-02-16T08:31:32 | pkg/iac/rego/schemas/kubernetes.json | 21,693 | 2024-05-29T14:26:03.633377Z | {
"$id": "https://github.com/aquasecurity/trivy-policies/blob/main/pkg/rego/schemas/kubernetes.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"rules": {
"items": {
"properties": {
"apiGroups": {
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"spec": {
"type": "object"
}
},
"type": "object"
} | Apache-2.0 | en |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.