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
opencomputeproject/ocp-diag-core
b4d718dab6d287c3529846a19b87b8ee406fd628
2022-08-30T21:38:52
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "required": [ "testStepId", "error" ] }, { "required": [ "testStepId", "log" ] }, { "required": [ "testStepId", "file" ] } ], "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" }, "file": { "$ref": "#/$defs/file" }, "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "title": "Step artifact" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/error.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/error", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "message": { "description": "TODO: link to md doc", "type": "string" }, "softwareInfoIds": { "$comment": "this may need additional schema to make it an ID", "description": "TODO: link to md doc", "items": { "type": "string" }, "type": "array" }, "symptom": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "symptom" ], "title": "Error" }
MIT
en
opencomputeproject/ocp-diag-core
4c4da3705a83cbc7f68ae667450be7c25f1fe4d5
2022-08-30T23:50:52
json_spec/output/test_step_end.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "status": { "$ref": "/opencomputeproject/ocp-diag-core/testStatus", "description": "TODO: link to md doc" } }, "required": [ "status" ], "title": "Test step end" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/validator.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "type": { "description": "TODO: link to md doc", "enum": [ "EQUAL", "NOT_EQUAL", "LESS_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN", "GREATER_THAN_OR_EQUAL", "REGEX_MATCH", "REGEX_NO_MATCH", "IN_SET", "NOT_IN_SET" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/validator", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "type": { "$ref": "#/$defs/type", "description": "TODO: link to md doc" }, "value": { "description": "TODO: link to md doc", "type": [ "string", "boolean", "number" ] } }, "required": [ "type", "value" ], "title": "Measurement validator" }
MIT
en
opencomputeproject/ocp-diag-core
be9fa8779b277a9930b59381ff1fcea7ff0bb743
2022-10-12T14:55:07
json_spec/output/root.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "schemaVersion": { "properties": { "major": { "const": 2 }, "minor": { "const": 0 } }, "required": [ "major", "minor" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/output", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to spec md link", "oneOf": [ { "properties": { "schemaVersion": { "$ref": "#/$defs/schemaVersion", "description": "TODO: link to spec md link" } }, "required": [ "schemaVersion" ] }, { "properties": { "testRunArtifact": { "$ref": "/opencomputeproject/ocp-diag-core/testRunArtifact", "description": "TODO: link to md" } }, "required": [ "testRunArtifact" ] }, { "properties": { "testStepArtifact": { "$ref": "/opencomputeproject/ocp-diag-core/testStepArtifact", "description": "TODO: link to md" } }, "required": [ "testStepArtifact" ] } ], "properties": { "sequenceNumber": { "description": "TODO: link to spec md link", "minimum": 0, "type": "integer" }, "timestamp": { "description": "TODO: link to spec md link", "format": "date-time", "type": "string" } }, "required": [ "sequenceNumber", "timestamp" ], "title": "OutputArtifact", "unevaluatedProperties": false }
MIT
en
opencomputeproject/ocp-diag-core
10847108de11c6f4618b0b3a593eac8d5e70c096
2022-08-30T21:38:58
json_spec/output/diagnosis.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "type": { "description": "TODO: link to md doc", "enum": [ "PASS", "FAIL", "UNKNOWN" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/diagnosis", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "hardwareInfoId": { "description": "TODO: link to md", "type": "string" }, "message": { "description": "TODO: link to md", "type": "string" }, "subcomponent": { "$ref": "/opencomputeproject/ocp-diag-core/subcomponent", "description": "TODO: link to md" }, "type": { "$ref": "#/$defs/type", "description": "TODO: link to md" }, "verdict": { "description": "TODO: link to md", "type": "string" } }, "required": [ "verdict", "type" ], "title": "Diagnosis" }
MIT
en
opencomputeproject/ocp-diag-core
f14ea7773fad54a1df56754d398c71e7dbe3685e
2022-08-30T23:50:55
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] }, "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testStepStart": { "$ref": "/opencomputeproject/ocp-diag-core/testStepStart", "description": "TODO: link to md" } }, "required": [ "testStepStart" ] }, { "properties": { "testStepEnd": { "$ref": "/opencomputeproject/ocp-diag-core/testStepEnd", "description": "TODO: link to md" } }, "required": [ "testStepEnd" ] }, { "properties": { "measurement": { "$ref": "/opencomputeproject/ocp-diag-core/measurement", "description": "TODO: link to md" } }, "required": [ "measurement" ] }, { "properties": { "measurementSeriesStart": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesStart", "description": "TODO: link to md" } }, "required": [ "measurementSeriesStart" ] }, { "properties": { "measurementSeriesEnd": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesEnd", "description": "TODO: link to md" } }, "required": [ "measurementSeriesEnd" ] }, { "properties": { "measurementSeriesElement": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesElement", "description": "TODO: link to md" } }, "required": [ "measurementSeriesElement" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "#/$defs/file" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact" }
MIT
en
opencomputeproject/ocp-diag-core
cb7fce911db8ff75e540eb031a0e6aae5644cf68
2023-02-22T03:19:45
json_spec/output/source_location.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/sourceLocation", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Provides information about which file/line of the source code in the diagnostic package generates the output. See more details: https://github.com/opencomputeproject/ocp-diag-core/blob/main/json_spec/README.md#sourcelocation", "properties": { "file": { "description": "A part of the full path of the code generates the output. See file field in https://github.com/opencomputeproject/ocp-diag-core/blob/main/json_spec/README.md#sourcelocation", "type": "string" }, "line": { "description": "The line number in the file generates the output. See line field in https://github.com/opencomputeproject/ocp-diag-core/blob/main/json_spec/README.md#sourcelocation", "type": "number" } }, "required": [ "file", "line" ], "title": "Source Location" }
MIT
en
opencomputeproject/ocp-diag-core
3a75d8938a2578acb2663db64ad7b480b6462a55
2022-08-30T23:50:53
json_spec/output/validator.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "type": { "description": "TODO: link to md doc", "enum": [ "EQUAL", "NOT_EQUAL", "LESS_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN", "GREATER_THAN_OR_EQUAL", "REGEX_MATCH", "REGEX_NO_MATCH", "IN_SET", "NOT_IN_SET" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/validator", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "type": { "$ref": "#/$defs/type", "description": "TODO: link to md doc" }, "value": { "description": "TODO: link to md doc", "type": [ "string", "boolean", "number" ] } }, "required": [ "type", "value" ], "title": "Measurement validator" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] }, "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testStepStart": { "$ref": "/opencomputeproject/ocp-diag-core/testStepStart", "description": "TODO: link to md" } }, "required": [ "testStepStart" ] }, { "properties": { "testStepEnd": { "$ref": "/opencomputeproject/ocp-diag-core/testStepEnd", "description": "TODO: link to md" } }, "required": [ "testStepEnd" ] }, { "properties": { "measurement": { "$ref": "/opencomputeproject/ocp-diag-core/measurement", "description": "TODO: link to md" } }, "required": [ "measurement" ] }, { "properties": { "measurementSeriesStart": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesStart", "description": "TODO: link to md" } }, "required": [ "measurementSeriesStart" ] }, { "properties": { "measurementSeriesEnd": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesEnd", "description": "TODO: link to md" } }, "required": [ "measurementSeriesEnd" ] }, { "properties": { "measurementSeriesElement": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesElement", "description": "TODO: link to md" } }, "required": [ "measurementSeriesElement" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "#/$defs/file" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact", "unevaluatedProperties": false }
MIT
en
opencomputeproject/ocp-diag-core
50465975e20dccfbd622471e4639a139a53706cd
2023-02-22T03:18:19
json_spec/output/source_location.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/sourceLocation", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "file": { "description": "TODO: link to md doc", "type": "string" }, "line": { "description": "TODO: link to md doc", "type": "number" } }, "required": [ "file", "line" ], "title": "Source Location" }
MIT
en
opencomputeproject/ocp-diag-core
0cc951ded8268432eb806e417c0f8c381e9e19a8
2022-08-30T23:50:54
json_spec/output/measurement_series_end.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/measurementSeriesEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "measurementSeriesId": { "description": "TODO: link to md doc", "type": "string" }, "totalCount": { "description": "TODO: link to md doc", "minimum": 0, "type": "integer" } }, "required": [ "measurementSeriesId", "totalCount" ], "title": "measurementSeriesEnd" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/test_run_end.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "testResult": { "description": "TODO: link to md doc", "enum": [ "NOT_APPLICABLE", "PASS", "FAIL" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "result": { "$ref": "#/$defs/testResult", "description": "TODO: link to md doc" }, "status": { "$ref": "/opencomputeproject/ocp-diag-core/testStatus", "description": "TODO: link to md doc" } }, "required": [ "status", "result" ], "title": "Test run end" }
MIT
en
opencomputeproject/ocp-diag-core
eb10e9d9b149c38e0d1a6df5e5c137f91d57f333
2022-08-30T23:50:50
json_spec/output/test_run_end.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "testResult": { "description": "TODO: link to md doc", "enum": [ "NOT_APPLICABLE", "PASS", "FAIL" ], "type": "string" }, "testStatus": { "description": "TODO: link to md doc", "enum": [ "COMPLETE", "ERROR", "SKIP" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "result": { "$ref": "#/$defs/testResult", "description": "TODO: link to md doc" }, "status": { "$ref": "#/$defs/testStatus", "description": "TODO: link to md doc" } }, "required": [ "status", "result" ], "title": "Test run end" }
MIT
en
opencomputeproject/ocp-diag-core
3cbf8e4fd20f675c7bb9d49bfd218564df72e94e
2022-08-30T00:44:33
json_spec/output/error.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/error", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "message": { "description": "TODO: link to md doc", "type": "string" }, "softwareInfoIds": { "$comment": "this may need additional schema to make it an ID", "description": "TODO: link to md doc", "items": { "type": "string" }, "type": "array" }, "symptom": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "symptom" ], "title": "Error" }
MIT
en
opencomputeproject/ocp-diag-core
cb7fce911db8ff75e540eb031a0e6aae5644cf68
2023-02-22T03:19:45
json_spec/output/log.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "severity": { "description": "TODO: link to md doc", "enum": [ "INFO", "DEBUG", "WARNING", "ERROR", "FATAL" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/log", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "message": { "description": "TODO: link to md doc", "type": "string" }, "severity": { "$ref": "#/$defs/severity", "description": "TODO: link to md doc" }, "sourceLocation": { "$ref": "/opencomputeproject/ocp-diag-core/sourceLocation", "description": "SourceLocation information for debugging or tracing program execution. See sourceLocation field in https://github.com/opencomputeproject/ocp-diag-core/blob/main/json_spec/README.md#sourcelocation" } }, "required": [ "severity", "message" ], "title": "Log" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/measurement_series_start.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/measurementSeriesStart", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "hardwareInfoId": { "description": "TODO: link to md doc", "type": "string" }, "measurementSeriesId": { "description": "TODO: link to md doc", "type": "string" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "subcomponent": { "$ref": "/opencomputeproject/ocp-diag-core/subcomponent", "description": "TODO: link to md doc" }, "unit": { "description": "TODO: link to md doc", "type": "string" }, "validators": { "description": "TODO: link to md doc", "items": { "$ref": "/opencomputeproject/ocp-diag-core/validator" }, "type": "array" } }, "required": [ "name", "measurementSeriesId" ], "title": "Measurement series start" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/dut_info.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "hardwareInfo": { "additionalProperties": false, "properties": { "computerSystem": { "description": "TODO: link to md doc", "type": "string" }, "hardwareInfoId": { "description": "TODO: link to md doc", "type": "string" }, "location": { "description": "TODO: link to md doc", "type": "string" }, "manager": { "description": "TODO: link to md doc", "type": "string" }, "manufacturer": { "description": "TODO: link to md doc", "type": "string" }, "manufacturerPartNumber": { "description": "TODO: link to md doc", "type": "string" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "odataId": { "description": "TODO: link to md doc", "type": "string" }, "partNumber": { "description": "TODO: link to md doc", "type": "string" }, "partType": { "description": "TODO: link to md doc", "type": "string" }, "revision": { "description": "TODO: link to md doc", "type": "string" }, "serialNumber": { "description": "TODO: link to md doc", "type": "string" }, "version": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name", "hardwareInfoId" ] }, "platformInfo": { "additionalProperties": false, "properties": { "info": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "info" ] }, "softwareInfo": { "additionalProperties": false, "properties": { "computerSystem": { "description": "TODO: link to md doc", "type": "string" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "revision": { "description": "TODO: link to md doc", "type": "string" }, "softwareInfoId": { "description": "TODO: link to md doc", "type": "string" }, "softwareType": { "description": "TODO: link to md doc", "enum": [ "UNSPECIFIED", "FIRMWARE", "SYSTEM", "APPLICATION" ], "type": "string" }, "version": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name", "softwareInfoId" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/dutInfo", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "hardwareInfos": { "description": "TODO: link to md doc", "items": { "$ref": "#/$defs/hardwareInfo" }, "type": "array" }, "hostname": { "description": "TODO: link to md doc", "type": "string" }, "id": { "description": "TODO: link to md doc", "type": "string" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "platformInfos": { "description": "TODO: link to md doc", "items": { "$ref": "#/$defs/platformInfo" }, "type": "array" }, "softwareInfos": { "description": "TODO: link to md doc", "items": { "$ref": "#/$defs/softwareInfo" }, "type": "array" } }, "required": [ "id" ], "title": "Dut info" }
MIT
en
opencomputeproject/ocp-diag-core
673b9139c7a8baedb6af277ff82403f15636c9e4
2022-08-30T23:50:51
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] }, "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testStepStart": { "$ref": "/opencomputeproject/ocp-diag-core/testStepStart", "description": "TODO: link to md" } }, "required": [ "testStepStart" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "#/$defs/file" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact" }
MIT
en
opencomputeproject/ocp-diag-core
2ad6ade6e0946faf01bafacb500016f5d4ee9bbc
2022-08-30T23:50:43
json_spec/output/test_run_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testRunStart": { "$ref": "/opencomputeproject/ocp-diag-core/testRunStart", "description": "TODO: link to md" } }, "required": [ "testRunStart" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] } ], "title": "Test run artifact" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/test_run_start.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "parameters": { "$comment": "will be extracted in the future, when spec is published", "description": "TODO: link to md doc", "type": "object" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunStart", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "commandLine": { "description": "TODO: link to md doc", "type": "string" }, "dutInfo": { "$ref": "/opencomputeproject/ocp-diag-core/dutInfo", "description": "TODO: link to md doc" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "parameters": { "$ref": "#/$defs/parameters", "description": "TODO: link to md doc" }, "version": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name", "version", "commandLine", "parameters", "dutInfo" ], "title": "Test run start" }
MIT
en
opencomputeproject/ocp-diag-core
be9fa8779b277a9930b59381ff1fcea7ff0bb743
2022-10-12T14:55:07
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testStepStart": { "$ref": "/opencomputeproject/ocp-diag-core/testStepStart", "description": "TODO: link to md" } }, "required": [ "testStepStart" ] }, { "properties": { "testStepEnd": { "$ref": "/opencomputeproject/ocp-diag-core/testStepEnd", "description": "TODO: link to md" } }, "required": [ "testStepEnd" ] }, { "properties": { "measurement": { "$ref": "/opencomputeproject/ocp-diag-core/measurement", "description": "TODO: link to md" } }, "required": [ "measurement" ] }, { "properties": { "measurementSeriesStart": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesStart", "description": "TODO: link to md" } }, "required": [ "measurementSeriesStart" ] }, { "properties": { "measurementSeriesEnd": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesEnd", "description": "TODO: link to md" } }, "required": [ "measurementSeriesEnd" ] }, { "properties": { "measurementSeriesElement": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesElement", "description": "TODO: link to md" } }, "required": [ "measurementSeriesElement" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "/opencomputeproject/ocp-diag-core/file", "description": "TODO: link to md" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact", "unevaluatedProperties": false }
MIT
en
opencomputeproject/ocp-diag-core
4c4da3705a83cbc7f68ae667450be7c25f1fe4d5
2022-08-30T23:50:52
json_spec/output/test_run_end.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "testResult": { "description": "TODO: link to md doc", "enum": [ "NOT_APPLICABLE", "PASS", "FAIL" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "result": { "$ref": "#/$defs/testResult", "description": "TODO: link to md doc" }, "status": { "$ref": "/opencomputeproject/ocp-diag-core/testStatus", "description": "TODO: link to md doc" } }, "required": [ "status", "result" ], "title": "Test run end" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/diagnosis.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "type": { "description": "TODO: link to md doc", "enum": [ "PASS", "FAIL", "UNKNOWN" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/diagnosis", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "hardwareInfoId": { "description": "TODO: link to md", "type": "string" }, "message": { "description": "TODO: link to md", "type": "string" }, "subcomponent": { "$ref": "/opencomputeproject/ocp-diag-core/subcomponent", "description": "TODO: link to md" }, "type": { "$ref": "#/$defs/type", "description": "TODO: link to md" }, "verdict": { "description": "TODO: link to md", "type": "string" } }, "required": [ "verdict", "type" ], "title": "Diagnosis" }
MIT
en
opencomputeproject/ocp-diag-core
4c70c047596984fb05d97cca8f349b8019c23b3b
2022-08-30T21:38:59
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] }, "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "#/$defs/file" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact" }
MIT
en
opencomputeproject/ocp-diag-core
be9fa8779b277a9930b59381ff1fcea7ff0bb743
2022-10-12T14:55:07
json_spec/output/file.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/file", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ], "title": "File" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/test_step_end.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepEnd", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "status": { "$ref": "/opencomputeproject/ocp-diag-core/testStatus", "description": "TODO: link to md doc" } }, "required": [ "status" ], "title": "Test step end" }
MIT
en
opencomputeproject/ocp-diag-core
673b9139c7a8baedb6af277ff82403f15636c9e4
2022-08-30T23:50:51
json_spec/output/test_step_start.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepStart", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "name": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name" ], "title": "Test step start" }
MIT
en
opencomputeproject/ocp-diag-core
50465975e20dccfbd622471e4639a139a53706cd
2023-02-22T03:18:19
json_spec/output/error.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/error", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "message": { "description": "TODO: link to md doc", "type": "string" }, "softwareInfoIds": { "$comment": "this may need additional schema to make it an ID", "description": "TODO: link to md doc", "items": { "type": "string" }, "type": "array" }, "sourceLocation": { "$ref": "/opencomputeproject/ocp-diag-core/sourceLocation", "description": "TODO: link to md doc" }, "symptom": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "symptom" ], "title": "Error" }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/root.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "schemaVersion": { "properties": { "major": { "const": 2 }, "minor": { "const": 0 } }, "required": [ "major", "minor" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/output", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to spec md link", "oneOf": [ { "properties": { "schemaVersion": { "$ref": "#/$defs/schemaVersion", "description": "TODO: link to spec md link" } }, "required": [ "schemaVersion" ] }, { "properties": { "testRunArtifact": { "$ref": "/opencomputeproject/ocp-diag-core/testRunArtifact", "description": "TODO: link to md" } }, "required": [ "testRunArtifact" ] }, { "properties": { "testStepArtifact": { "$ref": "/opencomputeproject/ocp-diag-core/testStepArtifact", "description": "TODO: link to md" } }, "required": [ "testStepArtifact" ] } ], "properties": { "sequenceNumber": { "description": "TODO: link to spec md link", "maximum": 2147483647, "minimum": 0, "type": "integer" }, "timestamp": { "description": "TODO: link to spec md link", "format": "date-time", "type": "string" } }, "required": [ "sequenceNumber", "timestamp" ], "title": "OutputArtifact", "unevaluatedProperties": false }
MIT
en
opencomputeproject/ocp-diag-core
712f5a7daff0229418fdf052b3b6a4e667632c6d
2022-08-30T23:50:56
json_spec/output/subcomponent.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "type": { "description": "TODO: link to md doc", "enum": [ "UNSPECIFIED", "ASIC", "ASIC-SUBSYSTEM", "BUS", "FUNCTION", "CONNECTOR" ], "type": "string" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/subcomponent", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "location": { "description": "TODO: link to md doc", "type": "string" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "revision": { "description": "TODO: link to md doc", "type": "string" }, "type": { "$ref": "#/$defs/type", "description": "TODO: link to md doc" }, "version": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name" ], "title": "Subcomponent" }
MIT
en
opencomputeproject/ocp-diag-core
090aad3149fc8965e04ec67299e55ef95d37d655
2022-08-30T23:50:53
json_spec/output/test_step_artifact.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "extension": { "properties": { "content": { "description": "TODO: link to md", "type": "object" }, "name": { "description": "TODO: link to md", "type": "string" } }, "required": [ "name", "content" ] }, "file": { "$comment": "file is just used in step artifact; extract when more usages appear", "properties": { "contentType": { "description": "TODO: link to md", "type": "string" }, "description": { "description": "TODO: link to md", "type": "string" }, "displayName": { "description": "TODO: link to md", "type": "string" }, "isSnapshot": { "description": "TODO: link to md", "type": "boolean" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md" }, "uri": { "$comment": "maybe this should be more constrained", "description": "TODO: link to md", "type": "string" } }, "required": [ "displayName", "uri", "isSnapshot" ] } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStepArtifact", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "oneOf": [ { "properties": { "testStepStart": { "$ref": "/opencomputeproject/ocp-diag-core/testStepStart", "description": "TODO: link to md" } }, "required": [ "testStepStart" ] }, { "properties": { "testStepEnd": { "$ref": "/opencomputeproject/ocp-diag-core/testStepEnd", "description": "TODO: link to md" } }, "required": [ "testStepEnd" ] }, { "properties": { "measurement": { "$ref": "/opencomputeproject/ocp-diag-core/measurement", "description": "TODO: link to md" } }, "required": [ "measurement" ] }, { "properties": { "measurementSeriesStart": { "$ref": "/opencomputeproject/ocp-diag-core/measurementSeriesStart", "description": "TODO: link to md" } }, "required": [ "measurementSeriesStart" ] }, { "properties": { "error": { "$ref": "/opencomputeproject/ocp-diag-core/error", "description": "TODO: link to md" } }, "required": [ "error" ] }, { "properties": { "log": { "$ref": "/opencomputeproject/ocp-diag-core/log", "description": "TODO: link to md" } }, "required": [ "log" ] }, { "properties": { "diagnosis": { "$ref": "/opencomputeproject/ocp-diag-core/diagnosis", "description": "TODO: link to md" } }, "required": [ "diagnosis" ] }, { "properties": { "file": { "$ref": "#/$defs/file" } }, "required": [ "file" ] }, { "properties": { "extension": { "$ref": "#/$defs/extension" } }, "required": [ "extension" ] } ], "properties": { "testStepId": { "description": "TODO: link to md", "type": "string" } }, "required": [ "testStepId" ], "title": "Step artifact" }
MIT
en
opencomputeproject/ocp-diag-core
4c4da3705a83cbc7f68ae667450be7c25f1fe4d5
2022-08-30T23:50:52
json_spec/output/test_status.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/testStatus", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "enum": [ "COMPLETE", "ERROR", "SKIP" ], "title": "Test status enum", "type": "string" }
MIT
en
opencomputeproject/ocp-diag-core
cb7fce911db8ff75e540eb031a0e6aae5644cf68
2023-02-22T03:19:45
json_spec/output/error.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/error", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "TODO: link to md doc", "properties": { "message": { "description": "TODO: link to md doc", "type": "string" }, "softwareInfoIds": { "$comment": "this may need additional schema to make it an ID", "description": "TODO: link to md doc", "items": { "type": "string" }, "type": "array" }, "sourceLocation": { "$ref": "/opencomputeproject/ocp-diag-core/sourceLocation", "description": "SourceLocation information for debugging or tracing program execution. See sourceLocation in https://github.com/opencomputeproject/ocp-diag-core/blob/main/json_spec/README.md#error" }, "symptom": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "symptom" ], "title": "Error" }
MIT
en
opencomputeproject/ocp-diag-core
f14ea7773fad54a1df56754d398c71e7dbe3685e
2022-08-30T23:50:55
json_spec/output/measurement_series_element.json
28
2024-05-28T05:47:44.39525Z
{ "$id": "https://github.com/opencomputeproject/ocp-diag-core/measurementSeriesElement", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "index": { "description": "TODO: link to md doc", "minimum": 0, "type": "integer" }, "measurementSeriesId": { "description": "TODO: link to md doc", "type": "string" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "timestamp": { "description": "TODO: link to spec md link", "format": "date-time", "type": "string" }, "value": { "description": "TODO: link to md doc", "type": [ "string", "boolean", "number" ] } }, "required": [ "index", "value", "timestamp", "measurementSeriesId" ], "title": "Measurement series element" }
MIT
en
opencomputeproject/ocp-diag-core
2ad6ade6e0946faf01bafacb500016f5d4ee9bbc
2022-08-30T23:50:43
json_spec/output/test_run_start.json
28
2024-05-28T05:47:44.39525Z
{ "$defs": { "parameters": { "$comment": "will be extracted in the future, when spec is published", "description": "TODO: link to md doc", "type": "object" } }, "$id": "https://github.com/opencomputeproject/ocp-diag-core/testRunStart", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "TODO: link to md doc", "properties": { "commandLine": { "description": "TODO: link to md doc", "type": "string" }, "dutInfo": { "$ref": "/opencomputeproject/ocp-diag-core/dutInfo", "description": "TODO: link to md doc" }, "metadata": { "$ref": "/opencomputeproject/ocp-diag-core/metadata", "description": "TODO: link to md doc" }, "name": { "description": "TODO: link to md doc", "type": "string" }, "parameters": { "$ref": "#/$defs/parameters", "description": "TODO: link to md doc" }, "version": { "description": "TODO: link to md doc", "type": "string" } }, "required": [ "name", "version", "commandLine", "parameters", "dutInfo" ], "title": "Test run start" }
MIT
en
opencomputeproject/ocp-diag-ctam
962cd9693a8ecea3a99aad8a9f730ebf2b5536c5
2023-09-25T04:29:25
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "test_cases": [], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
0b74a4c4849cabd2ab5e2543391a8b85a33badad
2023-08-28T04:47:51
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "test_cases": [], "test_sequence": [], "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
b457402456820a4b89e7be05204fa2ac60d0cae1
2023-11-21T13:14:23
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [ "F0", "F1", "F63", "F64", "F8", "F88", "T0" ], "regression_test_suite_1": [ "F0", "F1", "F23", "F26", "F28", "F27", "F22", "F25", "F18", "F32" ], "regression_test_suite_2": [ "F0", "F1", "F16", "F19", "F55", "F62", "F89" ], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
d34550d14a65ffe2c5ebb3e829169d7291bc4f42
2023-11-02T04:50:04
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
73f8cb83f6095418cd8cd16f396fd7436787a342
2023-12-15T10:49:47
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": [], "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [ "F0", "F1", "F63", "F64", "F8", "F88", "T0" ], "regression_test_suite_1": [ "F0", "F1", "F23", "F26", "F28", "F27", "F22", "F25", "F18", "F32" ], "regression_test_suite_2": [ "F0", "F1", "F16", "F19", "F55", "F62", "F89" ], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration", "weighted_score": { "L0": 100, "L1": 50, "L2": 20, "L3": 0, "Others": 10 } }
MIT
en
opencomputeproject/ocp-diag-ctam
3e11890ab76457dfa8b236919a4ef9daef9cce00
2023-11-02T04:28:36
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "test_cases": [], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
3ea9e26a522d3d477051968fa65ce6526e8e20eb
2024-01-04T12:50:28
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": [], "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "normalized_score": { "L0": 50, "L1": 35, "L2": 15, "L3": 0 }, "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [ "F0", "F1", "F63", "F64", "F8", "F88", "T0" ], "regression_test_suite_1": [ "F0", "F1", "F23", "F26", "F28", "F27", "F22", "F25", "F18", "F32" ], "regression_test_suite_2": [ "F0", "F1", "F16", "F19", "F55", "F62", "F89" ], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration", "weighted_score": { "L0": 100, "L1": 50, "L2": 20, "L3": 0, "Others": 10 } }
MIT
en
opencomputeproject/ocp-diag-ctam
339675c567cceaadf26b5e3abd86c568fb4632d3
2023-10-12T12:02:48
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
6efd2a769df3f5e10222a1e779b3de700488eff7
2023-09-04T12:15:48
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "test_cases": [], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
f2d9dd684d743eb862ff535c43ce86d8b2d49ebc
2024-05-09T11:47:24
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": [], "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "internal_testing": false, "normalized_score": { "L0": 50, "L1": 35, "L2": 15, "L3": 0 }, "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [ "F0", "F1", "F63", "F64", "F8", "F88", "T0" ], "regression_test_suite_1": [ "F0", "F1", "F23", "F26", "F28", "F27", "F22", "F25", "F18", "F32" ], "regression_test_suite_2": [ "F0", "F1", "F16", "F19", "F55", "F62", "F89" ], "regression_test_suite_3": [ "F0", "F1", "F8", "F16", "F18", "F22", "F23", "F24", "F25", "F26", "F27", "F28", "F32", "F55", "F63", "F64", "F88", "R1", "R2", "R3", "T0", "T2", "T4" ], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration", "weighted_score": { "L0": 100, "L1": 50, "L2": 20, "L3": 0, "Others": 10 } }
MIT
en
opencomputeproject/ocp-diag-ctam
08d0dd0a4e08dc3568845dbe53684467c880eaf8
2023-11-07T12:23:26
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [], "regression_test_suite_1": [], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration" }
MIT
en
opencomputeproject/ocp-diag-ctam
cb004e92049042a679be9367a299c09999463061
2024-01-08T09:46:54
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": [], "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "group_sequence": [], "include_tags": [], "internal_testing": false, "normalized_score": { "L0": 50, "L1": 35, "L2": 15, "L3": 0 }, "output_override_directory": "", "progress_bar": false, "regression_test_suite_0": [ "F0", "F1", "F63", "F64", "F8", "F88", "T0" ], "regression_test_suite_1": [ "F0", "F1", "F23", "F26", "F28", "F27", "F22", "F25", "F18", "F32" ], "regression_test_suite_2": [ "F0", "F1", "F16", "F19", "F55", "F62", "F89" ], "test_sequence": [], "test_uri_response_excel": "Excel file name for checking the response", "title": "Test Runner Configuration", "weighted_score": { "L0": 100, "L1": 50, "L2": 20, "L3": 0, "Others": 10 } }
MIT
en
opencomputeproject/ocp-diag-ctam
b152b117039fe6c112bbaa0477198570fc80ac7b
2023-08-23T16:05:08
json_spec/input/test_runner.json
5
2024-05-27T04:33:18.164812Z
{ "$id": "Need to add one", "$schema": "https://json-schema.org/draft/2020-12/schema", "active_test_suite": "", "command_output_log_path": "", "console_log": true, "debug_mode": true, "description": "Configure the TestRunner obj, list of test cases overrides a test suite", "dev_test_suite": [], "exclude_tags": [], "full_compliance_test_suite": [], "include_tags": [], "output_override_directory": "", "test_cases": [], "test_sequence": [], "title": "Test Runner Configuration" }
MIT
en
michenriksen/tmpl
244ccacf9e157bb4e92218046851039c1a0b665a
2023-12-16T08:07:04
config.schema.json
12
2024-05-27T06:57:10.327122Z
{ "$defs": { "PaneConfig": { "additionalProperties": false, "description": "Pane configuration describing how a tmux pane should be created.", "properties": { "active": { "$ref": "#/$defs/active" }, "command": { "$ref": "#/$defs/command" }, "commands": { "$ref": "#/$defs/commands" }, "env": { "$ref": "#/$defs/env", "default": "The window env." }, "horizontal": { "default": false, "description": "Whether to split the window horizontally. If false, the window will be split vertically.", "title": "Horizontal split", "type": "boolean" }, "panes": { "description": "A list of tmux pane configurations to create in the pane.", "items": { "$ref": "#/$defs/PaneConfig" }, "title": "Pane configurations", "type": "array" }, "path": { "$ref": "#/$defs/path", "default": "The window path." }, "size": { "description": "The size of the pane in lines for horizontal panes, or columns for vertical panes. The size can also be specified as a percentage of the available space.", "examples": [ "20%", "50", "215" ], "title": "Size", "type": "string" } }, "title": "Pane configuration", "type": "object" }, "SessionConfig": { "additionalProperties": false, "description": "Session configuration describing how a tmux session should be created.", "properties": { "env": { "$ref": "#/$defs/env" }, "name": { "$ref": "#/$defs/name", "default": "The current working directory base name." }, "on_any": { "$ref": "#/$defs/command", "description": "A shell command to run first in all created windows and panes. This is intended for any kind of project setup that should be run before any other commands. The command is run using the `send-keys` tmux command.", "title": "On-Window/Pane shell command" }, "on_pane": { "$ref": "#/$defs/command", "description": "A shell command to run first in all created panes. This is intended for any kind of project setup that should be run before any other commands. The command is run using the `send-keys` tmux command.", "title": "On-Pane shell command" }, "on_window": { "$ref": "#/$defs/command", "description": "A shell command to run first in all created windows. This is intended for any kind of project setup that should be run before any other commands. The command is run using the `send-keys` tmux command.", "title": "On-Window shell command" }, "path": { "$ref": "#/$defs/path", "default": "The current working directory." }, "windows": { "description": "A list of tmux window configurations to create in the session. The first configuration will be used for the default window.", "items": { "$ref": "#/$defs/WindowConfig" }, "title": "Window configurations", "type": "array" } }, "title": "Session configuration", "type": "object" }, "WindowConfig": { "description": "Window configuration describing how a tmux window should be created.", "properties": { "active": { "$ref": "#/$defs/active" }, "additionalProperties": false, "command": { "$ref": "#/$defs/command" }, "commands": { "$ref": "#/$defs/commands" }, "env": { "$ref": "#/$defs/env", "default": "The session env." }, "name": { "$ref": "#/$defs/name", "default": "tmux default" }, "panes": { "description": "A list of tmux pane configurations to create in the window.", "items": { "$ref": "#/$defs/PaneConfig" }, "title": "Pane configurations", "type": "array" }, "path": { "$ref": "#/$defs/path", "default": "The session path." } }, "title": "Window configuration", "type": "object" }, "active": { "default": false, "description": "Whether a tmux window or pane should be selected after session creation. The first window and pane will be selected by default.", "title": "Active", "type": "boolean" }, "command": { "description": "A shell command to run within a tmux window or pane.\n\nThe 'send-keys' tmux command is used to simulate the key presses. This means it can be used even when connected to a remote system via SSH or a similar connection.", "minLength": 1, "title": "Shell command", "type": "string" }, "commands": { "description": "A list of shell commands to run within a tmux window or pane in the order they are listed.\n\nIf a command is also specified in the 'command' property, it will be run first.", "examples": [ [ "ssh user@host", "cd /var/logs", "tail -f app.log" ] ], "items": { "$ref": "#/$defs/command" }, "title": "Shell commands", "type": "array" }, "env": { "additionalProperties": { "type": [ "string", "number", "boolean" ] }, "description": "A list of environment variables to set in a tmux session, window, or pane.\n\nThese variables are passed down from the session to the window and can be customized at any level. Please note that variable names should consist of uppercase alphanumeric characters and underscores.", "examples": [ { "APP_ENV": "development", "DEBUG": true, "HTTP_PORT": 8080 } ], "propertyNames": { "pattern": "^[A-Z_][A-Z0-9_]+$" }, "title": "Environment variables", "type": "object" }, "name": { "description": "A name for the tmux session or window. Must only contain alphanumeric characters, underscores, dots, and dashes", "pattern": "^[\\w._-]+$", "title": "Name", "type": "string" }, "path": { "description": "The directory path used as the working directory in a tmux session, window, or pane.\n\nThe paths are passed down from session to window to pane and can be customized at any level. If a path begins with '~', it will be automatically expanded to the current user's home directory.", "examples": [ "/path/to/project", "~/path/to/project", "relative/path/to/project" ], "title": "Path", "type": "string" } }, "$id": "https://github.com/michenriksen/tmpl/config.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "author": "Michael Henriksen", "description": "A configuration file describing how a tmux session should be created.", "properties": { "session": { "$ref": "#/$defs/SessionConfig" }, "tmux": { "default": "tmux", "description": "The tmux executable to use. Must be an absolute path, or available in $PATH.", "title": "tmux executable", "type": "string" }, "tmux_options": { "description": "Additional tmux command line options to add to all tmux command invocations.", "examples": [ [ "-f", "/path/to/tmux.conf" ], [ "-L", "MySocket" ] ], "items": { "description": "A tmux command line flag and its value, if any. See `man tmux` for available options.", "type": "string" }, "title": "tmux command line options", "type": "array" } }, "title": "Tmpl configuration", "type": "object", "version": "0.1.0" }
MIT
en
Roblox/foreman
70b2cc9c1d60aa1b2f95d900c1391eff41cb8b30
2024-05-01T21:43:36
artiaa_auth/resources/artiaa-format.json
166
2024-05-28T03:14:48.669247Z
{ "$schema": "https://json-schema.org/draft/2019-09/schema", "description": "This is the format of the ArtiAA Token File, a standard output that contains the Artifactory tokens for the user. ", "properties": { "tokens": { "additionalProperties": { "additionalProperties": false, "properties": { "token": { "description": "The token to use for accessing the server.", "title": "Token", "type": "string" }, "username": { "description": "The username to use for accessing the server, if a username is necessary.\nMay be an empty string.", "title": "Username", "type": "string" } }, "title": "URL Token Element", "type": "object" }, "description": "Map of URLs and the credentials that apply to them.\nThe key of each value is the base domain URL the credential applies to, such as 'artifactory.rbx.com'.\nArtiAA will add an entry for each URL it has been logged into.", "title": "Tokens URL Map", "type": "object" } }, "title": "ArtiAA Token File Format", "type": "object" }
MIT
en
recyclarr/recyclarr
7284cccf353dc2113525695bdaaf43059b324bfc
2023-02-21T23:52:24
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "log_janitor": { "additionalProperties": false, "properties": { "max_files": { "default": 20, "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files.", "minimum": 0, "title": "The maximum number of log files to keep", "type": "integer" } }, "title": "Settings for the log janitor", "type": "object" }, "repository": { "additionalProperties": false, "description": "", "properties": { "branch": { "title": "The name of a branch to check out in the repository", "type": "string" }, "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Recyclarr pull data from a fork instead of the official repository.", "format": "uri", "title": "Clone URL to the trash guides git repository", "type": "string" }, "git_path": { "description": "Note that this is a path to the actual executable itself and not a directory path. If this setting is not specified, Recyclarr will attempt to find git via your PATH environment variable.", "title": "Provide an explicit path to your git executable", "type": "string" }, "sha1": { "description": "If specified, it overrides the `branch` setting. This SHA1 is passed to `git reset --hard` to force your local clone to this specific revision in the repository. If not specified, only the `branch` controls what revision is used in the repo.", "title": "A SHA1 (commit hash) in Git to use", "type": "string" } }, "title": "Settings for the git repo", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
8266410092b22465eb81638f595cf841859bc914
2022-08-14T17:35:15
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "repository": { "additionalProperties": false, "description": "", "properties": { "branch": { "title": "The name of a branch to check out in the repository", "type": "string" }, "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Recyclarr pull data from a fork instead of the official repository.", "format": "uri", "title": "Clone URL to the trash guides git repository", "type": "string" }, "sha1": { "description": "If specified, it overrides the `branch` setting. This SHA1 is passed to `git reset --hard` to force your local clone to this specific revision in the repository. If not specified, only the `branch` controls what revision is used in the repo.", "title": "A SHA1 (commit hash) in Git to use", "type": "string" } }, "title": "Settings for the git repo", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
da35eef1eda65f46e5bf3c61f0ca98d74e814e14
2023-05-06T16:56:15
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$defs": { "repository": { "additionalProperties": false, "properties": { "branch": { "title": "The name of a branch to check out in the repository", "type": "string" }, "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Recyclarr pull data from a fork instead of the official repository.", "format": "uri", "title": "Clone URL to the trash guides git repository", "type": "string" }, "git_path": { "description": "Note that this is a path to the actual executable itself and not a directory path. If this setting is not specified, Recyclarr will attempt to find git via your PATH environment variable.", "title": "Provide an explicit path to your git executable", "type": "string" }, "sha1": { "description": "If specified, it overrides the `branch` setting. This SHA1 is passed to `git reset --hard` to force your local clone to this specific revision in the repository. If not specified, only the `branch` controls what revision is used in the repo.", "title": "A SHA1 (commit hash) in Git to use", "type": "string" } }, "type": "object" } }, "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "log_janitor": { "additionalProperties": false, "properties": { "max_files": { "default": 20, "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files.", "minimum": 0, "title": "The maximum number of log files to keep", "type": "integer" } }, "title": "Settings for the log janitor", "type": "object" }, "repositories": { "additionalProperties": false, "properties": { "config_templates": { "$ref": "#/$defs/repository", "title": "Settings for the Recyclarr Config Templates GitHub repository" }, "trash_guide": { "$ref": "#/$defs/repository", "title": "Settings for the Trash Guides GitHub repository" } }, "title": "Settings for any local git clones that Recyclarr manages", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
012a9ef7554f1861f3c70780293400a3a041419e
2023-06-23T04:20:47
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$defs": { "repository": { "additionalProperties": false, "properties": { "branch": { "title": "The name of a branch to check out in the repository", "type": "string" }, "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Recyclarr pull data from a fork instead of the official repository.", "format": "uri", "title": "Clone URL to the trash guides git repository", "type": "string" }, "git_path": { "description": "Note that this is a path to the actual executable itself and not a directory path. If this setting is not specified, Recyclarr will attempt to find git via your PATH environment variable.", "title": "Provide an explicit path to your git executable", "type": "string" }, "sha1": { "description": "If specified, it overrides the `branch` setting. This SHA1 is passed to `git reset --hard` to force your local clone to this specific revision in the repository. If not specified, only the `branch` controls what revision is used in the repo.", "title": "A SHA1 (commit hash) in Git to use", "type": "string" } }, "type": "object" } }, "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "log_janitor": { "additionalProperties": false, "properties": { "max_files": { "default": 20, "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files.", "minimum": 0, "title": "The maximum number of log files to keep", "type": "integer" } }, "title": "Settings for the log janitor", "type": "object" }, "repositories": { "additionalProperties": false, "properties": { "config_templates": { "$ref": "#/$defs/repository", "title": "Settings for the Recyclarr Config Templates GitHub repository" }, "trash_guides": { "$ref": "#/$defs/repository", "title": "Settings for the Trash Guides GitHub repository" } }, "title": "Settings for any local git clones that Recyclarr manages", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
a4dc3c58de3921db6b7041fbd00112e1b5a846bc
2023-12-03T16:16:20
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "log_janitor": { "additionalProperties": false, "properties": { "max_files": { "default": 20, "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files.", "minimum": 0, "title": "The maximum number of log files to keep", "type": "integer" } }, "title": "Settings for the log janitor", "type": "object" }, "repositories": { "additionalProperties": false, "properties": { "config_templates": { "$ref": "settings/repository.json", "title": "Settings for the Recyclarr Config Templates GitHub repository" }, "trash_guides": { "$ref": "settings/repository.json", "title": "Settings for the Trash Guides GitHub repository" } }, "title": "Settings for any local git clones that Recyclarr manages", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
b20d2d62025f47dfc732728ef5a18f690beebd29
2024-04-27T16:11:11
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$id": "https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/settings-schema.json", "$schema": "https://json-schema.org/draft-07/schema", "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "default": false, "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "git_path": { "description": "Note that this is a path to the actual executable itself and not a directory path. If this setting is not specified, Recyclarr will attempt to find git via your PATH environment variable.", "title": "Provide an explicit path to your git executable", "type": "string" }, "log_janitor": { "additionalProperties": false, "properties": { "max_files": { "default": 20, "description": "If there are more log files than the max allowed here, Log Janitor will remove the oldest log files.", "minimum": 0, "title": "The maximum number of log files to keep", "type": "integer" } }, "title": "Settings for the log janitor", "type": "object" }, "repositories": { "additionalProperties": false, "properties": { "config_templates": { "$ref": "settings/repository.json", "title": "Settings for the Recyclarr Config Templates GitHub repository" }, "trash_guides": { "$ref": "settings/repository.json", "title": "Settings for the Trash Guides GitHub repository" } }, "title": "Settings for any local git clones that Recyclarr manages", "type": "object" } }, "title": "Recyclarr Settings", "type": "object" }
MIT
en
recyclarr/recyclarr
d540cf37c94c574ebfa2054e27dd9ea30fca226f
2022-01-17T16:25:33
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$ref": "#/definitions/Settings", "$schema": "http://json-schema.org/draft-06/schema#", "definitions": { "Repository": { "additionalProperties": false, "description": "", "properties": { "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Trash Updater pull data from a fork instead of the official repository.", "format": "uri", "qt-uri-extensions": [ ".git" ], "qt-uri-protocols": [ "http", "https", "ssh", "git" ], "title": "Clone URL to the trash guides git repository", "type": "string" } }, "title": "Settings for the git repo", "type": "object" }, "Settings": { "additionalProperties": false, "description": "Optional settings to control the behavior of Trash Updater", "properties": { "enable_ssl_certificate_validation": { "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "repository": { "$ref": "#/definitions/Repository" } }, "title": "Trash Updater Settings", "type": "object" } } }
MIT
en
recyclarr/recyclarr
10600ae4f123a9b85e5c4642d48f4d3305f4358e
2022-05-01T23:59:12
schemas/settings-schema.json
891
2024-05-28T05:04:27.69115Z
{ "$ref": "#/definitions/Settings", "$schema": "http://json-schema.org/draft-06/schema#", "definitions": { "Repository": { "additionalProperties": false, "description": "", "properties": { "clone_url": { "description": "A URL compatible with `git clone` that is used to clone the Trash Guides repository. This setting exists for enthusiasts that may want to instead have Recyclarr pull data from a fork instead of the official repository.", "format": "uri", "qt-uri-extensions": [ ".git" ], "qt-uri-protocols": [ "http", "https", "ssh", "git" ], "title": "Clone URL to the trash guides git repository", "type": "string" } }, "title": "Settings for the git repo", "type": "object" }, "Settings": { "additionalProperties": false, "description": "Optional settings to control the behavior of Recyclarr", "properties": { "enable_ssl_certificate_validation": { "description": "If set to `false`, SSL certificates are not validated. This is useful if you are connecting to a Sonarr or Radarr instance using `https` and it is set up with self-signed certificates. Note that disabling this setting is a **security risk** and should be avoided unless you are absolutely sure what you are doing.", "title": "Allow SSL certificate validation for Sonarr & Radarr", "type": "boolean" }, "repository": { "$ref": "#/definitions/Repository" } }, "title": "Recyclarr Settings", "type": "object" } } }
MIT
en
wspace/corpus
f2fa3434accf1862b1e9896ceae2df62975485ac
2022-06-21T00:22:52
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "examples": [ "wsa" ], "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
908a150cace5ae2413c8705ccc4e1bbbf9060f94
2022-06-28T17:46:42
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
0eca5f696bf17cdd0a986e438f802cca89a33a9c
2023-02-20T19:12:33
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
763078a76ae16efded613e76d4512de2e347db8a
2022-05-19T19:27:14
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build": { "additionalProperties": false, "properties": { "base_image": { "type": "string" }, "build": { "items": { "type": "string" }, "type": "array" }, "setup": { "items": { "type": "string" }, "type": "array" } }, "required": [ "base_image" ], "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
7ee4bca3d89104a2c40808ea4f1c2225495c4c3b
2023-07-23T20:58:44
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_mnemonics": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "instruction_delimiter": { "enum": [ "none", "space", ";", "/" ], "type": "string" }, "instruction_wrap": { "type": "boolean" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "packages": { "items": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "type": "array" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly", "design" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$|^https://codeberg\\.org/[^/]+/[^/]+$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
248149468a46d1c3889b9258f2fb9337e4c5012d
2022-06-09T17:55:47
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build": { "additionalProperties": false, "properties": { "base_image": { "type": "string" }, "setup": { "items": { "type": "string" }, "type": "array" }, "targets": { "items": { "properties": { "binaries": { "items": { "type": "string" }, "type": "array" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "workdir": { "type": "string" } }, "required": [ "binaries", "build" ], "type": "object" }, "type": "array" } }, "required": [ "base_image" ], "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
1a7d813fbdf14126153c73bfa2720caeb0fd47a7
2022-06-11T19:58:44
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
bc058dcd515183653ca6f50c03d61e4a68578f6b
2022-05-17T05:20:29
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+([-.][a-z0-9]+)*$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "require": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
0e422c92b825b0c1939e658927feb70cc7e0eb35
2022-06-14T06:39:03
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "examples": [ "wsa" ], "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
a38fb348932f3ee36a7a05db452b875464a4fe2a
2022-05-21T02:48:35
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build": { "additionalProperties": false, "properties": { "base_image": { "type": "string" }, "setup": { "items": { "type": "string" }, "type": "array" }, "targets": { "items": { "properties": { "binaries": { "items": { "type": "string" }, "type": "array" }, "build": { "type": "string" } }, "required": [ "binaries", "build" ], "type": "object" }, "type": "array" } }, "required": [ "base_image" ], "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
ae41af3b7d38c0d69f7f8afb7d3635e1df65f624
2023-03-04T09:09:56
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
0420140ca9a5011e0fb121425d49d7d86e691ff9
2022-06-22T04:30:42
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "examples": [ "wsa" ], "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
c4914ebeb82da125071397cad82af1c213da1918
2023-06-21T21:16:44
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "packages": { "items": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "type": "array" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly", "design" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
0cf0095787cacefa97fad0398251cd370f452822
2022-06-11T03:54:53
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
1042c76a39751b4d387cf655e3553d2163e5d622
2022-05-19T02:14:19
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+([-.][a-z0-9]+)*$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "require": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
143b2ba953bda8d74a8666899522a07f98de492b
2023-03-05T00:31:59
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
58f58a7a13c393669ed1a70f2ff053afd969442d
2023-02-19T09:15:36
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
9f3f55a49e796d1c93cc928826d4147da54031ab
2023-06-23T16:38:17
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_mnemonics": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "instruction_delimiter": { "enum": [ "none", "space", ";", "/" ], "type": "string" }, "instruction_wrap": { "type": "boolean" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "packages": { "items": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "type": "array" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly", "design" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
ddf03b6493461dc94d4bb0fec68c70cc211c909b
2022-06-23T04:14:37
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "examples": [ "wsa" ], "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
c566d44866ef0bcfaf98c13b6b02f2575ddeb50b
2023-06-13T13:00:25
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "items": { "type": "string" }, "type": "array" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "notes": { "type": "string" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "build_errors": { "type": "string" }, "challenges": { "items": { "examples": [ "Advent of Code 2015", "Advent of Code 2016", "Advent of Code 2017", "Advent of Code 2018", "Advent of Code 2019", "Advent of Code 2020", "Advent of Code 2021", "Advent of Code 2022", "Cerner 2^5", "Code Golf", "Codewars", "Hacktoberfest 2016", "Hacktoberfest 2017", "Hacktoberfest 2018", "Kattis", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell cmdargs", "Haskell optparse-applicative", "Java org.apache.commons.cli", "JavaScript Commander.js", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}(-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "examples": [ "calc.ws", "count.ws", "fact.ws", "fibonacci.ws", "hanoi.ws", "hworld.ws", "loctest.ws", "name.ws", "quine.ws", "quine-2.ws", "rot13.ws" ], "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly", "design" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "run_errors": { "type": "string" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://github\\.com/[^/]+/[^/]+(?:/tree/[^/]+)?$|^https://gist\\.github\\.com/[^/]+/[^/]+$|^https://gitlab\\.com/[^/]+/[^/]+(?:/-/tree/[^/]+)?$|^https://bitbucket\\.org/[^/]+/[^/]+(?:/src/[^/]+)?$|^https://git\\.code\\.sf\\.net/p/[^/]+/code$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
wspace/corpus
80e513e60c9c227a46a0ad652bcd82eaa406b56e
2022-06-10T08:51:33
tools/project.schema.json
26
2024-05-28T02:54:24.906652Z
{ "$defs": { "bound": { "oneOf": [ { "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "cap": { "oneOf": [ { "minimum": 0, "type": "integer" }, { "const": "unbounded" }, { "$ref": "#/$defs/integer_type" } ] }, "command_option": { "additionalProperties": false, "properties": { "arg": { "type": "string" }, "arg_required": { "description": "Whether an argument is required to be present", "type": "boolean" }, "bare": { "type": "string" }, "default": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "type": "boolean" } ] }, "desc": { "type": "string" }, "long": { "type": "string" }, "min": { "type": "number" }, "repeat_allowed": { "description": "Whether this option can be repeated", "type": "boolean" }, "required": { "description": "Whether this option is required to be present", "type": "boolean" }, "short": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ] }, "type": { "type": "string" }, "values": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "values": { "items": { "type": "string" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "id": { "description": "Unique project identifier and submodule path in the form of {language}/{author}-{project} or {language}/{author}", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*/[a-z0-9]+(-[a-z0-9]+([-.][a-z0-9]+)*)?$", "type": "string" }, "indentation": { "examples": [ " ", " ", " ", "\t", "" ], "pattern": "^( *|\\t*)$", "type": "string" }, "instruction": { "enum": [ "push", "dup", "copy", "swap", "drop", "slide", "add", "sub", "mul", "div", "mod", "store", "retrieve", "label", "call", "jmp", "jz", "jn", "ret", "end", "printc", "printi", "readc", "readi", "shuffle", "dumpstack", "dumpheap", "dumptrace" ], "type": "string" }, "integer_type": { "enum": [ "int64", "int32", "uint64", "uint32", "float64", "float32", "C int", "Go int", "Go uint" ], "type": "string" }, "line_comment": { "examples": [ "#", ";", "//", "--" ], "type": "string" }, "precision": { "anyOf": [ { "enum": [ "arbitrary", "fixed" ], "type": "string" }, { "$ref": "#/$defs/integer_type" } ] }, "spec_version": { "enum": [ "0.1", "0.2", "0.3", "unknown", "-" ], "type": "string" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Documentation of a Whitespace-related project", "properties": { "assembly": { "additionalProperties": false, "properties": { "binary_numbers": { "type": "boolean" }, "block_comments": { "items": { "additionalProperties": false, "examples": [ { "end": "*/", "nestable": false, "start": "/*" }, { "end": "-}", "nestable": true, "start": "{-" } ], "properties": { "end": { "type": "string" }, "nestable": { "type": "boolean" }, "start": { "type": "string" } }, "required": [ "start", "end", "nestable" ], "type": "object" }, "type": "array" }, "block_indentation": { "type": "boolean" }, "case_sensitive_instructions": { "type": "boolean" }, "extension": { "examples": [ "wsa" ], "type": "string" }, "indentation": { "$ref": "#/$defs/indentation" }, "label_indentation": { "$ref": "#/$defs/indentation" }, "line_comments": { "items": { "$ref": "#/$defs/line_comment" }, "type": "array" }, "macros": { "items": { "additionalProperties": false, "properties": { "args": { "items": { "type": "string" }, "type": "array" }, "name": { "type": "string" }, "notes": { "type": "string" }, "replace": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "mnemonics": { "additionalProperties": false, "patternProperties": { "": { "items": { "type": "string" }, "type": "array" } }, "propertyNames": { "$ref": "#/$defs/instruction" }, "type": "object" }, "multiple_per_line": { "type": "boolean" }, "patterns": { "additionalProperties": true, "patternProperties": { "": { "type": "string" } }, "propertyNames": { "examples": [ "number", "label" ] }, "type": "object" }, "usage": { "items": { "examples": [ "assembler", "disassembler", "programs", "debug", "enum" ], "type": "string" }, "type": "array" } }, "type": "object" }, "authors": { "description": "Project authors", "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "behavior": { "additionalProperties": false, "properties": { "buffered_output": { "type": "boolean" }, "eof": { "oneOf": [ { "examples": [ 0, -1 ], "type": "integer" }, { "const": "error" } ] } }, "type": "object" }, "bounds": { "additionalProperties": false, "properties": { "arg_precision": { "$ref": "#/$defs/precision" }, "call_stack_cap": { "$ref": "#/$defs/cap" }, "heap_cap": { "$ref": "#/$defs/cap" }, "heap_max": { "$ref": "#/$defs/bound" }, "heap_min": { "$ref": "#/$defs/bound" }, "instruction_cap": { "$ref": "#/$defs/cap" }, "label_cap": { "$ref": "#/$defs/cap" }, "label_precision": { "$ref": "#/$defs/precision" }, "precision": { "$ref": "#/$defs/precision" }, "stack_cap": { "$ref": "#/$defs/cap" } }, "type": "object" }, "challenges": { "items": { "examples": [ "Advent of Code", "Cerner 2^5", "Code Golf", "Codewars", "Project Euler", "Rosetta Code", "Sphere Online Judge", "yukicoder" ], "type": "string" }, "type": "array" }, "commands": { "items": { "additionalProperties": false, "properties": { "bin": { "type": "string" }, "build": { "type": "string" }, "build_errors": { "type": "string" }, "dependencies": { "items": { "type": "string" }, "type": "array" }, "example_usages": { "items": { "type": "string" }, "type": "array" }, "input": { "type": "string" }, "install_dependencies": { "type": "string" }, "notes": { "type": "string" }, "option_parse": { "examples": [ "manual", "bash getopt", "bash getopts", "C getopt", "Clojure clojure.tools.cli", "Crystal option_parser", "Go flag", "Haskell Options.Applicative", "Haskell System.Console.CmdArgs", "Java org.apache.commons.cli", "OCaml Arg", "Objective-C getopt", "Perl Getopt::Std", "Python argparse", "Python click", "Python optparse", "Ruby Thor", "Ruby optparse", "Rust clap", "Rust structopt" ], "type": "string" }, "options": { "items": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "run_errors": { "type": "string" }, "subcommands": { "items": { "additionalProperties": false, "properties": { "desc": { "type": "string" }, "input": { "type": "string" }, "name": { "type": "string" }, "notes": { "type": "string" }, "options": { "item": { "$ref": "#/$defs/command_option" }, "type": "array" }, "output": { "type": "string" }, "usage": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "type": "array" }, "type": { "type": "string" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array" }, "usage": { "type": "string" } }, "type": "object" }, "type": "array" }, "date": { "pattern": "^\\d{4}-\\d{2}-\\d{2}( \\d{2}:\\d{2}(:\\d{2})?( [+-]\\d{4})?)?$", "type": "string" }, "description": { "description": "Description of the project", "type": "string" }, "id": { "$ref": "#/$defs/id" }, "languages": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "license": { "allOf": [ { "description": "Project license ID from the SPDX License List (https://spdx.org/licenses/)", "type": "string" }, { "not": { "enum": [ "", "not found" ] } } ] }, "mappings": { "items": { "additionalProperties": false, "properties": { "before_stl": { "type": "boolean" }, "extension": { "type": "string" }, "ignore_case": { "type": "boolean" }, "lf": { "examples": [ "L", "N", "C", "lf", "\n" ], "type": "string" }, "line_comment": { "$ref": "#/$defs/line_comment" }, "notes": { "type": "string" }, "space": { "examples": [ "S", "A", "space" ], "type": "string" }, "space_before_arg": { "type": "boolean" }, "spaces_between": { "type": "boolean" }, "tab": { "examples": [ "T", "B", "tab" ], "type": "string" } }, "required": [ "space", "tab", "lf" ], "type": "object" }, "type": "array" }, "name": { "description": "The name of the project", "type": "string" }, "notes": { "type": "string" }, "package": { "additionalProperties": false, "properties": { "manager": { "enum": [ "crates.io", "Docker Hub", "Hackage", "npm", "NuGet", "PyPI", "RubyGems" ], "type": "string" }, "name": { "type": "string" }, "url": { "format": "uri", "type": "string" } }, "required": [ "name", "manager", "url" ], "type": "object" }, "programs": { "items": { "additionalProperties": false, "properties": { "authors": { "items": { "type": "string" }, "type": "array" }, "aux": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "equivalent": { "type": "string" }, "generate": { "type": "string" }, "generated": { "type": "string" }, "inputs": { "items": { "type": "string" }, "type": "array" }, "mapping_index": { "type": "number" }, "notes": { "type": "string" }, "outputs": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string" }, "polyglot": { "items": { "type": "string" }, "type": "array" }, "spec_version": { "$ref": "#/$defs/spec_version" } }, "required": [ "path" ], "type": "object" }, "type": "array" }, "relations": { "items": { "additionalProperties": false, "properties": { "commit": { "type": "string" }, "id": { "$ref": "#/$defs/id" }, "release": { "type": "string" }, "type": { "enum": [ "fork", "submodule", "embedded", "library", "binary", "assembly" ], "type": "string" } }, "required": [ "id", "type" ], "type": "object" }, "type": "array" }, "source": { "items": { "format": "uri", "type": "string" }, "minItems": 1, "prefixItems": [ { "format": "uri", "pattern": "^https://((gist\\.)?github\\.com|gitlab\\.com|bitbucket\\.org)/[^/]+/[^/]+$|^https://sourceforge\\.net/projects/([^/]+)/$", "type": "string" } ], "type": "array", "uniqueItems": true }, "source_unavailable": { "description": "Whether the source code is unavailable", "type": "boolean" }, "spec_version": { "$ref": "#/$defs/spec_version" }, "tags": { "items": { "type": "string" }, "minItems": 1, "type": "array", "uniqueItems": true }, "todo": { "type": "string" }, "whitespace": { "additionalProperties": false, "properties": { "extension": { "examples": [ "ws" ], "type": "string" }, "nonstandard": { "items": { "additionalProperties": false, "properties": { "aliases": { "items": { "type": "string" }, "type": "array" }, "args": { "items": { "type": "string" }, "type": "array" }, "desc": { "type": "string" }, "name": { "type": "string" }, "seq": { "pattern": "^[STL]+$", "type": "string" } }, "type": "object" }, "type": "array" }, "unimplemented": { "items": { "$ref": "#/$defs/instruction" }, "type": "array", "uniqueItems": true } }, "type": "object" } }, "required": [ "id", "name", "authors", "license", "languages", "tags", "date", "spec_version", "source" ], "title": "Project", "type": "object" }
MIT
en
cplusplus/ecosystem-is
bd8565ec1165ef5246c117cc85d54e06ebc928e7
2023-11-10T22:41:22
schema/std_info-1.0.0.json
17
2024-05-27T07:15:48.965423Z
{ "$defs": { "Version": { "oneOf": [ { "$ref": "#/$defs/VersionMin" }, { "$ref": "#/$defs/VersionFull" }, { "$ref": "#/$defs/VersionRange" } ] }, "VersionFull": { "pattern": "^[[(][0-9]+([.][0-9]+){0,2}[)\\]]$", "type": "string" }, "VersionMin": { "pattern": "^[0-9]+([.][0-9]+){0,2}$", "type": "string" }, "VersionRange": { "pattern": "^[[(][0-9]+([.][0-9]+){0,2},[0-9]+([.][0-9]+){0,2}[)\\]]$", "type": "string" }, "VersionSpec": { "oneOf": [ { "$ref": "#/$defs/Version" }, { "$ref": "#/$defs/Versions" } ] }, "Versions": { "items": { "$ref": "#/$defs/Version" }, "type": "array" } }, "$id": "https://raw.githubusercontent.com/cplusplus/ecosystem-is/release/schema/std_info-1.0.0.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "anyOf": [ { "additionalProperties": false, "patternProperties": { "^[a-z_]+([.][a-z_]+)+$": { "$ref": "#/$defs/VersionSpec" } }, "properties": { "$schema": { "description": "JSON Schema URI for the version of the tool introspection format.", "format": "uri", "type": "string" }, "std.info": { "$ref": "#/$defs/VersionSpec", "description": "The Tool Introspection format version." } }, "type": "object" } ], "required": [ "std.info" ], "title": "Tool Introspection Version 1.0.0 JSON Schema" }
CC-BY-4.0
en
mabrarov/asio_samples
9d8fa399a3ae856aec640c4fa2cd903c4a7715b2
2022-11-08T04:06:48
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/draft-07/schema#", "properties": { "annotations": { "type": [ "object", "string" ] }, "containerName": { "minLength": 1, "type": "string" }, "deploymentAnnotations": { "type": [ "object", "string" ] }, "deploymentLabels": { "type": [ "object", "string" ] }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "pullPolicy": { "enum": [ "Always", "Never", "IfNotPresent" ], "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "labels": { "type": [ "object", "string" ] }, "livenessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] }, "readinessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicaCount": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsGroup": { "minimum": 0, "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "required": [ "readOnlyRootFilesystem", "runAsNonRoot" ], "type": "object" }, "service": { "properties": { "annotations": { "type": [ "object", "string" ] }, "labels": { "type": [ "object", "string" ] }, "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "pullPolicy": { "enum": [ "Always", "Never", "IfNotPresent" ], "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "livenessProbe", "readinessProbe", "replicaCount", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
9b57209f2815eaf8a78bcd265f4029d505fd0785
2022-05-23T01:51:07
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/schema#", "properties": { "containerName": { "minLength": 1, "type": "string" }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "liveness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "readiness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicas": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "type": "object" }, "service": { "properties": { "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "liveness", "readiness", "replicas", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
dd6955a25eca098a206fa8ed893a72421fa2ab18
2022-09-14T13:46:28
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/draft-07/schema#", "properties": { "annotations": { "type": [ "object", "string" ] }, "containerName": { "minLength": 1, "type": "string" }, "deploymentAnnotations": { "type": [ "object", "string" ] }, "deploymentLabels": { "type": [ "object", "string" ] }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "pullPolicy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "labels": { "type": [ "object", "string" ] }, "livenessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] }, "readinessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicaCount": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsGroup": { "minimum": 0, "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "required": [ "readOnlyRootFilesystem", "runAsNonRoot" ], "type": "object" }, "service": { "properties": { "annotations": { "type": [ "object", "string" ] }, "labels": { "type": [ "object", "string" ] }, "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "pullPolicy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "livenessProbe", "readinessProbe", "replicaCount", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
f854e8710b5f5c1b292233338abbef77df684171
2022-05-23T02:02:08
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/schema#", "properties": { "containerName": { "minLength": 1, "type": "string" }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "liveness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "readiness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicas": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsGroup": { "minimum": 0, "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "required": [ "readOnlyRootFilesystem", "runAsNonRoot" ], "type": "object" }, "service": { "properties": { "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "liveness", "readiness", "replicas", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
a2878ee321d39467e26e684e0ffefcc78e72ff86
2022-01-27T07:05:07
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/schema#", "properties": { "container": { "description": "configuration of application pod container", "properties": { "image": { "properties": { "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "repository" ], "type": "object" }, "liveness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "readiness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" } }, "required": [ "name", "image", "liveness", "readiness" ] }, "fullnameOverride": { "type": "string" }, "imagePullPolicy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "imagePullSecrets": { "items": { "type": "object" }, "type": "array" }, "nameOverride": { "type": "string" }, "replicas": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "type": "object" }, "service": { "properties": { "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "image": { "properties": { "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "repository" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "image", "message" ], "type": "object" } }, "required": [ "container", "test", "replicas", "imagePullPolicy", "imagePullSecrets", "securityContext", "service", "tcpEcho" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
30df676ecfb707cfd1519e883a6c3c9653242bbe
2022-05-20T21:21:31
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/schema#", "properties": { "container": { "description": "configuration of application pod container", "properties": { "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "liveness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "name": { "minLength": 1, "type": "string" }, "readiness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" } }, "required": [ "name", "image", "liveness", "readiness" ], "type": "object" }, "fullnameOverride": { "type": "string" }, "nameOverride": { "type": "string" }, "replicas": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "type": "object" }, "service": { "properties": { "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" } }, "required": [ "name", "image", "message" ], "type": "object" } }, "required": [ "container", "test", "replicas", "securityContext", "service", "tcpEcho" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
9b5e2076b7acfc2baab4e15eca40937307e86358
2022-08-31T16:26:28
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/schema#", "properties": { "annotations": { "type": [ "object", "string" ] }, "containerName": { "minLength": 1, "type": "string" }, "deploymentAnnotations": { "type": [ "object", "string" ] }, "deploymentLabels": { "type": [ "object", "string" ] }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "labels": { "type": [ "object", "string" ] }, "liveness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] }, "readiness": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicas": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsGroup": { "minimum": 0, "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "required": [ "readOnlyRootFilesystem", "runAsNonRoot" ], "type": "object" }, "service": { "properties": { "annotations": { "type": [ "object", "string" ] }, "labels": { "type": [ "object", "string" ] }, "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "name": { "minLength": 1, "type": "string" }, "pull": { "properties": { "policy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "secret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" } }, "required": [ "policy" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "name", "pull" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "liveness", "readiness", "replicas", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
mabrarov/asio_samples
a8645c651c6cc861039e002fdac902857a14c0b6
2022-10-22T19:16:05
kubernetes/tcp-echo/values.schema.json
272
2024-05-29T09:54:35.476272Z
{ "$schema": "https://json-schema.org/draft-07/schema#", "properties": { "annotations": { "type": [ "object", "string" ] }, "containerName": { "minLength": 1, "type": "string" }, "deploymentAnnotations": { "type": [ "object", "string" ] }, "deploymentLabels": { "type": [ "object", "string" ] }, "fullnameOverride": { "type": "string" }, "image": { "properties": { "pullPolicy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "labels": { "type": [ "object", "string" ] }, "livenessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "nameOverride": { "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] }, "readinessProbe": { "properties": { "initialDelay": { "minimum": 1, "type": "integer" } }, "required": [ "initialDelay" ], "type": "object" }, "replicaCount": { "minimum": 1, "type": "integer" }, "securityContext": { "properties": { "readOnlyRootFilesystem": { "type": "boolean" }, "runAsGroup": { "minimum": 0, "type": "integer" }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { "minimum": 0, "type": "integer" } }, "required": [ "readOnlyRootFilesystem", "runAsNonRoot" ], "type": "object" }, "service": { "properties": { "annotations": { "type": [ "object", "string" ] }, "labels": { "type": [ "object", "string" ] }, "nodePort": { "description": "node port to expose the service on", "maximum": 65535, "minimum": 1, "type": "integer" }, "port": { "description": "service port", "maximum": 65535, "minimum": 1, "type": "integer" } }, "required": [ "port", "nodePort" ], "type": "object" }, "tcpEcho": { "description": "configuration of application", "properties": { "bufferSize": { "description": "session's buffer size (bytes)", "minimum": 1, "type": "integer" }, "inactivityTimeout": { "description": "timeout at one's expiration session will be considered as inactive and will be closed (seconds)", "minimum": 0, "type": "integer" }, "listenBacklog": { "description": "size of TCP listen backlog", "minimum": 1, "type": "integer" }, "maxSessions": { "description": "maximum number of simultaneously active sessions", "minimum": 1, "type": "integer" }, "port": { "description": "TCP port number for incoming connections' listening", "maximum": 65535, "minimum": 1, "type": "integer" }, "stopTimeout": { "description": "stop timeout at one's expiration server work will be terminated (seconds)", "minimum": 0, "type": "integer" } }, "required": [ "port" ], "type": "object" }, "test": { "description": "configuration of test pod container", "properties": { "containerName": { "minLength": 1, "type": "string" }, "image": { "properties": { "pullPolicy": { "pattern": "^(Always|Never|IfNotPresent)$", "type": "string" }, "pullSecret": { "description": "docker authentication credentials for image registry", "properties": { "email": { "minLength": 1, "type": "string" }, "password": { "minLength": 1, "type": "string" }, "username": { "minLength": 1, "type": "string" } }, "required": [ "username", "password", "email" ], "type": "object" }, "registry": { "minLength": 1, "type": "string" }, "repository": { "minLength": 1, "type": "string" }, "tag": { "type": "string" } }, "required": [ "registry", "repository", "pullPolicy" ], "type": "object" }, "message": { "description": "message to send for the test", "minLength": 1, "type": "string" }, "podAnnotations": { "type": [ "object", "string" ] }, "podLabels": { "type": [ "object", "string" ] } }, "required": [ "containerName", "image", "message" ], "type": "object" } }, "required": [ "containerName", "image", "livenessProbe", "readinessProbe", "replicaCount", "securityContext", "service", "tcpEcho", "test" ], "type": "object" }
BSL-1.0
en
eu-digital-green-certificates/dgc-gateway
91d8451dfc20392d98c91bc0571251e29d02d0e0
2021-06-24T13:44:19
src/main/resources/validation-rule.schema.json
49
2024-05-28T02:02:53.789486Z
{ "$id": "https://webgate.acceptance.ec.europa.eu/dgcg-json-api/validation-rule.schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "Rule to validate an issued EU Digital Covid Certificate.", "properties": { "AffectedFields": { "description": "Fields of the payload which are used by the rule.", "items": { "description": "Affected field of payload", "type": "string" }, "minItems": 1, "type": "array" }, "CertificateType": { "description": "Type of the certificate", "enum": [ "General", "Test", "Vaccination", "Recovery" ], "type": "string" }, "Country": { "description": "ISO Country Code of rule owner", "pattern": "^[A-Z]{2}$", "type": "string" }, "Description": { "contains": { "properties": { "desc": { "description": "Human readable description of this rule in English language", "minLength": 20, "type": "string" }, "lang": { "description": "Language of the description", "pattern": "^en$", "type": "string" } }, "required": [ "lang", "desc" ], "type": "object" }, "description": "Array of human readable description of the rule", "items": { "properties": { "desc": { "description": "Description of this rule in specified language", "minLength": 20, "type": "string" }, "lang": { "description": "Language of the description", "pattern": "^([a-z]{2}|[a-z]{2}-[a-z]{2})$", "type": "string" } }, "required": [ "lang", "desc" ], "type": "object" }, "minItems": 1, "type": "array" }, "Engine": { "description": "Type of the RuleEngine", "type": "string" }, "EngineVersion": { "description": "Version of the used engine (Semver)", "pattern": "^\\d+\\.\\d+\\.\\d+$", "type": "string" }, "Identifier": { "description": "The unique rule name", "pattern": "^(GR|VR|TR|RR|IR)-[A-Z]{2}-\\d{4}$", "type": "string" }, "Logic": { "description": "The logic payload in JSON", "minProperties": 1, "type": "object" }, "Region": { "description": "Additional Region property to precise country property.", "pattern": "^[A-Z0-9]{0,5}$", "type": "string" }, "SchemaVersion": { "description": "Version of the used schema (Semver)", "pattern": "^\\d+\\.\\d+\\.\\d+$", "type": "string" }, "Type": { "description": "Type of the rule", "enum": [ "Acceptance", "Invalidation" ], "type": "string" }, "ValidFrom": { "description": "Start validity of the rule as ISO 8601 Timestamp (without ms, with timezone)", "format": "date-time", "pattern": "^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d([-+][0-2]\\d:[0-5]\\d|Z)$", "type": "string" }, "ValidTo": { "description": "End validity of the rule as ISO 8601 Timestamp (without ms, with timezone)", "format": "date-time", "pattern": "^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d:[0-5]\\d([-+][0-2]\\d:[0-5]\\d|Z)$", "type": "string" }, "Version": { "description": "Version of the rule (Semver)", "pattern": "^\\d+\\.\\d+\\.\\d+$", "type": "string" } }, "required": [ "AffectedFields", "Country", "CertificateType", "Description", "Engine", "EngineVersion", "Identifier", "Logic", "SchemaVersion", "Type", "ValidFrom", "ValidTo", "Version" ], "title": "EU DCC Validation Rule", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
fe8bffa4317f56f0627388e6a0ed3c0f4c696cea
2021-06-14T09:02:59
public/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.3.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 80, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 alpha-2 where possible", "pattern": "[A-Z]{1,10}", "type": "string", "valueset-uri": "valuesets/country-2-codes.json" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer", "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 80, "type": "string" }, "person_name": { "description": "Person name: Surname(s), forename(s) - in that order", "properties": { "fn": { "description": "The surname or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 80, "title": "Surname", "type": "string" }, "fnt": { "description": "The surname(s) of the person, transliterated ICAO 9303", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised surname", "type": "string" }, "gn": { "description": "The forename(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 80, "title": "Forename", "type": "string" }, "gnt": { "description": "The forename(s) of the person, transliterated ICAO 9303", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised forename", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 complete date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "ISO 8601 complete date: Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 complete date of first positive NAA test result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-result.json" }, "test-type": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.7", "type": "string", "valueset-uri": "valuesets/test-type.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "maxLength": 80, "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 80, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "$ref": "#/$defs/test-type", "description": "Type of Test" } }, "required": [ "tg", "tt", "sc", "tr", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "description": "ISO8601 complete date: Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DCC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Covid Certificate", "oneOf": [ { "required": [ "ver", "nam", "dob", "v" ] }, { "required": [ "ver", "nam", "dob", "t" ] }, { "required": [ "ver", "nam", "dob", "r" ] } ], "properties": { "dob": { "description": "Date of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty", "examples": [ "1979-04-14", "1950", "1901-08", "" ], "pattern": "^((19|20)\\d\\d(-\\d\\d){0,2}){0,1}$", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), forename(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.3.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "title": "EU DCC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
bec40c3b57d84d50832dc5378a91a644312bc92b
2021-04-29T22:32:45
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$defs": { "certificate_id": { "description": "Certificate Identifier, UVCI", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "$comment": "SematicSG: ICAO transliterated has max length of?", "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "date", "pattern": "[19|20][0-9][0-9]-(0[1-9]|1[0-2])-([0-2][1-9]|3[0|1])", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
c8fe6bf4e98d17de869f354ace2ba3301bb38767
2021-06-24T06:36:16
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.3.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 80, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 alpha-2 where possible", "pattern": "[A-Z]{1,10}", "type": "string", "valueset-uri": "valuesets/country-2-codes.json" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer", "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 80, "type": "string" }, "person_name": { "description": "Person name: Surname(s), forename(s) - in that order", "properties": { "fn": { "description": "The surname or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 80, "title": "Surname", "type": "string" }, "fnt": { "description": "The surname(s) of the person, transliterated ICAO 9303", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised surname", "type": "string" }, "gn": { "description": "The forename(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 80, "title": "Forename", "type": "string" }, "gnt": { "description": "The forename(s) of the person, transliterated ICAO 9303", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised forename", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 complete date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "ISO 8601 complete date: Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 complete date of first positive NAA test result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-result.json" }, "test-type": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.7", "type": "string", "valueset-uri": "valuesets/test-type.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "maxLength": 80, "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 80, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "$ref": "#/$defs/test-type", "description": "Type of Test" } }, "required": [ "tg", "tt", "sc", "tr", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "description": "ISO8601 complete date: Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DCC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Covid Certificate", "oneOf": [ { "required": [ "ver", "nam", "dob", "v" ] }, { "required": [ "ver", "nam", "dob", "t" ] }, { "required": [ "ver", "nam", "dob", "r" ] } ], "properties": { "dob": { "description": "Date of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty", "examples": [ "1979-04-14", "1950", "1901-08", "" ], "pattern": "^((19|20)\\d\\d(-\\d\\d){0,2}){0,1}$", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), forename(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.3.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "title": "EU DCC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
a0480dff83a99040f1df4187a2010402526a81b0
2021-05-03T07:44:44
public/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.0.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "date", "pattern": "(19|20)\\d{2}-\\d{2}-\\d{2}", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
fe8bffa4317f56f0627388e6a0ed3c0f4c696cea
2021-06-14T09:02:59
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.3.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 80, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 alpha-2 where possible", "pattern": "[A-Z]{1,10}", "type": "string", "valueset-uri": "valuesets/country-2-codes.json" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer", "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 80, "type": "string" }, "person_name": { "description": "Person name: Surname(s), forename(s) - in that order", "properties": { "fn": { "description": "The surname or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 80, "title": "Surname", "type": "string" }, "fnt": { "description": "The surname(s) of the person, transliterated ICAO 9303", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised surname", "type": "string" }, "gn": { "description": "The forename(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 80, "title": "Forename", "type": "string" }, "gnt": { "description": "The forename(s) of the person, transliterated ICAO 9303", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 80, "pattern": "^[A-Z<]*$", "title": "Standardised forename", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 complete date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "ISO 8601 complete date: Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 complete date of first positive NAA test result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-result.json" }, "test-type": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.7", "type": "string", "valueset-uri": "valuesets/test-type.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "maxLength": 80, "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 80, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "$ref": "#/$defs/test-type", "description": "Type of Test" } }, "required": [ "tg", "tt", "sc", "tr", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "description": "ISO8601 complete date: Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Covid Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DCC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Covid Certificate", "oneOf": [ { "required": [ "ver", "nam", "dob", "v" ] }, { "required": [ "ver", "nam", "dob", "t" ] }, { "required": [ "ver", "nam", "dob", "r" ] } ], "properties": { "dob": { "description": "Date of Birth of the person addressed in the DCC. ISO 8601 date format restricted to range 1900-2099 or empty", "examples": [ "1979-04-14", "1950", "1901-08", "" ], "pattern": "^((19|20)\\d\\d(-\\d\\d){0,2}){0,1}$", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), forename(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "maxItems": 1, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.3.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "title": "EU DCC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
23918519215ca5a25f4aca28fa29c0595bc8648f
2021-06-14T05:32:25
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.0.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "string", "pattern": "(19|20)\\d{2}(-\\d{2})?(-\\d{2})?", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
4598a52059cefc26791052be531a9aaab1fb11a7
2021-04-30T09:21:12
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$defs": { "certificate_id": { "description": "Certificate Identifier, UVCI", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "$comment": "SematicSG: ICAO transliterated has max length of?", "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "date", "pattern": "[19|20][0-9][0-9]-(0[1-9]|1[0-2])-([0-2][1-9]|3[0|1]|[1|2]0)", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
a0480dff83a99040f1df4187a2010402526a81b0
2021-05-03T07:44:44
src/generated-files/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$comment": "Schema version 1.0.0", "$defs": { "certificate_id": { "description": "Certificate Identifier, format as per UVCI: Annex 2 in https://ec.europa.eu/health/sites/health/files/ehealth/docs/vaccination-proof_interoperability-guidelines_en.pdf", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "date", "pattern": "(19|20)\\d{2}-\\d{2}-\\d{2}", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
eu-digital-green-certificates/dgca-issuance-web
bec40c3b57d84d50832dc5378a91a644312bc92b
2021-04-29T22:32:45
public/DGC.combined-schema.json
107
2024-05-28T02:14:37.024414Z
{ "$defs": { "certificate_id": { "description": "Certificate Identifier, UVCI", "maxLength": 50, "type": "string" }, "country_vt": { "description": "Country of Vaccination / Test, ISO 3166 where possible", "pattern": "[A-Z]{1,10}", "type": "string" }, "disease-agent-targeted": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.1", "type": "string", "valueset-uri": "valuesets/disease-agent-targeted.json" }, "dose_posint": { "description": "Dose Number / Total doses in Series: positive integer, range: [1,9]", "maximum": 9, "minimum": 1, "type": "integer" }, "issuer": { "description": "Certificate Issuer", "maxLength": 50, "type": "string" }, "person_name": { "description": "Person name: Surname(s), given name(s) - in that order", "properties": { "fn": { "description": "The family or primary name(s) of the person addressed in the certificate", "examples": [ "d'\u010cervenkov\u00e1 Panklov\u00e1" ], "maxLength": 50, "title": "Family name", "type": "string" }, "fnt": { "description": "The family name(s) of the person transliterated", "examples": [ "DCERVENKOVA<PANKLOVA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised family name", "type": "string" }, "gn": { "description": "The given name(s) of the person addressed in the certificate", "examples": [ "Ji\u0159ina-Maria Alena" ], "maxLength": 50, "title": "Given name", "type": "string" }, "gnt": { "$comment": "SematicSG: ICAO transliterated has max length of?", "description": "The given name(s) of the person transliterated", "examples": [ "JIRINA<MARIA<ALENA" ], "maxLength": 50, "pattern": "^[A-Z<]*$", "title": "Standardised given name", "type": "string" } }, "required": [ "fnt" ], "type": "object" }, "recovery_entry": { "description": "Recovery Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "df": { "description": "ISO 8601 Date: Certificate Valid From", "format": "date", "type": "string" }, "du": { "description": "Certificate Valid Until", "format": "date", "type": "string" }, "fr": { "description": "ISO 8601 Date of First Positive Test Result", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" } }, "required": [ "tg", "fr", "co", "is", "df", "du", "ci" ], "type": "object" }, "test-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.8", "type": "string", "valueset-uri": "valuesets/test-manf.json" }, "test-result": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.9", "type": "string", "valueset-uri": "valuesets/test-results.json" }, "test_entry": { "description": "Test Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier, UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Test" }, "dr": { "description": "Date/Time of Test Result", "format": "date-time", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/test-manf", "description": "RAT Test name and manufacturer" }, "nm": { "description": "NAA Test Name", "type": "string" }, "sc": { "description": "Date/Time of Sample Collection", "format": "date-time", "type": "string" }, "tc": { "description": "Testing Centre", "maxLength": 50, "type": "string" }, "tg": { "$ref": "#/$defs/disease-agent-targeted" }, "tr": { "$ref": "#/$defs/test-result", "description": "Test Result" }, "tt": { "description": "Type of Test", "type": "string" } }, "required": [ "tg", "tt", "sc", "tr", "tc", "co", "is", "ci" ], "type": "object" }, "vaccination_entry": { "description": "Vaccination Entry", "properties": { "ci": { "$ref": "#/$defs/certificate_id", "description": "Unique Certificate Identifier: UVCI" }, "co": { "$ref": "#/$defs/country_vt", "description": "Country of Vaccination" }, "dn": { "$ref": "#/$defs/dose_posint", "description": "Dose Number" }, "dt": { "$comment": "SemanticSG: constrain to specific date range?", "description": "Date of Vaccination", "format": "date", "type": "string" }, "is": { "$ref": "#/$defs/issuer", "description": "Certificate Issuer" }, "ma": { "$ref": "#/$defs/vaccine-mah-manf", "description": "Marketing Authorization Holder - if no MAH present, then manufacturer" }, "mp": { "$ref": "#/$defs/vaccine-medicinal-product", "description": "vaccine medicinal product" }, "sd": { "$ref": "#/$defs/dose_posint", "description": "Total Series of Doses" }, "tg": { "$ref": "#/$defs/disease-agent-targeted", "description": "disease or agent targeted" }, "vp": { "$ref": "#/$defs/vaccine-prophylaxis", "description": "vaccine or prophylaxis" } }, "required": [ "tg", "vp", "mp", "ma", "dn", "sd", "dt", "co", "is", "ci" ], "type": "object" }, "vaccine-mah-manf": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.4", "type": "string", "valueset-uri": "valuesets/vaccine-mah-manf.json" }, "vaccine-medicinal-product": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.3", "type": "string", "valueset-uri": "valuesets/vaccine-medicinal-product.json" }, "vaccine-prophylaxis": { "description": "EU eHealthNetwork: Value Sets for Digital Green Certificates. version 1.0, 2021-04-16, section 2.2", "type": "string", "valueset-uri": "valuesets/vaccine-prophylaxis.json" } }, "$id": "https://id.uvci.eu/DGC.combined-schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "EU Digital Green Certificate", "properties": { "dob": { "description": "Date of Birth of the person addressed in the DGC. ISO 8601 date format restricted to range 1900-2099", "examples": [ "1979-04-14" ], "format": "date", "pattern": "[19|20][0-9][0-9]-(0[1-9]|1[0-2])-([0-2][1-9]|3[0|1])", "title": "Date of birth", "type": "string" }, "nam": { "$ref": "#/$defs/person_name", "description": "Surname(s), given name(s) - in that order" }, "r": { "description": "Recovery Group", "items": { "$ref": "#/$defs/recovery_entry" }, "minItems": 1, "type": "array" }, "t": { "description": "Test Group", "items": { "$ref": "#/$defs/test_entry" }, "minItems": 1, "type": "array" }, "v": { "description": "Vaccination Group", "items": { "$ref": "#/$defs/vaccination_entry" }, "minItems": 1, "type": "array" }, "ver": { "description": "Version of the schema, according to Semantic versioning (ISO, https://semver.org/ version 2.0.0 or newer)", "examples": [ "1.0.0" ], "pattern": "^\\d+.\\d+.\\d+$", "title": "Schema version", "type": "string" } }, "required": [ "ver", "nam", "dob" ], "title": "EU DGC", "type": "object" }
Apache-2.0
en
BSI-Bund/secvisogram
652f92d02faebb5f5df64483af797bd5d4d3ea96
2022-07-30T00:41:31
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": { "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