[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-04/schema#","additionalProperties":false,"definitions":{"RuleType":{"title":"RuleType","description":"An enumeration.","enum":["refactoring","suggestion","comment","hover"]},"PythonVersion":{"title":"PythonVersion","type":"object","properties":{"major":{"title":"Major","type":"integer"},"minor":{"title":"Minor","type":"integer"}},"required":["major","minor"]},"RuleSettingsConfig":{"title":"RuleSettingsConfig","type":"object","properties":{"enable":{"title":"Enable","default":["default"],"type":"array","items":{"type":"string"}},"disable":{"title":"Disable","description":"A list of rule IDs Sourcery will never suggest.","default":[],"type":"array","items":{"type":"string"}},"rule_types":{"default":["refactoring","suggestion","comment"],"type":"array","items":{"$ref":"#/definitions/RuleType"}},"python_version":{"title":"Python Version","description":"A string specifying the lowest Python version your project supports. Sourcery will not suggest refactorings requiring a higher Python version.","anyOf":[{"type":"string"},{"$ref":"#/definitions/PythonVersion"}]}},"additionalProperties":false},"RuleLanguage":{"title":"RuleLanguage","description":"An enumeration.","enum":["python","java","javascript","typescript"],"type":"string"},"PathsConfig":{"title":"PathsConfig","type":"object","properties":{"include":{"title":"Include","type":"array","items":{"type":"string"}},"exclude":{"title":"Exclude","type":"array","items":{"type":"string"}}},"additionalProperties":false},"MatchRuleTestConfig":{"title":"MatchRuleTestConfig","type":"object","properties":{"match":{"title":"Match","type":"string"},"expect":{"title":"Expect","type":"string"}},"required":["match"],"additionalProperties":false},"NoMatchRuleTestConfig":{"title":"NoMatchRuleTestConfig","type":"object","properties":{"no-match":{"title":"No-Match","type":"string"}},"required":["no-match"],"additionalProperties":false},"RuleConfig":{"title":"RuleConfig","type":"object","properties":{"id":{"title":"Id","maxLength":88,"pattern":"^[A-Za-z][A-Za-z0-9-_/:]*$","type":"string"},"description":{"title":"Description","type":"string"},"pattern":{"title":"Pattern","type":"string"},"language":{"default":"python","allOf":[{"$ref":"#/definitions/RuleLanguage"}]},"replacement":{"title":"Replacement","type":"string"},"condition":{"title":"Condition","type":"string"},"explanation":{"title":"Explanation","type":"string"},"paths":{"$ref":"#/definitions/PathsConfig"},"tests":{"title":"Tests","default":[],"type":"array","items":{"anyOf":[{"$ref":"#/definitions/MatchRuleTestConfig"},{"$ref":"#/definitions/NoMatchRuleTestConfig"}]}},"tags":{"title":"Tags","default":[],"type":"array","items":{"type":"string","maxLength":88,"pattern":"^[A-Za-z][A-Za-z0-9-_/:]*$"}}},"required":["id","description","pattern"],"additionalProperties":false},"MetricsConfig":{"title":"MetricsConfig","type":"object","properties":{"quality_threshold":{"title":"Quality Threshold","default":25.0,"type":"number"}},"additionalProperties":false},"RequestReview":{"title":"RequestReview","type":"object","properties":{"origin":{"title":"Origin","default":"","type":"string"},"forked":{"title":"Forked","default":"","type":"string"}},"additionalProperties":false},"GitHubConfig":{"title":"GitHubConfig","type":"object","properties":{"labels":{"title":"Labels","default":[],"type":"array","items":{"type":"string"}},"ignore_labels":{"title":"Ignore Labels","default":["sourcery-ignore"],"type":"array","items":{"type":"string"}},"request_review":{"title":"Request Review","default":"author","anyOf":[{"type":"string"},{"$ref":"#/definitions/RequestReview"}]},"sourcery_branch":{"title":"Sourcery Branch","default":"sourcery-dev/{base_branch}","type":"string"}},"additionalProperties":false},"CloneDetectionConfig":{"title":"CloneDetectionConfig","type":"object","properties":{"min_lines":{"title":"Min Lines","default":3,"type":"integer"},"min_duplicates":{"title":"Min Duplicates","default":2,"type":"integer"},"identical_clones_only":{"title":"Identical Clones Only","default":false,"type":"boolean"}},"additionalProperties":false},"ProxyConfig":{"title":"ProxyConfig","type":"object","properties":{"url":{"title":"Url","minLength":1,"maxLength":65536,"format":"uri","type":"string"},"ssl_certs_file":{"title":"Ssl Certs File","type":"string"},"no_ssl_verify":{"title":"No Ssl Verify","default":false,"type":"boolean"}},"additionalProperties":false}},"id":"https://json.schemastore.org/sourcery_yaml_schema.json","properties":{"version":{"title":"Version","description":"The schema version of this config file","default":"1","type":"string"},"ignore":{"title":"Ignore","description":"A list of paths or files which Sourcery will ignore.","default":[],"type":"array","items":{"type":"string"}},"rule_settings":{"title":"Rule Settings","default":{"enable":["default"],"disable":[],"include":[],"skip":[],"rule_types":["refactoring","suggestion","comment"],"python_version":null,"allow_adding_imports":false},"allOf":[{"$ref":"#/definitions/RuleSettingsConfig"}]},"rules":{"title":"Rules","description":"A list of custom rules Sourcery will include in its analysis.","default":[],"type":"array","items":{"$ref":"#/definitions/RuleConfig"}},"rule_tags":{"title":"Rule Tags","description":"Additional rule tags.","default":{},"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"metrics":{"title":"Metrics","default":{"quality_threshold":25},"allOf":[{"$ref":"#/definitions/MetricsConfig"}]},"github":{"title":"Github","default":{"labels":[],"ignore_labels":["sourcery-ignore"],"review_or_request_review":"author","sourcery_branch":"sourcery-dev/{base_branch}"},"allOf":[{"$ref":"#/definitions/GitHubConfig"}]},"clone_detection":{"title":"Clone Detection","default":{"min_lines":3,"min_duplicates":2,"identical_clones_only":false},"allOf":[{"$ref":"#/definitions/CloneDetectionConfig"}]},"proxy":{"title":"Proxy","default":{"url":null,"ssl_certs_file":null,"no_ssl_verify":false},"allOf":[{"$ref":"#/definitions/ProxyConfig"}]}},"title":"Sourcery YAML Schema","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "Sourcery YAML Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

RuleType

An enumeration.

PythonVersion

Major

Minor

RuleSettingsConfig

Enable

Disable

A list of rule IDs Sourcery will never suggest.

Python Version

A string specifying the lowest Python version your project supports. Sourcery will not suggest refactorings requiring a higher Python version.

RuleLanguage

An enumeration.

PathsConfig

Include

Exclude

MatchRuleTestConfig

Match

Expect

NoMatchRuleTestConfig

No-Match

RuleConfig

Id

Description

Pattern

Replacement

Condition

Explanation

Tests

Tags

MetricsConfig

Quality Threshold

RequestReview

Origin

Forked

GitHubConfig

Labels

Ignore Labels

Request Review

Sourcery Branch

CloneDetectionConfig

Min Lines

Min Duplicates

Identical Clones Only

ProxyConfig

Url

Ssl Certs File

No Ssl Verify

Version

The schema version of this config file

Ignore

A list of paths or files which Sourcery will ignore.

Rule Settings

Rules

A list of custom rules Sourcery will include in its analysis.

Rule Tags

Additional rule tags.

Metrics

Github

Clone Detection

Proxy

Sourcery YAML Schema

Provide a JSON object that satisfies the schema "Sourcery YAML Schema". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://spdx.org/rdf/terms/2.3","title":"SPDX 2.3","type":"object","properties":{"SPDXID":{"type":"string","description":"Uniquely identify any element in an SPDX document which may be referenced by other elements."},"annotations":{"description":"Provide additional information about an SpdxElement.","type":"array","items":{"type":"object","properties":{"annotationDate":{"description":"Identify when the comment was made. This is to be specified according to the combined date and time in the UTC format, as specified in the ISO 8601 standard.","type":"string"},"annotationType":{"description":"Type of the annotation.","type":"string","enum":["OTHER","REVIEW"]},"annotator":{"description":"This field identifies the person, organization, or tool that has commented on a file, package, snippet, or the entire document.","type":"string"},"comment":{"type":"string"}},"required":["annotationDate","annotationType","annotator","comment"],"additionalProperties":false,"description":"An Annotation is a comment on an SpdxItem by an agent."}},"comment":{"type":"string"},"creationInfo":{"type":"object","properties":{"comment":{"type":"string"},"created":{"description":"Identify when the SPDX document was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard.","type":"string"},"creators":{"description":"Identify who (or what, in the case of a tool) created the SPDX document. If the SPDX document was created by an individual, indicate the person's name. If the SPDX document was created on behalf of a company or organization, indicate the entity name. If the SPDX document was created using a software tool, indicate the name and version for that tool. If multiple participants or tools were involved, use multiple instances of this field. Person name or organization name may be designated as \u201canonymous\u201d if appropriate.","minItems":1,"type":"array","items":{"description":"Identify who (or what, in the case of a tool) created the SPDX document. If the SPDX document was created by an individual, indicate the person's name. If the SPDX document was created on behalf of a company or organization, indicate the entity name. If the SPDX document was created using a software tool, indicate the name and version for that tool. If multiple participants or tools were involved, use multiple instances of this field. Person name or organization name may be designated as \u201canonymous\u201d if appropriate.","type":"string"}},"licenseListVersion":{"description":"An optional field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created.","type":"string"}},"required":["created","creators"],"additionalProperties":false,"description":"One instance is required for each SPDX file produced. It provides the necessary information for forward and backward compatibility for processing tools."},"dataLicense":{"description":"License expression for dataLicense. See SPDX Annex D for the license expression syntax.  Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (\"SPDX-Metadata\"). The SPDX specification contains numerous fields where an SPDX document creator may provide relevant explanatory text in SPDX-Metadata. Without opining on the lawfulness of \"database rights\" (in jurisdictions where applicable), such explanatory text is copyrightable subject matter in most Berne Convention countries. By using the SPDX specification, or any portion hereof, you hereby agree that any copyright rights (as determined by your jurisdiction) in any SPDX-Metadata, including without limitation explanatory text, shall be subject to the terms of the Creative Commons CC0 1.0 Universal license. For SPDX-Metadata not containing any copyright rights, you hereby agree and acknowledge that the SPDX-Metadata is provided to you \"as-is\" and without any representations or warranties of any kind concerning the SPDX-Metadata, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non-infringement, or the absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.","type":"string"},"externalDocumentRefs":{"description":"Identify any external SPDX documents referenced within this SPDX document.","type":"array","items":{"type":"object","properties":{"checksum":{"type":"object","properties":{"algorithm":{"description":"Identifies the algorithm used to produce the subject Checksum. Currently, SHA-1 is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time.","type":"string","enum":["SHA1","BLAKE3","SHA3-384","SHA256","SHA384","BLAKE2b-512","BLAKE2b-256","SHA3-512","MD2","ADLER32","MD4","SHA3-256","BLAKE2b-384","SHA512","MD6","MD5","SHA224"]},"checksumValue":{"description":"The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.","type":"string"}},"required":["algorithm","checksumValue"],"additionalProperties":false,"description":"A Checksum is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change its checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented."},"externalDocumentId":{"description":"externalDocumentId is a string containing letters, numbers, ., - and/or + which uniquely identifies an external document within this document.","type":"string"},"spdxDocument":{"description":"SPDX ID for SpdxDocument.  A property containing an SPDX document.","type":"string"}},"required":["checksum","externalDocumentId","spdxDocument"],"additionalProperties":false,"description":"Information about an external SPDX document reference including the checksum. This allows for verification of the external references."}},"hasExtractedLicensingInfos":{"description":"Indicates that a particular ExtractedLicensingInfo was defined in the subject SpdxDocument.","type":"array","items":{"type":"object","properties":{"comment":{"type":"string"},"crossRefs":{"description":"Cross Reference Detail for a license SeeAlso URL","type":"array","items":{"type":"object","properties":{"isLive":{"description":"Indicate a URL is still a live accessible location on the public internet","type":"boolean"},"isValid":{"description":"True if the URL is a valid well formed URL","type":"boolean"},"isWayBackLink":{"description":"True if the License SeeAlso URL points to a Wayback archive","type":"boolean"},"match":{"description":"Status of a License List SeeAlso URL reference if it refers to a website that matches the license text.","type":"string"},"order":{"description":"The ordinal order of this element within a list","type":"integer"},"timestamp":{"description":"Timestamp","type":"string"},"url":{"description":"URL Reference","type":"string"}},"required":["url"],"additionalProperties":false,"description":"Cross reference details for the a URL reference"}},"extractedText":{"description":"Provide a copy of the actual text of the license reference extracted from the package, file or snippet that is associated with the License Identifier to aid in future analysis.","type":"string"},"licenseId":{"description":"A human readable short form license identifier for a license. The license ID is either on the standard license list or the form \"LicenseRef-[idString]\" where [idString] is a unique string containing letters, numbers, \".\" or \"-\".  When used within a license expression, the license ID can optionally include a reference to an external document in the form \"DocumentRef-[docrefIdString]:LicenseRef-[idString]\" where docRefIdString is an ID for an external document reference.","type":"string"},"name":{"description":"Identify name of this SpdxElement.","type":"string"},"seeAlsos":{"type":"array","items":{"type":"string"}}},"required":["extractedText","licenseId"],"additionalProperties":false,"description":"An ExtractedLicensingInfo represents a license or licensing notice that was found in a package, file or snippet. Any license text that is recognized as a license may be represented as a License rather than an ExtractedLicensingInfo."}},"name":{"description":"Identify name of this SpdxElement.","type":"string"},"revieweds":{"description":"Reviewed","type":"array","items":{"type":"object","properties":{"comment":{"type":"string"},"reviewDate":{"description":"The date and time at which the SpdxDocument was reviewed. This value must be in UTC and have 'Z' as its timezone indicator.","type":"string"},"reviewer":{"description":"The name and, optionally, contact information of the person who performed the review. Values of this property must conform to the agent and tool syntax.  The reviewer property is deprecated in favor of Annotation with an annotationType review.","type":"string"}},"required":["reviewDate"],"additionalProperties":false,"description":"This class has been deprecated in favor of an Annotation with an Annotation type of review."}},"spdxVersion":{"description":"Provide a reference number that can be used to understand how to parse and interpret the rest of the file. It will enable both future changes to the specification and to support backward compatibility. The version number consists of a major and minor version indicator. The major field will be incremented when incompatible changes between versions are made (one or more sections are created, modified or deleted). The minor field will be incremented when backwards compatible changes are made.","type":"string"},"documentNamespace":{"type":"string","description":"The URI provides an unambiguous mechanism for other SPDX documents to reference SPDX elements within this SPDX document."},"documentDescribes":{"description":"Packages, files and/or Snippets described by this SPDX document","type":"array","items":{"type":"string","description":"SPDX ID for each Package, File, or Snippet."}},"packages":{"description":"Packages referenced in the SPDX document","type":"array","items":{"type":"object","properties":{"SPDXID":{"type":"string","description":"Uniquely identify any element in an SPDX document which may be referenced by other elements."},"annotations":{"description":"Provide additional information about an SpdxElement.","type":"array","items":{"type":"object","properties":{"annotationDate":{"description":"Identify when the comment was made. This is to be specified according to the combined date and time in the UTC format, as specified in the ISO 8601 standard.","type":"string"},"annotationType":{"description":"Type of the annotation.","type":"string","enum":["OTHER","REVIEW"]},"annotator":{"description":"This field identifies the person, organization, or tool that has commented on a file, package, snippet, or the entire document.","type":"string"},"comment":{"type":"string"}},"required":["annotationDate","annotationType","annotator","comment"],"additionalProperties":false,"description":"An Annotation is a comment on an SpdxItem by an agent."}},"attributionTexts":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"array","items":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"string"}},"builtDate":{"description":"This field provides a place for recording the actual date the package was built.","type":"string"},"checksums":{"description":"The checksum property provides a mechanism that can be used to verify that the contents of a File or Package have not changed.","type":"array","items":{"type":"object","properties":{"algorithm":{"description":"Identifies the algorithm used to produce the subject Checksum. Currently, SHA-1 is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time.","type":"string","enum":["SHA1","BLAKE3","SHA3-384","SHA256","SHA384","BLAKE2b-512","BLAKE2b-256","SHA3-512","MD2","ADLER32","MD4","SHA3-256","BLAKE2b-384","SHA512","MD6","MD5","SHA224"]},"checksumValue":{"description":"The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.","type":"string"}},"required":["algorithm","checksumValue"],"additionalProperties":false,"description":"A Checksum is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change its checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented."}},"comment":{"type":"string"},"copyrightText":{"description":"The text of copyright declarations recited in the package, file or snippet.\n\nIf the copyrightText field is not present, it implies an equivalent meaning to NOASSERTION.","type":"string"},"description":{"description":"Provides a detailed description of the package.","type":"string"},"downloadLocation":{"description":"The URI at which this package is available for download. Private (i.e., not publicly reachable) URIs are acceptable as values of this property. The values http://spdx.org/rdf/terms#none and http://spdx.org/rdf/terms#noassertion may be used to specify that the package is not downloadable or that no attempt was made to determine its download location, respectively.","type":"string"},"externalRefs":{"description":"An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package.","type":"array","items":{"type":"object","properties":{"comment":{"type":"string"},"referenceCategory":{"description":"Category for the external reference","type":"string","enum":["OTHER","PERSISTENT-ID","SECURITY","PACKAGE-MANAGER"]},"referenceLocator":{"description":"The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location. The format of the locator is subject to constraints defined by the <type>.","type":"string"},"referenceType":{"description":"Type of the external reference. These are definined in an appendix in the SPDX specification.","type":"string"}},"required":["referenceCategory","referenceLocator","referenceType"],"additionalProperties":false,"description":"An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package."}},"filesAnalyzed":{"description":"Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document. If false indicates packages that represent metadata or URI references to a project, product, artifact, distribution or a component. If set to false, the package must not contain any files.","type":"boolean"},"hasFiles":{"description":"Indicates that a particular file belongs to a package.","type":"array","items":{"description":"SPDX ID for File.  Indicates that a particular file belongs to a package.","type":"string"}},"homepage":{"type":"string"},"licenseComments":{"description":"The licenseComments property allows the preparer of the SPDX document to describe why the licensing in spdx:licenseConcluded was chosen.","type":"string"},"licenseConcluded":{"description":"License expression for licenseConcluded. See SPDX Annex D for the license expression syntax.  The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the SPDX Item.\n\nIf the licenseConcluded field is not present for an SPDX Item, it implies an equivalent meaning to NOASSERTION.","type":"string"},"licenseDeclared":{"description":"License expression for licenseDeclared. See SPDX Annex D for the license expression syntax.  The licensing that the creators of the software in the package, or the packager, have declared. Declarations by the original software creator should be preferred, if they exist.","type":"string"},"licenseInfoFromFiles":{"description":"The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of alllicenseInfoInFile properties of all files contained in the package.\n\nIf the licenseInfoFromFiles field is not present for a package and filesAnalyzed property for that same pacakge is true or omitted, it implies an equivalent meaning to NOASSERTION.","type":"array","items":{"description":"License expression for licenseInfoFromFiles. See SPDX Annex D for the license expression syntax.  The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of alllicenseInfoInFile properties of all files contained in the package.\n\nIf the licenseInfoFromFiles field is not present for a package and filesAnalyzed property for that same pacakge is true or omitted, it implies an equivalent meaning to NOASSERTION.","type":"string"}},"name":{"description":"Identify name of this SpdxElement.","type":"string"},"originator":{"description":"The name and, optionally, contact information of the person or organization that originally created the package. Values of this property must conform to the agent and tool syntax.","type":"string"},"packageFileName":{"description":"The base name of the package file name. For example, zlib-1.2.5.tar.gz.","type":"string"},"packageVerificationCode":{"type":"object","properties":{"packageVerificationCodeExcludedFiles":{"description":"A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files.","type":"array","items":{"description":"A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files.","type":"string"}},"packageVerificationCodeValue":{"description":"The actual package verification code as a hex encoded value.","type":"string"}},"required":["packageVerificationCodeValue"],"additionalProperties":false,"description":"A manifest based verification code (the algorithm is defined in section 4.7 of the full specification) of the SPDX Item. This allows consumers of this data and/or database to determine if an SPDX item they have in hand is identical to the SPDX item from which the data was produced. This algorithm works even if the SPDX document is included in the SPDX item."},"primaryPackagePurpose":{"description":"This field provides information about the primary purpose of the identified package. Package Purpose is intrinsic to how the package is being used rather than the content of the package.","type":"string","enum":["OTHER","INSTALL","ARCHIVE","FIRMWARE","APPLICATION","FRAMEWORK","LIBRARY","CONTAINER","SOURCE","DEVICE","OPERATING_SYSTEM","FILE"]},"releaseDate":{"description":"This field provides a place for recording the date the package was released.","type":"string"},"sourceInfo":{"description":"Allows the producer(s) of the SPDX document to describe how the package was acquired and/or changed from the original source.","type":"string"},"summary":{"description":"Provides a short description of the package.","type":"string"},"supplier":{"description":"The name and, optionally, contact information of the person or organization who was the immediate supplier of this package to the recipient. The supplier may be different than originator when the software has been repackaged. Values of this property must conform to the agent and tool syntax.","type":"string"},"validUntilDate":{"description":"This field provides a place for recording the end of the support period for a package from the supplier.","type":"string"},"versionInfo":{"description":"Provides an indication of the version of the package that is described by this SpdxDocument.","type":"string"}},"required":["SPDXID","downloadLocation","name"],"additionalProperties":false}},"files":{"description":"Files referenced in the SPDX document","type":"array","items":{"type":"object","properties":{"SPDXID":{"type":"string","description":"Uniquely identify any element in an SPDX document which may be referenced by other elements."},"annotations":{"description":"Provide additional information about an SpdxElement.","type":"array","items":{"type":"object","properties":{"annotationDate":{"description":"Identify when the comment was made. This is to be specified according to the combined date and time in the UTC format, as specified in the ISO 8601 standard.","type":"string"},"annotationType":{"description":"Type of the annotation.","type":"string","enum":["OTHER","REVIEW"]},"annotator":{"description":"This field identifies the person, organization, or tool that has commented on a file, package, snippet, or the entire document.","type":"string"},"comment":{"type":"string"}},"required":["annotationDate","annotationType","annotator","comment"],"additionalProperties":false,"description":"An Annotation is a comment on an SpdxItem by an agent."}},"artifactOfs":{"description":"Indicates the project in which the SpdxElement originated. Tools must preserve doap:homepage and doap:name properties and the URI (if one is known) of doap:Project resources that are values of this property. All other properties of doap:Projects are not directly supported by SPDX and may be dropped when translating to or from some SPDX formats.","type":"array","items":{"type":"object"}},"attributionTexts":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"array","items":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"string"}},"checksums":{"description":"The checksum property provides a mechanism that can be used to verify that the contents of a File or Package have not changed.","minItems":1,"type":"array","items":{"type":"object","properties":{"algorithm":{"description":"Identifies the algorithm used to produce the subject Checksum. Currently, SHA-1 is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time.","type":"string","enum":["SHA1","BLAKE3","SHA3-384","SHA256","SHA384","BLAKE2b-512","BLAKE2b-256","SHA3-512","MD2","ADLER32","MD4","SHA3-256","BLAKE2b-384","SHA512","MD6","MD5","SHA224"]},"checksumValue":{"description":"The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.","type":"string"}},"required":["algorithm","checksumValue"],"additionalProperties":false,"description":"A Checksum is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change its checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented."}},"comment":{"type":"string"},"copyrightText":{"description":"The text of copyright declarations recited in the package, file or snippet.\n\nIf the copyrightText field is not present, it implies an equivalent meaning to NOASSERTION.","type":"string"},"fileContributors":{"description":"This field provides a place for the SPDX file creator to record file contributors. Contributors could include names of copyright holders and/or authors who may not be copyright holders yet contributed to the file content.","type":"array","items":{"description":"This field provides a place for the SPDX file creator to record file contributors. Contributors could include names of copyright holders and/or authors who may not be copyright holders yet contributed to the file content.","type":"string"}},"fileDependencies":{"description":"This field is deprecated since SPDX 2.0 in favor of using Section 7 which provides more granularity about relationships.","type":"array","items":{"description":"SPDX ID for File.  This field is deprecated since SPDX 2.0 in favor of using Section 7 which provides more granularity about relationships.","type":"string"}},"fileName":{"description":"The name of the file relative to the root of the package.","type":"string"},"fileTypes":{"description":"The type of the file.","type":"array","items":{"description":"The type of the file.","type":"string","enum":["OTHER","DOCUMENTATION","IMAGE","VIDEO","ARCHIVE","SPDX","APPLICATION","SOURCE","BINARY","TEXT","AUDIO"]}},"licenseComments":{"description":"The licenseComments property allows the preparer of the SPDX document to describe why the licensing in spdx:licenseConcluded was chosen.","type":"string"},"licenseConcluded":{"description":"License expression for licenseConcluded. See SPDX Annex D for the license expression syntax.  The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the SPDX Item.\n\nIf the licenseConcluded field is not present for an SPDX Item, it implies an equivalent meaning to NOASSERTION.","type":"string"},"licenseInfoInFiles":{"description":"Licensing information that was discovered directly in the subject file. This is also considered a declared license for the file.\n\nIf the licenseInfoInFile field is not present for a file, it implies an equivalent meaning to NOASSERTION.","type":"array","items":{"description":"License expression for licenseInfoInFile. See SPDX Annex D for the license expression syntax.  Licensing information that was discovered directly in the subject file. This is also considered a declared license for the file.\n\nIf the licenseInfoInFile field is not present for a file, it implies an equivalent meaning to NOASSERTION.","type":"string"}},"noticeText":{"description":"This field provides a place for the SPDX file creator to record potential legal notices found in the file. This may or may not include copyright statements.","type":"string"}},"required":["SPDXID","checksums","fileName"],"additionalProperties":false}},"snippets":{"description":"Snippets referenced in the SPDX document","type":"array","items":{"type":"object","properties":{"SPDXID":{"type":"string","description":"Uniquely identify any element in an SPDX document which may be referenced by other elements."},"annotations":{"description":"Provide additional information about an SpdxElement.","type":"array","items":{"type":"object","properties":{"annotationDate":{"description":"Identify when the comment was made. This is to be specified according to the combined date and time in the UTC format, as specified in the ISO 8601 standard.","type":"string"},"annotationType":{"description":"Type of the annotation.","type":"string","enum":["OTHER","REVIEW"]},"annotator":{"description":"This field identifies the person, organization, or tool that has commented on a file, package, snippet, or the entire document.","type":"string"},"comment":{"type":"string"}},"required":["annotationDate","annotationType","annotator","comment"],"additionalProperties":false,"description":"An Annotation is a comment on an SpdxItem by an agent."}},"attributionTexts":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"array","items":{"description":"This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.","type":"string"}},"comment":{"type":"string"},"copyrightText":{"description":"The text of copyright declarations recited in the package, file or snippet.\n\nIf the copyrightText field is not present, it implies an equivalent meaning to NOASSERTION.","type":"string"},"licenseComments":{"description":"The licenseComments property allows the preparer of the SPDX document to describe why the licensing in spdx:licenseConcluded was chosen.","type":"string"},"licenseConcluded":{"description":"License expression for licenseConcluded. See SPDX Annex D for the license expression syntax.  The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the SPDX Item.\n\nIf the licenseConcluded field is not present for an SPDX Item, it implies an equivalent meaning to NOASSERTION.","type":"string"},"licenseInfoInSnippets":{"description":"Licensing information that was discovered directly in the subject snippet. This is also considered a declared license for the snippet.\n\nIf the licenseInfoInSnippet field is not present for a snippet, it implies an equivalent meaning to NOASSERTION.","type":"array","items":{"description":"License expression for licenseInfoInSnippet. See SPDX Annex D for the license expression syntax.  Licensing information that was discovered directly in the subject snippet. This is also considered a declared license for the snippet.\n\nIf the licenseInfoInSnippet field is not present for a snippet, it implies an equivalent meaning to NOASSERTION.","type":"string"}},"name":{"description":"Identify name of this SpdxElement.","type":"string"},"ranges":{"description":"This field defines the byte range in the original host file (in X.2) that the snippet information applies to","minItems":1,"type":"array","items":{"type":"object","properties":{"endPointer":{"type":"object","properties":{"reference":{"description":"SPDX ID for File","type":"string"},"offset":{"type":"integer","description":"Byte offset in the file"},"lineNumber":{"type":"integer","description":"line number offset in the file"}},"required":["reference"],"additionalProperties":false},"startPointer":{"type":"object","properties":{"reference":{"description":"SPDX ID for File","type":"string"},"offset":{"type":"integer","description":"Byte offset in the file"},"lineNumber":{"type":"integer","description":"line number offset in the file"}},"required":["reference"],"additionalProperties":false}},"required":["endPointer","startPointer"],"additionalProperties":false}},"snippetFromFile":{"description":"SPDX ID for File.  File containing the SPDX element (e.g. the file contaning a snippet).","type":"string"}},"required":["SPDXID","name","ranges","snippetFromFile"],"additionalProperties":false}},"relationships":{"description":"Relationships referenced in the SPDX document","type":"array","items":{"type":"object","properties":{"spdxElementId":{"type":"string","description":"Id to which the SPDX element is related"},"comment":{"type":"string"},"relatedSpdxElement":{"description":"SPDX ID for SpdxElement.  A related SpdxElement.","type":"string"},"relationshipType":{"description":"Describes the type of relationship between two SPDX elements.","type":"string","enum":["VARIANT_OF","COPY_OF","PATCH_FOR","TEST_DEPENDENCY_OF","CONTAINED_BY","DATA_FILE_OF","OPTIONAL_COMPONENT_OF","ANCESTOR_OF","GENERATES","CONTAINS","OPTIONAL_DEPENDENCY_OF","FILE_ADDED","REQUIREMENT_DESCRIPTION_FOR","DEV_DEPENDENCY_OF","DEPENDENCY_OF","BUILD_DEPENDENCY_OF","DESCRIBES","PREREQUISITE_FOR","HAS_PREREQUISITE","PROVIDED_DEPENDENCY_OF","DYNAMIC_LINK","DESCRIBED_BY","METAFILE_OF","DEPENDENCY_MANIFEST_OF","PATCH_APPLIED","RUNTIME_DEPENDENCY_OF","TEST_OF","TEST_TOOL_OF","DEPENDS_ON","SPECIFICATION_FOR","FILE_MODIFIED","DISTRIBUTION_ARTIFACT","AMENDS","DOCUMENTATION_OF","GENERATED_FROM","STATIC_LINK","OTHER","BUILD_TOOL_OF","TEST_CASE_OF","PACKAGE_OF","DESCENDANT_OF","FILE_DELETED","EXPANDED_FROM_ARCHIVE","DEV_TOOL_OF","EXAMPLE_OF"]}},"required":["spdxElementId","relatedSpdxElement","relationshipType"],"additionalProperties":false}}},"required":["SPDXID","creationInfo","dataLicense","name","spdxVersion"],"additionalProperties":false}
</schema>

[User] Provide a JSON object that satisfies the schema "SPDX 2.3". Here are the required top‑level fields: SPDXID, creationInfo, dataLicense, name, spdxVersion. Return only the valid JSON object.

SPDX 2.3

Uniquely identify any element in an SPDX document which may be referenced by other elements.

Provide additional information about an SpdxElement.

Identify when the comment was made. This is to be specified according to the combined date and time in the UTC format, as specified in the ISO 8601 standard.

Type of the annotation.

This field identifies the person, organization, or tool that has commented on a file, package, snippet, or the entire document.

annotationDate annotationType annotator comment

An Annotation is a comment on an SpdxItem by an agent.

Identify when the SPDX document was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard.

Identify who (or what, in the case of a tool) created the SPDX document. If the SPDX document was created by an individual, indicate the person's name. If the SPDX document was created on behalf of a company or organization, indicate the entity name. If the SPDX document was created using a software tool, indicate the name and version for that tool. If multiple participants or tools were involved, use multiple instances of this field. Person name or organization name may be designated as “anonymous” if appropriate.

An optional field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created.

One instance is required for each SPDX file produced. It provides the necessary information for forward and backward compatibility for processing tools.

License expression for dataLicense. See SPDX Annex D for the license expression syntax.  Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields ("SPDX-Metadata"). The SPDX specification contains numerous fields where an SPDX document creator may provide relevant explanatory text in SPDX-Metadata. Without opining on the lawfulness of "database rights" (in jurisdictions where applicable), such explanatory text is copyrightable subject matter in most Berne Convention countries. By using the SPDX specification, or any portion hereof, you hereby agree that any copyright rights (as determined by your jurisdiction) in any SPDX-Metadata, including without limitation explanatory text, shall be subject to the terms of the Creative Commons CC0 1.0 Universal license. For SPDX-Metadata not containing any copyright rights, you hereby agree and acknowledge that the SPDX-Metadata is provided to you "as-is" and without any representations or warranties of any kind concerning the SPDX-Metadata, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non-infringement, or the absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.

Identify any external SPDX documents referenced within this SPDX document.

Identifies the algorithm used to produce the subject Checksum. Currently, SHA-1 is the only supported algorithm. It is anticipated that other algorithms will be supported at a later time.

The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.

A Checksum is value that allows the contents of a file to be authenticated. Even small changes to the content of the file will change its checksum. This class allows the results of a variety of checksum and cryptographic message digest algorithms to be represented.

externalDocumentId is a string containing letters, numbers, ., - and/or + which uniquely identifies an external document within this document.

SPDX ID for SpdxDocument.  A property containing an SPDX document.

Information about an external SPDX document reference including the checksum. This allows for verification of the external references.

Indicates that a particular ExtractedLicensingInfo was defined in the subject SpdxDocument.

Cross Reference Detail for a license SeeAlso URL

Indicate a URL is still a live accessible location on the public internet

True if the URL is a valid well formed URL

True if the License SeeAlso URL points to a Wayback archive

Status of a License List SeeAlso URL reference if it refers to a website that matches the license text.

The ordinal order of this element within a list

Timestamp

URL Reference

Cross reference details for the a URL reference

Provide a copy of the actual text of the license reference extracted from the package, file or snippet that is associated with the License Identifier to aid in future analysis.

A human readable short form license identifier for a license. The license ID is either on the standard license list or the form "LicenseRef-[idString]" where [idString] is a unique string containing letters, numbers, "." or "-".  When used within a license expression, the license ID can optionally include a reference to an external document in the form "DocumentRef-[docrefIdString]:LicenseRef-[idString]" where docRefIdString is an ID for an external document reference.

Identify name of this SpdxElement.

An ExtractedLicensingInfo represents a license or licensing notice that was found in a package, file or snippet. Any license text that is recognized as a license may be represented as a License rather than an ExtractedLicensingInfo.

Identify name of this SpdxElement.

Reviewed

The date and time at which the SpdxDocument was reviewed. This value must be in UTC and have 'Z' as its timezone indicator.

The name and, optionally, contact information of the person who performed the review. Values of this property must conform to the agent and tool syntax.  The reviewer property is deprecated in favor of Annotation with an annotationType review.

This class has been deprecated in favor of an Annotation with an Annotation type of review.

Provide a reference number that can be used to understand how to parse and interpret the rest of the file. It will enable both future changes to the specification and to support backward compatibility. The version number consists of a major and minor version indicator. The major field will be incremented when incompatible changes between versions are made (one or more sections are created, modified or deleted). The minor field will be incremented when backwards compatible changes are made.

The URI provides an unambiguous mechanism for other SPDX documents to reference SPDX elements within this SPDX document.

Packages, files and/or Snippets described by this SPDX document

SPDX ID for each Package, File, or Snippet.

Packages referenced in the SPDX document

Uniquely identify any element in an SPDX document which may be referenced by other elements.

Provide additional information about an SpdxElement.

Type of the annotation.

An Annotation is a comment on an SpdxItem by an agent.

This field provides a place for the SPDX data creator to record acknowledgements that may be required to be communicated in some contexts. This is not meant to include the actual complete license text (see licenseConculded and licenseDeclared), and may or may not include copyright notices (see also copyrightText). The SPDX data creator may use this field to record other acknowledgements, such as particular clauses from license texts, which may be necessary or desirable to reproduce.

This field provides a place for recording the actual date the package was built.

The checksum property provides a mechanism that can be used to verify that the contents of a File or Package have not changed.

The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.

The text of copyright declarations recited in the package, file or snippet.

If the copyrightText field is not present, it implies an equivalent meaning to NOASSERTION.

Provides a detailed description of the package.

The URI at which this package is available for download. Private (i.e., not publicly reachable) URIs are acceptable as values of this property. The values http://spdx.org/rdf/terms#none and http://spdx.org/rdf/terms#noassertion may be used to specify that the package is not downloadable or that no attempt was made to determine its download location, respectively.

An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package.

Category for the external reference

OTHER PERSISTENT-ID SECURITY PACKAGE-MANAGER

The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location. The format of the locator is subject to constraints defined by the <type>.

Type of the external reference. These are definined in an appendix in the SPDX specification.

Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document. If false indicates packages that represent metadata or URI references to a project, product, artifact, distribution or a component. If set to false, the package must not contain any files.

Indicates that a particular file belongs to a package.

SPDX ID for File.  Indicates that a particular file belongs to a package.

The licenseComments property allows the preparer of the SPDX document to describe why the licensing in spdx:licenseConcluded was chosen.

License expression for licenseConcluded. See SPDX Annex D for the license expression syntax.  The licensing that the preparer of this SPDX document has concluded, based on the evidence, actually applies to the SPDX Item.

If the licenseConcluded field is not present for an SPDX Item, it implies an equivalent meaning to NOASSERTION.

License expression for licenseDeclared. See SPDX Annex D for the license expression syntax.  The licensing that the creators of the software in the package, or the packager, have declared. Declarations by the original software creator should be preferred, if they exist.

License expression for licenseInfoFromFiles. See SPDX Annex D for the license expression syntax.  The licensing information that was discovered directly within the package. There will be an instance of this property for each distinct value of alllicenseInfoInFile properties of all files contained in the package.

If the licenseInfoFromFiles field is not present for a package and filesAnalyzed property for that same pacakge is true or omitted, it implies an equivalent meaning to NOASSERTION.

Identify name of this SpdxElement.

The name and, optionally, contact information of the person or organization that originally created the package. Values of this property must conform to the agent and tool syntax.

The base name of the package file name. For example, zlib-1.2.5.tar.gz.

A file that was excluded when calculating the package verification code. This is usually a file containing SPDX data regarding the package. If a package contains more than one SPDX file all SPDX files must be excluded from the package verification code. If this is not done it would be impossible to correctly calculate the verification codes in both files.

The actual package verification code as a hex encoded value.

A manifest based verification code (the algorithm is defined in section 4.7 of the full specification) of the SPDX Item. This allows consumers of this data and/or database to determine if an SPDX item they have in hand is identical to the SPDX item from which the data was produced. This algorithm works even if the SPDX document is included in the SPDX item.

This field provides information about the primary purpose of the identified package. Package Purpose is intrinsic to how the package is being used rather than the content of the package.

OTHER INSTALL ARCHIVE FIRMWARE APPLICATION FRAMEWORK LIBRARY CONTAINER SOURCE DEVICE OPERATING_SYSTEM FILE

This field provides a place for recording the date the package was released.

Allows the producer(s) of the SPDX document to describe how the package was acquired and/or changed from the original source.

Provides a short description of the package.

The name and, optionally, contact information of the person or organization who was the immediate supplier of this package to the recipient. The supplier may be different than originator when the software has been repackaged. Values of this property must conform to the agent and tool syntax.

This field provides a place for recording the end of the support period for a package from the supplier.

Provides an indication of the version of the package that is described by this SpdxDocument.

Files referenced in the SPDX document

Uniquely identify any element in an SPDX document which may be referenced by other elements.

Provide additional information about an SpdxElement.

Type of the annotation.

An Annotation is a comment on an SpdxItem by an agent.

Indicates the project in which the SpdxElement originated. Tools must preserve doap:homepage and doap:name properties and the URI (if one is known) of doap:Project resources that are values of this property. All other properties of doap:Projects are not directly supported by SPDX and may be dropped when translating to or from some SPDX formats.

The checksumValue property provides a lower case hexidecimal encoded digest value produced using a specific algorithm.

This field provides a place for the SPDX file creator to record file contributors. Contributors could include names of copyright holders and/or authors who may not be copyright holders yet contributed to the file content.

SPDX ID for File.  This field is deprecated since SPDX 2.0 in favor of using Section 7 which provides more granularity about relationships.

The name of the file relative to the root of the package.

The type of the file.

The type of the file.

OTHER DOCUMENTATION IMAGE VIDEO ARCHIVE SPDX APPLICATION SOURCE BINARY TEXT AUDIO

License expression for licenseInfoInFile. See SPDX Annex D for the license expression syntax.  Licensing information that was discovered directly in the subject file. This is also considered a declared license for the file.

If the licenseInfoInFile field is not present for a file, it implies an equivalent meaning to NOASSERTION.

This field provides a place for the SPDX file creator to record potential legal notices found in the file. This may or may not include copyright statements.

Snippets referenced in the SPDX document

Uniquely identify any element in an SPDX document which may be referenced by other elements.

Provide additional information about an SpdxElement.

Type of the annotation.

An Annotation is a comment on an SpdxItem by an agent.

License expression for licenseInfoInSnippet. See SPDX Annex D for the license expression syntax.  Licensing information that was discovered directly in the subject snippet. This is also considered a declared license for the snippet.

If the licenseInfoInSnippet field is not present for a snippet, it implies an equivalent meaning to NOASSERTION.

Identify name of this SpdxElement.

This field defines the byte range in the original host file (in X.2) that the snippet information applies to

SPDX ID for File

Byte offset in the file

line number offset in the file

SPDX ID for File

Byte offset in the file

line number offset in the file

SPDX ID for File.  File containing the SPDX element (e.g. the file contaning a snippet).

Relationships referenced in the SPDX document

Id to which the SPDX element is related

SPDX ID for SpdxElement.  A related SpdxElement.

Describes the type of relationship between two SPDX elements.

SPDXID creationInfo dataLicense name spdxVersion

Provide a JSON object that satisfies the schema "SPDX 2.3". Here are the required top‑level fields: SPDXID, creationInfo, dataLicense, name, spdxVersion. Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"https://json-schema.org/draft/2019-09/schema","$id":"https://specif.de/v1.1/schema#","definitions":{"SpecifId":{"description":"A globally unique identifier.","type":"string","pattern":"^[_a-zA-Z]{1}[_a-zA-Z0-9.-]*$"},"SpecifAlternativeId":{"description":"A list of pointers to resources resp. statements which have been merged to this one.","type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId","description":"A string with a valid identifier of a model-element"},"revision":{"$ref":"#/definitions/SpecifRevision","description":"If missing, the latest revision is implied."},"project":{"$ref":"#/definitions/SpecifId","description":"A string with a valid project identifier in case the identifier is not globally unique."}},"additionalProperties":false,"required":["id"]},"SpecifAlternativeIds":{"description":"The list of consolidated items to be used in case a consolidated item shall be updated.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifAlternativeId"}},"SpecifRevision":{"description":"A globally unique revision tag with one or multiple blocks with alphanumeric characters separated by a special character [.:,;/-]. Sequential as well as branching/merging notations are possible.","type":"string","pattern":"^(?:[0-9a-zA-Z]+[.:,;/-])*[0-9a-zA-Z]+$"},"SpecifReplaces":{"description":"For change and configuration management; the first revision has 0 entries, a simple modification has 1 entry and the result of a merge has 2 entries.","type":"array","maxItems":2,"uniqueItems":true,"items":{"$ref":"#/definitions/SpecifRevision"}},"SpecifKey":{"description":"A key for a particular revision of an identifiable item, e.g. of a resource. A key consists of a globally unique identifier and a revision. No or an undefined revision means the latest revision of the identified item.","type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"revision":{"$ref":"#/definitions/SpecifRevision","description":"If missing, the latest revision is implied."}},"additionalProperties":false,"required":["id"]},"SpecifKeys":{"description":"A list of keys referencing items such as propertyClasses, resourceClasses or statementClasses; any list must have >0 entries including those of any parent element.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifKey"}},"SpecifRights":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"}},"required":["title","url"]},"SpecifOrg":{"type":"object","properties":{"organizationName":{"type":"string"}},"required":["organizationName"]},"SpecifCreatedBy":{"description":"The creator of the SpecIF data-set (file). If specified, at least an e-mail address must be given.","type":"object","properties":{"familyName":{"type":"string"},"givenName":{"type":"string"},"org":{"$ref":"#/definitions/SpecifOrg"},"email":{"type":"string","format":"email"}},"required":["email"]},"SpecifText":{"description":"A good class name indicates it's role. The use of a vocabulary-term is recommended, which in turn can be translated to any natural or domain language.","type":"string"},"SpecifTextFormat":{"type":"string","enum":["plain","xhtml"]},"SpecifMultiLanguageText":{"description":"A list of items with text and language properties. If the information is be provided in multiple languages, the language must be specified for proper selection; it is however not required by the schema to avoid a lot of overhead in most cases with a single language.","type":"array","uniqueItems":true,"items":{"type":"object","properties":{"text":{"description":"A string containing some text.","type":"string"},"format":{"$ref":"#/definitions/SpecifTextFormat","description":"By default, the format is assumed 'plain'."},"language":{"description":"An IETF language tag such as 'en', 'en-US, 'fr' or 'de'.","type":"string"}},"additionalProperties":false,"required":["text"]}},"SpecifValue":{"oneOf":[{"description":"For properties with a dataType other than 'xs:string'.","type":"string"},{"$ref":"#/definitions/SpecifMultiLanguageText","description":"For properties with dataType 'xs:string'."}]},"SpecifValues":{"description":"If 'multiple' of the propertyClass is undefined or false, the array must contain one item. If the value is unknown, omit the whole property. By default, the class' value applies.","type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/definitions/SpecifValue"}},"SpecifEnumeratedValue":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"value":{"$ref":"#/definitions/SpecifValue"}},"required":["id","value"]},"SpecifEnumeratedValues":{"type":"array","title":"Enumerated Values","description":"Enumerated values for the given dataType. If 'multiple' is true 0..n options may be selected, otherwise exactly one must be selected.","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifEnumeratedValue"}},"SpecifDateTime":{"description":"An ISO-8601 dateTime string. For reduced accuracy, any number of values may be dropped, but only from right to left.","type":"string","format":"date-time"},"SpecifIcon":{"description":"A symbol for display as a prefix to titles; applicable to all instances of the class. Is usually a XML-encoded UTF-8 symbol, can be an URL or dataURL.","type":"string"},"SpecifInstantiation":{"description":"Indicates whether an instance of the class is created automatically, manually or both. All is allowed, if the property is omitted. The class is abstract and cannot be instantiated, if the property list is present, but empty.","type":"array","uniqueItems":true,"items":{"type":"string","enum":["auto","user"]}},"SpecifDataType":{"oneOf":[{"type":"object","properties":{"type":{"description":"The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.","type":"string","title":"Data-type 'Boolean'","enum":["xs:boolean"]},"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","type","changedAt"]},{"type":"object","properties":{"type":{"description":"The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.","type":"string","title":"Data-type 'dateTime', 'duration' or 'URI'","enum":["xs:dateTime","xs:duration","xs:anyURI"]},"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"enumeration":{"$ref":"#/definitions/SpecifEnumeratedValues","description":"An optional list of values to choose from for a specific instance; multiple values are allowed, if 'multiple' is set to 'true'."},"multiple":{"description":"Indicates whether multiple values are allowed; by default the value is 'false'.","type":"boolean"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","type","changedAt"]},{"type":"object","properties":{"type":{"description":"The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.","type":"string","title":"Data-type 'Integer'","enum":["xs:integer"]},"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"minInclusive":{"type":"number","title":"Minimum Value of a Number","description":"Optional use by dataTypes 'xs:integer' and 'xs:double'."},"maxInclusive":{"type":"number","title":"Maximum Value of a Number","description":"Optional use by dataTypes 'xs:integer' and 'xs:double'."},"enumeration":{"$ref":"#/definitions/SpecifEnumeratedValues","description":"An optional list of values to choose from for a specific instance; multiple values are allowed, if 'multiple' is set to 'true'."},"multiple":{"description":"Indicates whether multiple values are allowed; by default the value is 'false'.","type":"boolean"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","type","changedAt"]},{"type":"object","properties":{"type":{"description":"The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.","type":"string","title":"Data-type 'Double'","enum":["xs:double"]},"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"fractionDigits":{"description":"Optional use by dataType 'xs:double', indicates the number of decimals.","type":"integer","title":"Number of fraction digits of a Decimal Number","minimum":1},"minInclusive":{"description":"Optional use by dataTypes 'xs:integer' and 'xs:double'.","type":"number","title":"Minimum Value of a Number"},"maxInclusive":{"description":"Optional use by dataTypes 'xs:integer' and 'xs:double'.","type":"number","title":"Maximum Value of a Number"},"enumeration":{"$ref":"#/definitions/SpecifEnumeratedValues","description":"An optional list of values to choose from for a specific instance; multiple values are allowed, if 'multiple' is set to 'true'."},"multiple":{"description":"Indicates whether multiple values are allowed; by default the value is 'false'.","type":"boolean"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","type","changedAt"]},{"type":"object","properties":{"type":{"description":"The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.","type":"string","title":"Data-type 'String' with plain or formatted text. The property's text object MAY specify the format and language.","enum":["xs:string"]},"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"maxLength":{"description":"Optional use by dataType 'xs:string'.","type":"integer","title":"Maximum String Length","minimum":0},"enumeration":{"$ref":"#/definitions/SpecifEnumeratedValues","description":"An optional list of values to choose from for a specific instance; multiple values are allowed, if 'multiple' is set to 'true'."},"multiple":{"description":"Indicates whether multiple values are allowed; by default the value is 'false'.","type":"boolean"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","type","changedAt"]}]},"SpecifPropertyClass":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"dataType":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of dataTypes."},"multiple":{"description":"Optional use by all propertyClasses. Indicates whether multiple values can be given. If omitted, the 'multiple' property of the dataType applies; by default the value is 'false'.","type":"boolean"},"values":{"$ref":"#/definitions/SpecifValues","description":"An optional list of default values in case the instantiated resource's or statement's property is missing."},"format":{"$ref":"#/definitions/SpecifTextFormat","description":"The default format of a property's text value. Is superseded by a text value's format attribute."},"unit":{"description":"The unit of a property's numeric value; preferably an SI unit symbol such as 'm^3/kg' (Syst\u00e8me international (d'unit\u00e9s)) or a currency symbol.","type":"string"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","dataType","changedAt"]},"SpecifResourceClass":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"extends":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of resourceClasses."},"icon":{"$ref":"#/definitions/SpecifIcon"},"isHeading":{"type":"boolean"},"instantiation":{"$ref":"#/definitions/SpecifInstantiation"},"propertyClasses":{"$ref":"#/definitions/SpecifKeys","description":"A list of keys referencing propertyClasses; a base resourceClass must have at least one propertyClass, whereas an extending class may have none."},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","propertyClasses","changedAt"]},"SpecifStatementClass":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifText"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"extends":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of statementClasses."},"icon":{"$ref":"#/definitions/SpecifIcon"},"instantiation":{"$ref":"#/definitions/SpecifInstantiation"},"isUndirected":{"description":"Indicates that an instance's subject and object are equivalent and can be exchanged without change in meaning.","type":"boolean"},"propertyClasses":{"$ref":"#/definitions/SpecifKeys","description":"A list of keys referencing propertyClasses; a statementClass may exist without propertyClasses."},"subjectClasses":{"$ref":"#/definitions/SpecifKeys","description":"A list of keys referencing eligible resource and statement classes for a statement's subject; if missing, all resource or statement classes are eligible."},"objectClasses":{"$ref":"#/definitions/SpecifKeys","description":"A list of keys referencing eligible resource and statement classes for a statement's object; if missing, all resource or statement classes are eligible."},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"additionalProperties":false,"required":["id","title","changedAt"]},"SpecifProperty":{"type":"object","properties":{"class":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of 'propertyClasses'. In addition, it must be listed in the propertyClasses of the respective resource's or statement's (or any of it's parent's) class."},"values":{"$ref":"#/definitions/SpecifValues"}},"required":["class","values"]},"SpecifProperties":{"description":"A list of properties of a resource or statement; the number of properties including any parent's properties must be >0.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifProperty"}},"SpecifResource":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"alternativeIds":{"$ref":"#/definitions/SpecifAlternativeIds"},"class":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of resourceClasses."},"language":{"description":"An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the resource. Is superseded by a property's language value.","type":"string"},"properties":{"$ref":"#/definitions/SpecifProperties"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"required":["id","class","properties","changedAt"]},"SpecifStatement":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"alternativeIds":{"$ref":"#/definitions/SpecifAlternativeIds"},"class":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of statementClasses."},"language":{"description":"An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the statement. Is superseded by a property's language value.","type":"string"},"subject":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of resources or statements."},"object":{"$ref":"#/definitions/SpecifKey","description":"Must be a member of resources or statements."},"properties":{"$ref":"#/definitions/SpecifProperties","description":"If there is no title property, the statementClass' title applies."},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"required":["id","class","subject","object","changedAt"]},"SpecifNode":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"title":{"$ref":"#/definitions/SpecifMultiLanguageText","description":"The node's label; if missing, the value of the referenced resource's title property is applied."},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"resource":{"$ref":"#/definitions/SpecifKey","description":"The pointer to the resource to be displayed at this position."},"nodes":{"$ref":"#/definitions/SpecifNodes","description":"The next hierarchy level."},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"required":["id","resource","changedAt"]},"SpecifNodes":{"description":"A list of pointers to resources; may be nested forming a tree, i.e. a hierarchy of pointers.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifNode"}},"SpecifFile":{"type":"object","properties":{"id":{"$ref":"#/definitions/SpecifId"},"title":{"description":"The file's name.","type":"string"},"description":{"$ref":"#/definitions/SpecifMultiLanguageText"},"url":{"description":"An absolute or relative URL to the file; will be of format 'uri-reference' in future. If missing, the title applies.","type":"string"},"type":{"description":"The file's media type (formerly MIME-type) according to https://www.iana.org/assignments/media-types/media-types.xhtml.","type":"string"},"revision":{"$ref":"#/definitions/SpecifRevision"},"replaces":{"$ref":"#/definitions/SpecifReplaces"},"changedAt":{"$ref":"#/definitions/SpecifDateTime"},"changedBy":{"type":"string"}},"required":["id","title","type","changedAt"]}},"description":"The Specification Integration Facility (SpecIF) integrates partial system models from different methods and tools in a semantic net. Collaborators shall browse, search and audit engineering results in a common context. Also, the exchange of model information between organizations and tools is facilitated. SpecIF represents the visible, i.e. the diagrams and the text, as well as the semantics of system specifications.","properties":{"$schema":{"description":"An absolute URL pointing to this SpecIF schema. Supports both specif.de and schemastore.org.","type":"string","format":"uri","pattern":"^https?:\\/\\/(specif\\.de\\/v1\\.1\\/schema|json\\.schemastore\\.org\\/specif-1\\.1)\\.json$"},"id":{"$ref":"#/definitions/SpecifId"},"revision":{"$ref":"#/definitions/SpecifRevision"},"title":{"$ref":"#/definitions/SpecifMultiLanguageText","description":"The project's name; if missing, the first hierarchy node's title applies."},"description":{"$ref":"#/definitions/SpecifMultiLanguageText","description":"The project's description; if missing, the first hierarchy node's description applies."},"isExtension":{"description":"Indicates that the project is not schema-compliant on its own; by default the value is 'false'. Of course, it is expected that once extended the project is schema-compliant.","type":"boolean"},"generator":{"type":"string"},"generatorVersion":{"type":"string"},"rights":{"$ref":"#/definitions/SpecifRights"},"createdAt":{"$ref":"#/definitions/SpecifDateTime"},"createdBy":{"$ref":"#/definitions/SpecifCreatedBy"},"language":{"description":"An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the project. Is superseded by a resource's, statement's or property's language value. By default, 'en' is assumed.","type":"string"},"dataTypes":{"description":"The base data types for use by property class definitions.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifDataType"}},"propertyClasses":{"description":"Class definition of a property for resources or statements. Is a sub-element of the respective resourceClass or statementClass. If no revision or change information is specified, the respective values of the parent element apply.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifPropertyClass"}},"resourceClasses":{"description":"The class definitions for resources.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifResourceClass"}},"statementClasses":{"description":"The class definitions for statements in subject-predicate-object statements, where subject and object are resources.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifStatementClass"}},"resources":{"description":"The resources such as diagrams, model elements or requirements.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifResource"}},"statements":{"description":"Subject-predicate-Object statements, where subject and object are resources. In other terms, statements are directed relations between two resources building a semantic net.","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifStatement"}},"hierarchies":{"$ref":"#/definitions/SpecifNodes","description":"A list of hierarchies with pointers to resources; may be nested to build a tree, i.e. a hierarchy of pointers."},"files":{"description":"A list of files being referenced by a resource's or statement's property of dataType XHTML using an <object> tag. A file should have a media type as defined by IANA (see below).","type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/SpecifFile"}}},"required":["$schema","id","dataTypes","propertyClasses","resourceClasses","statementClasses","resources","statements","hierarchies"],"title":"JSON-Schema for SpecIF v1.1","type":"object"}
</schema>

[User] Provide a JSON object that satisfies the schema "JSON-Schema for SpecIF v1.1". Here are the required top‑level fields: $schema, id, dataTypes, propertyClasses, resourceClasses, statementClasses, resources, statements, hierarchies. Return only the valid JSON object.

A globally unique identifier.

A list of pointers to resources resp. statements which have been merged to this one.

A string with a valid identifier of a model-element

If missing, the latest revision is implied.

A string with a valid project identifier in case the identifier is not globally unique.

The list of consolidated items to be used in case a consolidated item shall be updated.

A globally unique revision tag with one or multiple blocks with alphanumeric characters separated by a special character [.:,;/-]. Sequential as well as branching/merging notations are possible.

For change and configuration management; the first revision has 0 entries, a simple modification has 1 entry and the result of a merge has 2 entries.

A key for a particular revision of an identifiable item, e.g. of a resource. A key consists of a globally unique identifier and a revision. No or an undefined revision means the latest revision of the identified item.

A list of keys referencing items such as propertyClasses, resourceClasses or statementClasses; any list must have >0 entries including those of any parent element.

The creator of the SpecIF data-set (file). If specified, at least an e-mail address must be given.

A good class name indicates it's role. The use of a vocabulary-term is recommended, which in turn can be translated to any natural or domain language.

A list of items with text and language properties. If the information is be provided in multiple languages, the language must be specified for proper selection; it is however not required by the schema to avoid a lot of overhead in most cases with a single language.

A string containing some text.

By default, the format is assumed 'plain'.

An IETF language tag such as 'en', 'en-US, 'fr' or 'de'.

For properties with a dataType other than 'xs:string'.

For properties with dataType 'xs:string'.

If 'multiple' of the propertyClass is undefined or false, the array must contain one item. If the value is unknown, omit the whole property. By default, the class' value applies.

Enumerated Values

Enumerated values for the given dataType. If 'multiple' is true 0..n options may be selected, otherwise exactly one must be selected.

An ISO-8601 dateTime string. For reduced accuracy, any number of values may be dropped, but only from right to left.

A symbol for display as a prefix to titles; applicable to all instances of the class. Is usually a XML-encoded UTF-8 symbol, can be an URL or dataURL.

Indicates whether an instance of the class is created automatically, manually or both. All is allowed, if the property is omitted. The class is abstract and cannot be instantiated, if the property list is present, but empty.

The corresponding definition in https://www.w3.org/TR/xmlschema-2/ applies.

Data-type 'Boolean'

Data-type 'dateTime', 'duration' or 'URI'

An optional list of values to choose from for a specific instance; multiple values are allowed, if 'multiple' is set to 'true'.

Indicates whether multiple values are allowed; by default the value is 'false'.

Data-type 'Integer'

Minimum Value of a Number

Optional use by dataTypes 'xs:integer' and 'xs:double'.

Maximum Value of a Number

Data-type 'Double'

Optional use by dataType 'xs:double', indicates the number of decimals.

Number of fraction digits of a Decimal Number

Minimum Value of a Number

Maximum Value of a Number

Data-type 'String' with plain or formatted text. The property's text object MAY specify the format and language.

Optional use by dataType 'xs:string'.

Maximum String Length

Must be a member of dataTypes.

Optional use by all propertyClasses. Indicates whether multiple values can be given. If omitted, the 'multiple' property of the dataType applies; by default the value is 'false'.

An optional list of default values in case the instantiated resource's or statement's property is missing.

The default format of a property's text value. Is superseded by a text value's format attribute.

The unit of a property's numeric value; preferably an SI unit symbol such as 'm^3/kg' (Système international (d'unités)) or a currency symbol.

Must be a member of resourceClasses.

A list of keys referencing propertyClasses; a base resourceClass must have at least one propertyClass, whereas an extending class may have none.

Must be a member of statementClasses.

Indicates that an instance's subject and object are equivalent and can be exchanged without change in meaning.

A list of keys referencing propertyClasses; a statementClass may exist without propertyClasses.

A list of keys referencing eligible resource and statement classes for a statement's subject; if missing, all resource or statement classes are eligible.

A list of keys referencing eligible resource and statement classes for a statement's object; if missing, all resource or statement classes are eligible.

Must be a member of 'propertyClasses'. In addition, it must be listed in the propertyClasses of the respective resource's or statement's (or any of it's parent's) class.

A list of properties of a resource or statement; the number of properties including any parent's properties must be >0.

Must be a member of resourceClasses.

An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the resource. Is superseded by a property's language value.

Must be a member of statementClasses.

An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the statement. Is superseded by a property's language value.

Must be a member of resources or statements.

If there is no title property, the statementClass' title applies.

The node's label; if missing, the value of the referenced resource's title property is applied.

The pointer to the resource to be displayed at this position.

The next hierarchy level.

A list of pointers to resources; may be nested forming a tree, i.e. a hierarchy of pointers.

The file's name.

An absolute or relative URL to the file; will be of format 'uri-reference' in future. If missing, the title applies.

The file's media type (formerly MIME-type) according to https://www.iana.org/assignments/media-types/media-types.xhtml.

The Specification Integration Facility (SpecIF) integrates partial system models from different methods and tools in a semantic net. Collaborators shall browse, search and audit engineering results in a common context. Also, the exchange of model information between organizations and tools is facilitated. SpecIF represents the visible, i.e. the diagrams and the text, as well as the semantics of system specifications.

An absolute URL pointing to this SpecIF schema. Supports both specif.de and schemastore.org.

The project's name; if missing, the first hierarchy node's title applies.

The project's description; if missing, the first hierarchy node's description applies.

Indicates that the project is not schema-compliant on its own; by default the value is 'false'. Of course, it is expected that once extended the project is schema-compliant.

An IETF language tag such as 'en', 'en-US, 'fr' or 'de' showing the used language of the project. Is superseded by a resource's, statement's or property's language value. By default, 'en' is assumed.

The base data types for use by property class definitions.

Class definition of a property for resources or statements. Is a sub-element of the respective resourceClass or statementClass. If no revision or change information is specified, the respective values of the parent element apply.

The class definitions for resources.

The class definitions for statements in subject-predicate-object statements, where subject and object are resources.

The resources such as diagrams, model elements or requirements.

Subject-predicate-Object statements, where subject and object are resources. In other terms, statements are directed relations between two resources building a semantic net.

A list of hierarchies with pointers to resources; may be nested to build a tree, i.e. a hierarchy of pointers.

A list of files being referenced by a resource's or statement's property of dataType XHTML using an <object> tag. A file should have a media type as defined by IANA (see below).

$schema id dataTypes propertyClasses resourceClasses statementClasses resources statements hierarchies

JSON-Schema for SpecIF v1.1

Provide a JSON object that satisfies the schema "JSON-Schema for SpecIF v1.1". Here are the required top‑level fields: $schema, id, dataTypes, propertyClasses, resourceClasses, statementClasses, resources, statements, hierarchies. Return only the valid JSON object.