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 |
---|---|---|---|---|---|---|---|---|
appliedengdesign/cnccodes-json-schema | da49a6bb5a54b0e121c0305cb661dfd08c7d7dd9 | 2021-03-16T21:19:31 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2021-03/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G-Codes",
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"shortDesc": {
"description": "A short description of the code",
"type": "string"
}
},
"required": [
"category",
"modal"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"mill",
"lathe",
"3dprinter"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
}
},
"required": [
"type",
"machineType",
"title"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | afd849615c6306a00fcf60b78b56a277f530d146 | 2021-03-16T19:43:38 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G-Codes",
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"shortDesc": {
"description": "A short description of the code",
"type": "string"
}
},
"required": [
"category",
"modal"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"mill",
"lathe",
"3dprinter"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
}
},
"required": [
"type",
"machineType",
"title"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | 6814a898d51530318db21a3b7a5e1ae434a4f84f | 2021-03-17T00:13:39 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$defs": {
"parameters": {
"description": "An array of possible parameters to the code",
"items": {
"patternProperties": {
"^[A-Z]{1}": {
"properties": {
"desc": {
"description": "A description of the parameter",
"type": "string"
},
"optional": {
"description": "Parameter is required (boolean)",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2021-03/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G-Codes",
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"parameters": {
"$ref": "#/$defs/parameters"
},
"shortDesc": {
"description": "A short description of the code",
"type": "string"
}
},
"required": [
"category",
"modal"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"mill",
"lathe",
"3dprinter"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
}
},
"required": [
"type",
"machineType",
"title"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | 7da42e8858d88808cf8cf2fa4b885d2ce1c9dbce | 2022-07-22T21:22:06 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$defs": {
"parameters": {
"description": "An array of possible parameters to the code",
"minProperties": 1,
"patternProperties": {
"^[A-Z]{1}": {
"additionalProperties": false,
"properties": {
"desc": {
"description": "A description of the parameter",
"minLength": 3,
"type": "string"
},
"optional": {
"description": "Parameter is required (boolean)",
"type": "boolean"
},
"shortDesc": {
"description": "A short description of the parameter",
"minLength": 3,
"type": "string"
}
},
"required": [
"shortDesc",
"optional"
],
"type": "object"
}
},
"type": "object"
}
},
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2022-07/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G/M Codes",
"minProperties": 1,
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other",
"mcode"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"minLength": 3,
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"parameters": {
"$ref": "#/$defs/parameters"
},
"shortDesc": {
"description": "A short description of the code",
"minLength": 3,
"type": "string"
}
},
"required": [
"category",
"shortDesc"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"description": {
"description": "Description of the JSON Reference",
"type": "string"
},
"keywords": {
"description": "An Array of string keywords describing the JSON Reference (Optional)",
"items": {
"type": "string"
},
"type": "array"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"edm",
"mill",
"lathe",
"laser",
"printer",
"swiss"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON Reference",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
},
"variant": {
"description": "Defined if G/M Codes are for specific MTB/3DP Variant. (Must be lower case, 3-8 characters)",
"properties": {
"name": {
"maxLength": 8,
"minLength": 3,
"pattern": "[a-z0-9]",
"type": "string"
},
"remove": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
}
},
"required": [
"title",
"description",
"type",
"machineType"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | 806ecf502b504f068d19ccfba913151ea71dfe40 | 2021-03-17T21:07:22 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$defs": {
"parameters": {
"description": "An array of possible parameters to the code",
"patternProperties": {
"^[A-Z]{1}": {
"properties": {
"desc": {
"description": "A description of the parameter",
"type": "string"
},
"optional": {
"description": "Parameter is required (boolean)",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2021-03/schema",
"$schema": "http://json-schema.org/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G-Codes",
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"parameters": {
"$ref": "#/$defs/parameters"
},
"shortDesc": {
"description": "A short description of the code",
"type": "string"
}
},
"required": [
"category",
"modal"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"mill",
"lathe",
"3dprinter"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
}
},
"required": [
"type",
"machineType",
"title"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | f9a3bc3f8750d800e0fca66c230592075a47d425 | 2022-07-15T17:23:14 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$defs": {
"parameters": {
"description": "An array of possible parameters to the code",
"minProperties": 1,
"patternProperties": {
"^[A-Z]{1}": {
"additionalProperties": false,
"properties": {
"desc": {
"description": "A description of the parameter",
"minLength": 3,
"type": "string"
},
"optional": {
"description": "Parameter is required (boolean)",
"type": "boolean"
},
"shortDesc": {
"description": "A short description of the parameter",
"minLength": 3,
"type": "string"
}
},
"required": [
"shortDesc",
"optional"
],
"type": "object"
}
},
"type": "object"
}
},
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2022-07/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G/M Codes",
"minProperties": 1,
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other",
"mcode"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"minLength": 3,
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"parameters": {
"$ref": "#/$defs/parameters"
},
"shortDesc": {
"description": "A short description of the code",
"minLength": 3,
"type": "string"
}
},
"required": [
"category",
"shortDesc"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"description": {
"description": "Description of the JSON Reference",
"type": "string"
},
"keywords": {
"description": "An Array of string keywords describing the JSON Reference (Optional)",
"items": {
"type": "string"
},
"type": "array"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"edm",
"mill",
"lathe",
"laser",
"printer",
"swiss"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON Reference",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
},
"variant": {
"description": "Defined if G/M Codes are for specific MTB/3DP Variant. (Must be lower case, 3-8 characters)",
"maxLength": 8,
"minLength": 3,
"pattern": "[A-Za-z0-9]",
"type": "string"
}
},
"required": [
"title",
"description",
"type",
"machineType"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
appliedengdesign/cnccodes-json-schema | 7f8066fb5e5a2b0d4454bbf26a9f71f9bd2de142 | 2021-03-23T21:21:32 | src/schema/cnccodes.schema.json | 5 | 2024-05-28T01:43:26.291082Z | {
"$defs": {
"parameters": {
"description": "An array of possible parameters to the code",
"patternProperties": {
"^[A-Z]{1}": {
"properties": {
"desc": {
"description": "A description of the parameter",
"type": "string"
},
"optional": {
"description": "Parameter is required (boolean)",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"$id": "https://appliedengdesign.github.io/cnccodes-json-schema/draft/2021-03/schema",
"$schema": "http://json-schema.org/schema",
"additionalProperties": false,
"description": "JSON Schema for CNC G & M Codes",
"properties": {
"$schema": {
"description": "Link to this schema",
"type": "string"
},
"codes": {
"description": "Individual G-Codes",
"patternProperties": {
"^G|^M": {
"additionalProperties": false,
"properties": {
"category": {
"description": "Category for the code",
"enum": [
"motion",
"coordinate",
"compensation",
"canned",
"other",
"mcode"
],
"type": "string"
},
"desc": {
"description": "A longer description with markdown formatting",
"type": "string"
},
"modal": {
"description": "Modal / Non-Modal (boolean)",
"type": "boolean"
},
"parameters": {
"$ref": "#/$defs/parameters"
},
"shortDesc": {
"description": "A short description of the code",
"type": "string"
}
},
"required": [
"category",
"shortDesc"
],
"type": "object"
},
"additionalProperties": false
},
"type": "object"
},
"machineType": {
"description": "The type of CNC machine",
"enum": [
"mill",
"lathe",
"printer"
],
"type": "string"
},
"title": {
"description": "Descriptive title of the JSON",
"type": "string"
},
"type": {
"description": "The type of code (G or M)",
"enum": [
"gcode",
"mcode"
],
"type": "string"
}
},
"required": [
"type",
"machineType",
"title"
],
"title": "G/M Code Dictionary",
"type": "object"
} | MIT | en |
OpenEoX/openeox | 1929b9c624e6e2e4b5981d4929d26de751403eb1 | 2023-05-02T02:40:52 | schema/schema.json | 23 | 2024-05-27T05:46:57.917424Z | {
"$defs": {
"productId_t": {
"description": "Contains the unique product identifier for the product.",
"minLength": 1,
"title": "Product ID",
"type": "string"
},
"productName_t": {
"description": "Contains the name of the product.",
"minLength": 1,
"title": "Product name",
"type": "string"
},
"productVersion_t": {
"description": "Contains the version or release of the product.",
"minLength": 1,
"title": "Product version",
"type": "string"
},
"schema_t": {
"description": "Specifies the schema the JSON object must be valid against.",
"enum": [
"https://openplf.org/schema-0.2.0.json"
],
"title": "EOL and EOS schema",
"type": "string"
}
},
"$id": "https://openplf.org/schema-0.2.0.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A standard schema for representing End-of-Life (EOL) and End-of-Support (EOS) information",
"properties": {
"$schema": {
"$ref": "#/$defs/schema_t"
},
"EOLDate": {
"description": "Contains the date after which the product is not longer produced or maintained.",
"oneOf": [
{
"format": "date-time"
},
{
"enum": [
"tba"
]
}
],
"title": "End of Life",
"type": "string"
},
"creationTimestamp": {
"description": "Contains the RFC 3339 timestamp when the record was created.",
"format": "date-time",
"title": "Timestamp of creation",
"type": "string"
},
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
},
"replacementProduct": {
"description": "Contains information about the recommended replacement product, if applicable.",
"properties": {
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
}
},
"required": [
"productId",
"productName",
"productVersion"
],
"title": "Replacement product",
"type": "object"
},
"supplierId": {
"description": "Contains a unique identifier for the supplier or service provider.",
"minLength": 1,
"title": "Supplier ID",
"type": "string"
},
"supplierName": {
"description": "Contains the name of the supplier or service provider.",
"minLength": 1,
"title": "Supplier name",
"type": "string"
}
},
"required": [
"$schema",
"supplierId",
"supplierName",
"productId",
"productName",
"productVersion",
"EOLDate"
],
"title": "EOL and EOS Information",
"type": "object"
} | MIT | en |
OpenEoX/openeox | 1052067a8d30cf0100a225029a98fca183ad4895 | 2023-07-27T02:40:45 | schema/schema.json | 23 | 2024-05-27T05:46:57.917424Z | {
"$defs": {
"productId_t": {
"description": "Contains the unique product identifier for the product.",
"minLength": 1,
"title": "Product ID",
"type": "string"
},
"productName_t": {
"description": "Contains the name of the product.",
"minLength": 1,
"title": "Product name",
"type": "string"
},
"productVersion_t": {
"description": "Contains the version or release of the product.",
"minLength": 1,
"title": "Product version",
"type": "string"
},
"schema_t": {
"description": "Specifies the schema the JSON object must be valid against.",
"enum": [
"https://openeox.org/schema-0.2.0.json"
],
"title": "EOL and EOS schema",
"type": "string"
}
},
"$id": "https://openeox.org/schema-0.2.0.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A standard schema for representing End-of-Life (EOL) and End-of-Support (EOS) information",
"properties": {
"$schema": {
"$ref": "#/$defs/schema_t"
},
"EOLDate": {
"description": "Contains the date after which the product is not longer produced or maintained.",
"oneOf": [
{
"format": "date-time"
},
{
"enum": [
"tba"
]
}
],
"title": "End of Life",
"type": "string"
},
"creationTimestamp": {
"description": "Contains the RFC 3339 timestamp when the record was created.",
"format": "date-time",
"title": "Timestamp of creation",
"type": "string"
},
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
},
"replacementProduct": {
"description": "Contains information about the recommended replacement product, if applicable.",
"properties": {
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
}
},
"required": [
"productId",
"productName",
"productVersion"
],
"title": "Replacement product",
"type": "object"
},
"supplierId": {
"description": "Contains a unique identifier for the supplier or service provider.",
"minLength": 1,
"title": "Supplier ID",
"type": "string"
},
"supplierName": {
"description": "Contains the name of the supplier or service provider.",
"minLength": 1,
"title": "Supplier name",
"type": "string"
}
},
"required": [
"$schema",
"supplierId",
"supplierName",
"productId",
"productName",
"productVersion",
"EOLDate"
],
"title": "EOL and EOS Information",
"type": "object"
} | MIT | en |
OpenEoX/openeox | 9d69c59ba780d6ca618e3ab545147f0ae0d9bb56 | 2023-05-02T02:34:32 | schema/schema.json | 23 | 2024-05-27T05:46:57.917424Z | {
"$defs": {
"productId_t": {
"description": "Contains the unique product identifier for the product.",
"minLength": 1,
"title": "Product ID",
"type": "string"
},
"productName_t": {
"description": "Contains the name of the product.",
"minLength": 1,
"title": "Product name",
"type": "string"
},
"productVersion_t": {
"description": "Contains the version or release of the product.",
"minLength": 1,
"title": "Product version",
"type": "string"
},
"schema_t": {
"description": "Specifies the schema the JSON object must be valid against.",
"enum": [
"https://openplf.org/eol-eos-schema-0.2.0.json"
],
"title": "EOL and EOS schema",
"type": "string"
}
},
"$id": "https://openplf.org/schema-0.2.0.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A standard schema for representing End-of-Life (EOL) and End-of-Support (EOS) information",
"properties": {
"$schema": {
"$ref": "#/$defs/schema_t"
},
"EOLDate": {
"description": "Contains the date after which the product is not longer produced or maintained.",
"oneOf": [
{
"format": "date-time"
},
{
"enum": [
"tba"
]
}
],
"title": "End of Life",
"type": "string"
},
"creationTimestamp": {
"description": "Contains the RFC 3339 timestamp when the record was created.",
"format": "date-time",
"title": "Timestamp of creation",
"type": "string"
},
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
},
"replacementProduct": {
"description": "Contains information about the recommended replacement product, if applicable.",
"properties": {
"productId": {
"$ref": "#/$defs/productId_t"
},
"productName": {
"$ref": "#/$defs/productName_t"
},
"productVersion": {
"$ref": "#/$defs/productVersion_t"
}
},
"required": [
"productId",
"productName",
"productVersion"
],
"title": "Replacement product",
"type": "object"
},
"supplierId": {
"description": "Contains a unique identifier for the supplier or service provider.",
"minLength": 1,
"title": "Supplier ID",
"type": "string"
},
"supplierName": {
"description": "Contains the name of the supplier or service provider.",
"minLength": 1,
"title": "Supplier name",
"type": "string"
}
},
"required": [
"$schema",
"supplierId",
"supplierName",
"productId",
"productName",
"productVersion",
"EOLDate"
],
"title": "EOL and EOS Information",
"type": "object"
} | MIT | en |
ethereum/ERCs | b51a744af6c1bee10bc91799f8797436f8932074 | 2023-11-29T17:12:11 | assets/erc-7496/DynamicTraitsSchema.json | 237 | 2024-05-27T10:17:38.184162Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"traits": {
"additionalProperties": {
"properties": {
"dataType": {
"description": "The data type definition of the trait.",
"oneOf": [
{
"properties": {
"acceptableValues": {
"description": "An exclusive list of possible string values that can be set for the trait. If this is not specified, the trait can be set to any reasonable string value. If `valueMappings` is specified, this list must be the `mappedValue`s.",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": "array"
},
"maxLength": {
"description": "The maximum length of the string value that can be set for the trait (inclusive). If this is not specified, the trait can be set to any reasonable string length.",
"type": "number"
},
"minLength": {
"description": "The minimum length of the string value that can be set for the trait (inclusive). If this is not specified, it is assumed to be 0.",
"type": "number"
},
"type": {
"const": "string"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful when longer than the 32 ASCII characters that bytes32 allows for.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"properties": {
"decimals": {
"description": "The number of decimal places that the trait value is returned with onchain. If this is not specified, it is assumed to be 0 (i.e. an integer value).",
"type": "integer"
},
"maxValue": {
"description": "The maximum value that the trait value can be set to (inclusive). If this is not specified, it is assumed to be the maximum value of the `signed` and `decimals`.",
"type": "number"
},
"minValue": {
"description": "The minimum value that the trait value can be set to (inclusive). If this is not specified, it is assumed to be the minimum value of the `signed` and `decimals`.",
"type": "number"
},
"signed": {
"description": "Whether the trait value being returned is signed. If this is not specified, it is assumed to be false.",
"type": "boolean"
},
"type": {
"const": "decimal"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and large or magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"properties": {
"type": {
"const": "boolean"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"description": "A datetime type that is the number of seconds since the Unix epoch (January 1, 1970 00:00:00 UTC). Must return an integer value.",
"properties": {
"type": {
"const": "epochSeconds"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"displayName": {
"description": "The user-facing display name for the trait.",
"type": [
"string"
]
},
"tokenOwnerCanUpdateValue": {
"description": "Whether the token owner is able to set the trait value directly by calling `setTrait`. If this isn't specified, it is assumed to be false.",
"type": "boolean"
},
"validateOnSale": {
"description": "Whether the trait value should be validated when the token is sold. If this isn't specified, it is assumed to be `none`.",
"enum": [
"none",
"requireEq",
"requireUintGte",
"requireUintLte"
]
}
},
"required": [
"dataType"
],
"type": "object"
},
"type": "object"
}
},
"required": [
"traits"
],
"type": "object"
} | CC0-1.0 | en |
ethereum/ERCs | e6b91c10ce2ca07e1ee42be5623007e24da329a3 | 2024-05-10T17:41:54 | assets/erc-7496/DynamicTraitsSchema.json | 237 | 2024-05-27T10:17:38.184162Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"traits": {
"additionalProperties": {
"properties": {
"dataType": {
"description": "The data type definition of the trait.",
"oneOf": [
{
"properties": {
"maxLength": {
"description": "The maximum length of the string value that can be set for the trait (inclusive). If this is not specified, the trait can be set to any reasonable string length.",
"type": "number"
},
"minLength": {
"description": "The minimum length of the string value that can be set for the trait (inclusive). If this is not specified, it is assumed to be 0.",
"type": "number"
},
"type": {
"const": "string"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful when longer than the 32 ASCII characters that bytes32 allows for.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"properties": {
"decimals": {
"description": "The number of decimal places that the trait value is returned with onchain. If this is not specified, it is assumed to be 0 (i.e. an integer value).",
"type": "integer"
},
"maxValue": {
"description": "The maximum value that the trait value can be set to (inclusive). If this is not specified, it is assumed to be the maximum value of the `signed` and `decimals`.",
"type": "number"
},
"minValue": {
"description": "The minimum value that the trait value can be set to (inclusive). If this is not specified, it is assumed to be the minimum value of the `signed` and `decimals`.",
"type": "number"
},
"signed": {
"description": "Whether the trait value being returned is signed. If this is not specified, it is assumed to be false.",
"type": "boolean"
},
"type": {
"const": "decimal"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and large or magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"properties": {
"type": {
"const": "boolean"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
},
{
"description": "A datetime type that is the number of seconds since the Unix epoch (January 1, 1970 00:00:00 UTC). Must return an integer value.",
"properties": {
"type": {
"const": "epochSeconds"
},
"valueMappings": {
"additionalProperties": {
"oneOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"description": "A dictionary mapping of `traitValue`s returned from the contract to values that an offchain indexer should display. The keys to the dictionary are the onchain values and the dictionary values are the offchain values. Useful for default values of 0x0 and magic numbers.",
"type": "object"
}
},
"required": [
"type"
],
"type": "object"
}
]
},
"displayName": {
"description": "The user-facing display name for the trait.",
"type": [
"string"
]
},
"tokenOwnerCanUpdateValue": {
"description": "Whether the token owner is able to set the trait value directly by calling `setTrait`. If this isn't specified, it is assumed to be false.",
"type": "boolean"
},
"validateOnSale": {
"description": "Whether the trait value should be validated when the token is sold. If this isn't specified, it is assumed to be `none`.",
"enum": [
"none",
"requireEq",
"requireUintGte",
"requireUintLte"
]
}
},
"required": [
"dataType"
],
"type": "object"
},
"type": "object"
}
},
"required": [
"traits"
],
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 9e823faa4e01e6c22034ace9919997818088e158 | 2022-09-24T12:30:19 | apiSpec/contributionSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^13SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^14SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^15SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"contributions": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubContribution"
},
{
"$ref": "#/$defs/2^13SubContribution"
},
{
"$ref": "#/$defs/2^14SubContribution"
},
{
"$ref": "#/$defs/2^15SubContribution"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 85cb84dac64b6fcfb489050b000ddd13e55cff83 | 2022-09-30T14:59:05 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"bls_signatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"bls_signatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"bls_signatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"bls_signatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"bls_signatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"bls_signatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"bls_signatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"bls_signatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
},
"ecdsaSignature": {
"pattern": "0x[a-f\\d]{130}$",
"type": "string"
},
"emptyString": {
"pattern": "$",
"type": "string"
},
"ethereumId": {
"pattern": "eth\\|0x[a-f\\d]{40}$",
"type": "string"
},
"githubId": {
"pattern": "git\\|@[a-z\\d](?:[a-z\\d]|-(?=[a-z\\d])){0,38}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"participantEcdsaSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ecdsaSignature"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"participantIds": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ethereumId"
},
{
"$ref": "#/$defs/githubId"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"transcripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 422ac6332ed81a560510335f74d6bc093376ba63 | 2022-09-12T08:51:35 | apiSpec/contributionSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^13SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^14SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^15SubContribution": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"subContributions": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubContribution"
},
{
"$ref": "#/$defs/2^13SubContribution"
},
{
"$ref": "#/$defs/2^14SubContribution"
},
{
"$ref": "#/$defs/2^15SubContribution"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 422ac6332ed81a560510335f74d6bc093376ba63 | 2022-09-12T08:51:35 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"subTranscripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 62cbb5b9682982172634d5ec4212cea9a643cd3e | 2022-10-04T20:57:27 | apiSpec/contributionSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubContribution": {
"properties": {
"bls_signature": {
"anyOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^13SubContribution": {
"properties": {
"bls_signature": {
"anyOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^14SubContribution": {
"properties": {
"bls_signature": {
"anyOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"2^15SubContribution": {
"properties": {
"bls_signature": {
"anyOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"potPubkey": {
"type": "string"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
},
"emptyString": {
"pattern": "^$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"contributions": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubContribution"
},
{
"$ref": "#/$defs/2^13SubContribution"
},
{
"$ref": "#/$defs/2^14SubContribution"
},
{
"$ref": "#/$defs/2^15SubContribution"
}
],
"type": "array"
},
"ecdsaSignature": {
"pattern": "^0x[a-f\\d]{130}$|^$",
"type": "string"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | f2f48eef70ffb19afccf5f6e8892362fb0dad0ca | 2022-09-24T13:11:18 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"transcripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 3a5af9e2a0feb7765b9b77d145553007b845fa9d | 2022-10-04T22:50:19 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
},
"ecdsaSignature": {
"pattern": "^0x[a-f\\d]{130}$",
"type": "string"
},
"emptyString": {
"pattern": "^$",
"type": "string"
},
"ethereumId": {
"pattern": "^eth\\|0x[a-f\\d]{40}$",
"type": "string"
},
"githubId": {
"pattern": "^git\\|\\d\\|@[a-z\\d](?:[a-z\\d]|-(?=[a-z\\d])){0,38}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"participantEcdsaSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ecdsaSignature"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"participantIds": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ethereumId"
},
{
"$ref": "#/$defs/githubId"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"transcripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | 22680924fe194e85ed00919744d13c90401c76f2 | 2022-10-04T21:00:17 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
},
"ecdsaSignature": {
"pattern": "0x[a-f\\d]{130}$",
"type": "string"
},
"emptyString": {
"pattern": "$",
"type": "string"
},
"ethereumId": {
"pattern": "eth\\|0x[a-f\\d]{40}$",
"type": "string"
},
"githubId": {
"pattern": "git\\|@[a-z\\d](?:[a-z\\d]|-(?=[a-z\\d])){0,38}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"participantEcdsaSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ecdsaSignature"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"participantIds": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ethereumId"
},
{
"$ref": "#/$defs/githubId"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"transcripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
ethereum/kzg-ceremony-specs | b50deec9b722cf5b8b7318ecbf474fe404e73648 | 2022-10-04T22:55:27 | apiSpec/transcriptSchema.json | 108 | 2024-05-27T07:08:52.376241Z | {
"$defs": {
"2^12SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 4096,
"minimum": 4096,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 4096,
"minItems": 4096,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^13SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 8192,
"minimum": 8192,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 8192,
"minItems": 8192,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^14SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 16384,
"minimum": 16384,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 16384,
"minItems": 16384,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"2^15SubTranscript": {
"properties": {
"numG1Powers": {
"maximum": 32768,
"minimum": 32768,
"type": "integer"
},
"numG2Powers": {
"maximum": 65,
"minimum": 65,
"type": "integer"
},
"powersOfTau": {
"properties": {
"G1Powers": {
"items": {
"$ref": "#/$defs/G1Point"
},
"maxItems": 32768,
"minItems": 32768,
"type": "array"
},
"G2Powers": {
"items": {
"$ref": "#/$defs/G2Point"
},
"maxItems": 65,
"minItems": 65,
"type": "array"
}
},
"required": [
"G1Powers",
"G2Powers"
],
"type": "object"
},
"witness": {
"properties": {
"blsSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/G1Point"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"potPubkeys": {
"items": {
"$ref": "#/$defs/G2Point"
},
"type": "array"
},
"runningProducts": {
"items": {
"$ref": "#/$defs/G1Point"
},
"type": "array"
}
},
"required": [
"runningProducts",
"potPubkeys",
"blsSignatures"
],
"type": "object"
}
},
"required": [
"numG1Powers",
"numG2Powers",
"powersOfTau",
"witness"
],
"type": "object"
},
"G1Point": {
"pattern": "^0x[a-f0-9]{96}$",
"type": "string"
},
"G2Point": {
"pattern": "^0x[a-f0-9]{192}$",
"type": "string"
},
"ecdsaSignature": {
"pattern": "^0x[a-f\\d]{130}$",
"type": "string"
},
"emptyString": {
"pattern": "^$",
"type": "string"
},
"ethereumId": {
"pattern": "^eth\\|0x[a-f\\d]{40}$",
"type": "string"
},
"githubId": {
"pattern": "^git\\|\\d{1,16}\\|@[a-z\\d](?:[a-z\\d]|-(?=[a-z\\d])){0,38}$",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"participantEcdsaSignatures": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ecdsaSignature"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"participantIds": {
"items": {
"oneOf": [
{
"$ref": "#/$defs/ethereumId"
},
{
"$ref": "#/$defs/githubId"
},
{
"$ref": "#/$defs/emptyString"
}
]
},
"type": "array"
},
"transcripts": {
"items": false,
"prefixItems": [
{
"$ref": "#/$defs/2^12SubTranscript"
},
{
"$ref": "#/$defs/2^13SubTranscript"
},
{
"$ref": "#/$defs/2^14SubTranscript"
},
{
"$ref": "#/$defs/2^15SubTranscript"
}
],
"type": "array"
}
},
"type": "object"
} | CC0-1.0 | en |
vendia/examples | b09dd4c91f21b278f98fdd500d0402c5f3703e12 | 2022-02-25T23:44:06 | demos/food-and-beverage/simple-supplier-distributor/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"promotionalContent": {
"type": "string"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object"
} | Apache-2.0 | en |
vendia/examples | d5f1bc2b3bf894447726d8551015ee31e59fd603 | 2022-02-04T16:01:18 | features/share/access-controls/node-access-controls/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"promotionalContent": {
"type": "string"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object"
} | Apache-2.0 | en |
vendia/examples | d018961d9788122f221011e27b5fb9aae23f279f | 2023-04-10T21:24:20 | workshops/smart-contract/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/demos/loans.schema.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Single Source of Loan Truth",
"properties": {
"Loan": {
"description": "Whole loans that need to be serviced, and may securitized",
"items": {
"properties": {
"additionalResources": {
"description": "Resources that may help the borrower address payment challenges",
"items": {
"properties": {
"description": {
"description": "Name of the program or resource",
"type": "string"
},
"uri": {
"description": "Link to the program or resource",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"borrowerCreditScore": {
"description": "Credit score of borrower",
"maximum": 850,
"minimum": 0,
"type": "integer"
},
"delinquencyStatus": {
"description": "Current delinquency status of the loan, based on the current reporting period",
"enum": [
"CURRENT",
"LATE",
"DELINQUENT"
],
"type": "string"
},
"interestRatePercent": {
"description": "Current loan interest rate, as a percent",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"loanIdentifier": {
"description": "Globally unique loan identifier, set by the original lender",
"pattern": "[0-9]{16}",
"type": "string"
},
"loanToValuePercent": {
"description": "Current loan to value ratio, as a percentage",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"numberOfUnits": {
"description": "Number of units in the property",
"minimum": 0,
"type": "integer"
},
"originationDate": {
"description": "Date loan originated",
"format": "date",
"type": "string"
},
"portfolioIdentifier": {
"description": "Unique identifier of the portfolio in which this Loan resides",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"unpaidPrincipalBalance": {
"description": "Current unpaid principal balance amount",
"type": "number"
},
"validationStatus": {
"description": "The validation status of the loan",
"enum": [
"PENDING",
"VALID",
"INVALID",
"ERROR"
],
"type": "string"
}
},
"required": [
"loanIdentifier",
"originationDate",
"borrowerCreditScore",
"numberOfUnits",
"delinquencyStatus",
"interestRatePercent",
"loanToValuePercent",
"unpaidPrincipalBalance"
],
"type": "object"
},
"type": "array"
},
"LoanPortfolio": {
"description": "A collection of Loans along with metadata about the loans, modeled as a portfolio",
"items": {
"properties": {
"delinquencyPercentage": {
"description": "The percent of currently late or delinquent Loans in the Loan Portfolio",
"type": "number"
},
"portfolioIdentifier": {
"description": "Unique identifier of this Loan Portfolio",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"portfolioName": {
"description": "Descriptive name of this Loan Portfolio",
"type": "string"
},
"weightedAverageInterestRate": {
"description": "The percent of currently delinquent Loans in the Loan Portfolio",
"type": "number"
}
},
"required": [
"portfolioIdentifier",
"portfolioName"
],
"type": "object"
},
"type": "array"
}
},
"title": "Loan Marketplace",
"type": "object",
"x-vendia-acls": {
"LoanAcl": {
"type": "Loan"
},
"LoanPortfolioAcl": {
"type": "LoanPortfolio"
}
}
} | Apache-2.0 | en |
vendia/examples | cba5775ad065b7c0744b0958276ea829787f375b | 2022-07-07T01:50:25 | approaches/data-modeling/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/examples/approaches/data-modeling",
"$schema": "https://json-schema.org/draft-07/schema#",
"definitions": {
"Address": {
"properties": {
"city": {
"description": "The city",
"type": "string"
},
"state": {
"description": "The state",
"pattern": "((A[LKZR])|(C[AOT])|(D[EC])|(FL)|(GA)|(HI)|(I[DLNA])|(K[SY])|(LA)|(M[EDAINSOT])|(N[EVHJMYCD])|(O[HKR])|(PA)|(RI)|(S[CD])|(T[NX])|(UT)|(V[TA])|(W[AVIY]))",
"type": "string"
},
"street": {
"description": "Street address",
"type": "string"
},
"zipcode": {
"description": "The zipcode",
"pattern": "\\d{5}",
"type": "string"
}
},
"required": [
"street",
"city",
"state"
],
"type": "object"
},
"EmployeeId": {
"pattern": "\\d{5}",
"type": "string"
},
"Name": {
"properties": {
"firstName": {
"description": "Person's first name",
"type": "string"
},
"lastName": {
"description": "Person's first name",
"type": "string"
}
},
"required": [
"firstName",
"lastName"
],
"type": "object"
},
"OfficeId": {
"pattern": "\\d{3}",
"type": "string"
}
},
"description": "A model to capture ACME Company's organizational structure and office locations",
"properties": {
"Employee": {
"description": "An ACME Co. Employee",
"items": {
"properties": {
"employeeAddress": {
"$ref": "#/definitions/Address",
"description": "Address of the employee"
},
"employeeId": {
"$ref": "#/definitions/EmployeeId",
"description": "Unique identifier of the employee"
},
"employeeIds": {
"description": "Unique identifier of the employees this person manages",
"items": {
"$ref": "#/definitions/EmployeeId"
},
"type": "array"
},
"employeeName": {
"$ref": "#/definitions/Name",
"description": "Name of the employee"
},
"managerId": {
"$ref": "#/definitions/EmployeeId",
"description": "Unique identifier of the employee's manager"
},
"officeId": {
"$ref": "#/definitions/OfficeId",
"description": "Office this employee is expected to work from, if applicable"
},
"targetHours": {
"description": "Target hours/week for the employee",
"type": "integer"
}
},
"required": [
"employeeId",
"employeeName",
"employeeAddress",
"managerId",
"officeId"
],
"type": "object"
},
"type": "array"
},
"Office": {
"description": "An ACME Co. Office",
"items": {
"properties": {
"costType": {
"description": "Cost type for the office",
"enum": [
"LEASE",
"MORTGAGE",
"OWN",
"OTHER"
],
"type": "string"
},
"currentOccupancy": {
"description": "Current number of employees reporting to this office",
"type": "integer"
},
"dateOpened": {
"description": "Date the office opened",
"format": "date",
"type": "string"
},
"isFull": {
"description": "Whether the office is at its max capacity",
"type": "boolean"
},
"maxOccupancy": {
"description": "Maximum number of employees allowed",
"type": "integer"
},
"monthlyCost": {
"description": "Cost type for the office per month, if applicable",
"type": "number"
},
"officeAddress": {
"$ref": "#/definitions/Address",
"description": "Address of the office"
},
"officeId": {
"$ref": "#/definitions/OfficeId",
"description": "Unique identifier of the office"
}
},
"required": [
"officeId",
"officeAddress",
"maxOccupancy",
"costType",
"isFull"
],
"type": "object"
},
"type": "array"
}
},
"title": "ACME Co. Universal Application",
"type": "object",
"x-vendia-acls": {
"EmployeeAcl": {
"type": "Employee"
},
"OfficeAcl": {
"type": "Office"
}
},
"x-vendia-indexes": {
"CurrentOccupancyIndex": [
{
"property": "currentOccupancy",
"type": "Office"
}
],
"MaxOccupancyIndex": [
{
"property": "maxOccupancy",
"type": "Office"
}
]
}
} | Apache-2.0 | en |
vendia/examples | 717a06fed77df758d47e0beaaaf6b778b68bfd9b | 2022-06-23T22:02:38 | demos/crm-sharing/console-experience/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/crm-data-sharing/v1.0",
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"AccountContact": {
"items": {
"properties": {
"accountName": {
"description": "Account name",
"type": "string"
},
"duns": {
"description": "DUNS number",
"type": "string"
},
"partner": {
"description": "Partner name",
"type": "string"
},
"primaryContactEmail": {
"description": "Primary account contact email",
"format": "email",
"type": "string"
},
"primaryContactName": {
"description": "Primary account contact name",
"type": "string"
},
"primaryContactPhone": {
"description": "Primary account contact phone number",
"type": "string"
},
"users": {
"items": {
"properties": {
"emailAddress": {
"format": "email",
"type": "string"
},
"name": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"role": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Joint-venture Partner Account Contact Share",
"type": "object",
"x-vendia-acls": {
"AccountContactAcl": {
"type": "AccountContact"
}
},
"x-vendia-indexes": {
"AccountContactDunsIndex": [
{
"property": "duns",
"type": "AccountContact"
}
]
}
} | Apache-2.0 | en |
vendia/examples | 798ecd10d022bbc335251934630f4eba9ad2b07e | 2022-05-23T20:35:42 | features/share/smart-contracts/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/demos/loans.schema.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Single Source of Loan Truth",
"properties": {
"Loan": {
"description": "Whole loans that need to be serviced, and may securitized",
"items": {
"properties": {
"additionalResources": {
"description": "Resources that may help the borrower address payment challenges",
"items": {
"properties": {
"description": {
"description": "Name of the program or resource",
"type": "string"
},
"uri": {
"description": "Link to the program or resource",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"borrowerCreditScore": {
"description": "Credit score of borrower",
"maximum": 850,
"minimum": 0,
"type": "integer"
},
"delinquencyStatus": {
"description": "Current delinquency status of the loan, based on the current reporting period",
"enum": [
"CURRENT",
"LATE",
"DELINQUENT"
],
"type": "string"
},
"interestRatePercent": {
"description": "Current loan interest rate, as a percent",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"loanIdentifier": {
"description": "Globally unique loan identifier, set by the original lender",
"pattern": "[0-9]{16}",
"type": "string"
},
"loanToValuePercent": {
"description": "Current loan to value ratio, as a percentage",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"numberOfUnits": {
"description": "Number of units in the property",
"minimum": 0,
"type": "integer"
},
"originationDate": {
"description": "Date loan originated",
"format": "date",
"type": "string"
},
"portfolioIdentifier": {
"description": "Unique identifier of the portfolio in which this Loan resides",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"unpaidPrincipalBalance": {
"description": "Current unpaid principal balance amount",
"type": "number"
},
"validationStatus": {
"description": "The validation status of the loan",
"enum": [
"PENDING",
"VALID",
"INVALID",
"ERROR"
],
"type": "string"
}
},
"required": [
"loanIdentifier",
"originationDate",
"borrowerCreditScore",
"numberOfUnits",
"delinquencyStatus",
"interestRatePercent",
"loanToValuePercent",
"unpaidPrincipalBalance"
],
"type": "object"
},
"type": "array"
},
"LoanPortfolio": {
"description": "A collection of Loans along with metadata about the loans, modeled as a portfolio",
"items": {
"properties": {
"delinquencyPercentage": {
"description": "The percent of currently late or delinquent Loans in the Loan Portfolio",
"type": "number"
},
"portfolioIdentifier": {
"description": "Unique identifier of this Loan Portfolio",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"portfolioName": {
"description": "Descriptive name of this Loan Portfolio",
"type": "string"
},
"weightedAverageInterestRate": {
"description": "The percent of currently delinquent Loans in the Loan Portfolio",
"type": "number"
}
},
"required": [
"portfolioIdentifier",
"portfolioName"
],
"type": "object"
},
"type": "array"
}
},
"title": "Loan Marketplace",
"type": "object",
"x-vendia-acls": {
"LoanAcl": {
"type": "Loan"
},
"LoanPortfolioAcl": {
"type": "LoanPortfolio"
}
}
} | Apache-2.0 | en |
vendia/examples | d5f1bc2b3bf894447726d8551015ee31e59fd603 | 2022-02-04T16:01:18 | features/share/access-controls/uni-access-controls/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"promotionalContent": {
"type": "string"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object"
} | Apache-2.0 | en |
vendia/examples | 3d03301da0eb297f77e1590f013ab036032ffda4 | 2023-01-25T03:32:17 | demos/loan-platform/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/css/schema.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Provide full chain of custody of a loan from its origination, to servicing, to securitization",
"properties": {
"Disclosure": {
"description": "A disclosure calculation for a given security, either Level 1 or Level 2",
"items": {
"properties": {
"disclosureType": {
"description": "The type of disclosure, one per calculation",
"enum": [
"WeightedAverageInterestRatePercent",
"WeightedAverageLoanAge"
],
"type": "string"
},
"disclosureValue": {
"description": "The value of the disclosure",
"type": "number"
},
"reportingPeriod": {
"description": "Reporting period",
"pattern": "[0-9]{4}-(0[1-9]|1[0-2])",
"type": "string"
},
"securityIdentifier": {
"description": "Unique identifier (CUSIP) of this security",
"pattern": "[A-Z0-9]{9}",
"type": "string"
},
"securityType": {
"description": "The type of security, either L1 or L2",
"enum": [
"L1",
"L2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"Loan": {
"description": "Whole loans that need to be serviced, and may securitized",
"items": {
"properties": {
"borrowerCreditScore": {
"description": "Credit score of borrower",
"maximum": 850,
"minimum": 0,
"type": "integer"
},
"delinquencyStatus": {
"description": "Current delinquency status of the loan, based on the current reporting period",
"enum": [
"CURRENT",
"LATE",
"DELINQUENT"
],
"type": "string"
},
"interestRatePercent": {
"description": "Current loan interest rate, as a percent",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"loanCollaborators": {
"properties": {
"lenderIdentifier": {
"description": "Identifier of the lender",
"type": "string"
},
"ownerIdentifier": {
"description": "Identifier of the loan owner",
"type": "string"
},
"securitizerIdentifier": {
"description": "Identifier of the securitizer",
"type": "string"
},
"servicerIdentifier": {
"description": "Identifier of the servicer",
"type": "string"
}
},
"type": "object"
},
"loanIdentifier": {
"description": "Globally unique loan identifier, set by the original lender",
"pattern": "[0-9]{16}",
"type": "string"
},
"loanToValuePercent": {
"description": "Current loan to value ratio, as a percentage",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"numberOfUnits": {
"description": "Number of units in the property",
"minimum": 0,
"type": "integer"
},
"originationDate": {
"description": "Date loan originated",
"format": "date",
"type": "string"
},
"portfolioIdentifier": {
"description": "Unique identifier of the portfolio in which this Loan resides",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"relatedDocuments": {
"description": "Documents associated with the loan",
"items": {
"properties": {
"documentName": {
"description": "Name of the document",
"type": "string"
},
"documentUri": {
"description": "Name of the document",
"format": "uri",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"securityIdentifier": {
"description": "Unique identifier of the associated security",
"pattern": "[A-Z0-9]{9}",
"type": "string"
},
"unpaidPrincipalBalance": {
"description": "Current unpaid principal balance amount",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"LoanPortfolio": {
"description": "A collection of Loans along with metadata about the loans, modeled as a portfolio",
"items": {
"properties": {
"delinquentPercent": {
"description": "The percent of currently delinquent Loans in the Loan Portfolio",
"type": "number"
},
"latePercent": {
"description": "The percent of currently late Loans in the Loan Portfolio",
"type": "number"
},
"portfolioIdentifier": {
"description": "Unique identifier of this Loan Portfolio",
"pattern": "[A-Z0-9]{8}",
"type": "string"
},
"portfolioName": {
"description": "Descriptive name of this Loan Portfolio",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"Payment": {
"description": "Monthly payment information for a given Loan",
"items": {
"properties": {
"effectiveDate": {
"description": "Payment effective date",
"format": "date",
"type": "string"
},
"loanIdentifier": {
"description": "Globally unique loan identifier, set by the original lender",
"pattern": "[0-9]{16}",
"type": "string"
},
"principalAndInterestPaymentAmount": {
"description": "Payment amount, including principal and interest",
"minimum": 0,
"type": "number"
},
"principalDistributionAmount": {
"description": "Amount from principalAndInterestPaymentAmount applied to principal",
"minimum": 0,
"type": "number"
},
"reportingPeriod": {
"description": "Reporting period year month",
"pattern": "[0-9]{4}-(0[1-9]|1[0-2])",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"SingleClassSecurity": {
"description": "Single class (Level 1) securities, used to create a pool of Loans",
"items": {
"properties": {
"issueAmount": {
"description": "Issuance amount",
"minimum": 0,
"type": "integer"
},
"issueDate": {
"description": "Issuance date",
"format": "date",
"type": "string"
},
"issuerIdentifier": {
"description": "Unique identifier for the issuer",
"pattern": "[0-9]{6}",
"type": "string"
},
"maturityDate": {
"description": "Maturity date",
"format": "date",
"type": "string"
},
"parMinimumAmount": {
"description": "Par minimum amount",
"minimum": 0,
"type": "integer"
},
"poolIdentifier": {
"description": "Unique identifier of the pool created by this L1 security",
"pattern": "[A-Z0-9]{6}",
"type": "string"
},
"securityIdentifier": {
"description": "Unique identifier (CUSIP) of this L1 security",
"pattern": "[A-Z0-9]{9}",
"type": "string"
},
"trustIdentifier": {
"description": "Unique identifier for the trust",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Complete Loan Platform",
"type": "object",
"x-vendia-acls": {
"DisclosureAcl": {
"type": "Disclosure"
},
"LoanAcl": {
"type": "Loan"
},
"LoanPortfolioAcl": {
"type": "LoanPortfolio"
},
"PaymentAcl": {
"type": "Payment"
},
"SingleClassSecurityAcl": {
"type": "SingleClassSecurity"
}
}
} | Apache-2.0 | en |
vendia/examples | d5f1bc2b3bf894447726d8551015ee31e59fd603 | 2022-02-04T16:01:18 | features/share/access-controls/data-access-controls/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"margin": {
"type": "number"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"promotionalContent": {
"type": "string"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object",
"x-vendia-acls": {
"ProductAcl": {
"type": "Product"
}
}
} | Apache-2.0 | en |
vendia/examples | b09dd4c91f21b278f98fdd500d0402c5f3703e12 | 2022-02-25T23:44:06 | demos/food-and-beverage/supplier-distributor-with-control/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Delivery": {
"description": "A delivery that fulfills one or more purchase orders",
"items": {
"properties": {
"actualDateTime": {
"format": "date-time",
"type": "string"
},
"expectedDateTime": {
"format": "date-time",
"type": "string"
},
"purchaseOrders": {
"items": {
"properties": {
"purchaseOrderId": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"enum": [
"scheduled",
"enroute",
"delivered"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"margin": {
"type": "number"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"PurchaseOrder": {
"description": "A purchase order for a product, made by a distributor",
"items": {
"properties": {
"dateIssued": {
"format": "date",
"type": "string"
},
"quantity": {
"type": "string"
},
"sku": {
"type": "string"
},
"status": {
"enum": [
"submitted",
"confirmed",
"rejected"
],
"type": "string"
},
"totalPrice": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object",
"x-vendia-acls": {
"DeliveryAcl": {
"type": "Delivery"
},
"ProductAcl": {
"type": "Product"
},
"PurchaseOrderAcl": {
"type": "PurchaseOrder"
}
}
} | Apache-2.0 | en |
vendia/examples | c9439a1dcb36e954798c6a97e1b660209ef9492e | 2022-03-09T14:04:57 | demos/travel-and-hospitality/alliance-ticket-sharing/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/alliance-ticket-sharing/v1.0",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "A ticket data model with ACLs that allows alliance partners to share ticket data in real-time and with control",
"properties": {
"Ticket": {
"items": {
"properties": {
"airlineCode": {
"description": "The 2-letter code of the issuing airline",
"pattern": "[A-Z]{2}",
"type": "string"
},
"bookingAgentId": {
"description": "A code identifying the booking agent, as determined by the issuing airline",
"type": "string"
},
"commissions": {
"description": "Commissions owed for the ticket",
"items": {
"properties": {
"commissionType": {
"description": "A code indicating the type of commission applicable to the transaction and associated with the corresponding COMMISSION RATE or COMMISSION AMOUNT",
"enum": [
"XLP",
"NEW",
"OLD"
],
"type": "string"
},
"rate": {
"description": "The decimal percentage claimed by the agent as eligible commission. The format for 10.5% commission would be 10.5.",
"type": "number"
},
"value": {
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "number"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"coupons": {
"description": "A list of coupons related to this transaction",
"items": {
"description": "Information related to a coupon",
"properties": {
"additionalServicesAttributeGroup": {
"description": "A value which specifies the high-level group applicable to the service at the coupon level",
"type": "string"
},
"baggage": {
"description": "The applicable free baggage allowance amount followed by kilos \u2018K\u2019 or pounds \u2018L\u2019, e.g. 20K or 44L. When the baggage allowance is based on pieces, the field shall contain \u2018PC\u2019 preceded by the number of pieces, e.g. 2PC. When the fare used does not permit any free baggage allowance, \u2018NO\u2019, \u2018NIL\u2019, or \u2018XX\u2019 shall be entered in the baggage allowance box",
"properties": {
"allowance": {
"description": "The applicable free baggage allowance amount followed by kilos \u2018K\u2019 or pounds \u2018L\u2019, e.g. 20K or 44L. When the baggage allowance is based on pieces, the field shall contain \u2018PC\u2019 preceded by the number of pieces, e.g. 2PC. When the fare used does not permit any free baggage allowance, \u2018NO\u2019, \u2018NIL\u2019, or \u2018XX\u2019 shall be entered in the baggage allowance box",
"type": "string"
},
"overAllowanceQualifier": {
"description": "The type of applicable excess baggage allowance",
"type": "string"
},
"quantity": {
"description": "The numeric value for baggage weight, pieces, or seats used for excess baggage.",
"type": "number"
},
"rate": {
"description": "The monetary value being charged for excess baggage per baggage allowance for the total number in excess",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"minLength": 1,
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "integer"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"classOfService": {
"description": "The class of service for the coupon",
"minLength": 1,
"type": "string"
},
"conjunctionCompanionTicketIndicator": {
"description": "Provides additional information about any relationship this ticket has with any preceding ticket(s) within a transaction",
"type": "string"
},
"couponNumber": {
"description": "The coupon number for the ticket, within the range 1 through 4",
"maximum": 4,
"minimum": 1,
"type": "integer"
},
"operatingAirlineDesignator": {
"description": "The two character designator identifying the Operating Carrier for each coupon as it was sold",
"minLength": 1,
"type": "string"
},
"remarks": {
"description": "Free text to provide further information related to the coupon",
"type": "string"
},
"soldAirlineDesignator": {
"description": "The two character designator identifying the Marketing Carrier for each coupon as it was sold",
"minLength": 1,
"type": "string"
},
"soldDestinationCityCode": {
"description": "The airport or city code for the point of disembarkation for each coupon as it was sold",
"minLength": 1,
"type": "string"
},
"soldFlightDepartureDateTime": {
"description": "The scheduled date of departure for the coupon as it was sold. The local flight departure time based on a 12 or 24-hour clock as it was sold on each coupon",
"format": "date-time",
"type": "string"
},
"soldFlightNumber": {
"description": "The Marketing Carrier's flight number for each coupon as it was sold",
"minLength": 1,
"type": "string"
},
"soldOriginCityCode": {
"description": "The airport or city code identifying the point of embarkation for each coupon as it was sold",
"minLength": 1,
"type": "string"
},
"soldReservationBookingDesignator": {
"description": "The Marketing Carrier's code used in reservations to identify a compartment on an aircraft and/or a special inventory control for the coupon as it was sold",
"type": "string"
},
"soldReservationStatusCode": {
"description": "The passenger\u2019s reservation status for each coupon at the time of ticket issuance",
"type": "string"
},
"stopoverCode": {
"description": "A code to indicate whether a point is a stopover or not in accordance with PTC Composite Resolution 012 where O or blank indicates a stopover is taken and X indicates no stopover is taken",
"maxLength": 1,
"minLength": 1,
"type": "string"
},
"ticketDesignator": {
"description": "A series of characters defining the entitlement of the passenger based on the fare charged",
"type": "string"
},
"ticketNumber": {
"description": "A unique ticket number, represented as a 3-digit airline code followed by a 4-digit form number followed by a 6-digit serial number",
"pattern": "[0-9]{13}",
"type": "string"
},
"ticketingDateOfIssue": {
"description": "The date a ticket was issued in the format YYYY-MM-DD",
"format": "date",
"type": "string"
},
"useIndicator": {
"description": "An indication of the status of each coupon in the ticket consisting of one indicator per possible coupon number (\u20181\u2019 through \u20184\u2019)",
"minLength": 1,
"type": "string"
},
"value": {
"description": "The value associated with a single coupon",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "integer"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"required": [
"ticketNumber",
"ticketingDateOfIssue",
"couponNumber",
"value",
"soldAirlineDesignator",
"operatingAirlineDesignator",
"soldFlightDepartureDateTime",
"soldOriginCityCode",
"soldDestinationCityCode",
"soldFlightNumber",
"classOfService"
],
"type": "object"
},
"type": "array"
},
"dateOfIssue": {
"description": "The date and time this ticket was issued, in the format YYYY-MM-DD",
"format": "date",
"type": "string"
},
"fees": {
"items": {
"description": "Fees for the ticket",
"properties": {
"code": {
"description": "The various fee code reflected on traffic documents as published in the IATA Ticket Tax/Fee/Charge Box Service (\u201cTTBS\u201d)",
"enum": [
"AY",
"XF",
"CP",
"MF",
"OA",
"OB",
"OC",
"OD",
"YR",
"YQ"
],
"type": "string"
},
"subCode": {
"description": "A secondary code that further qualifies the fee code",
"type": "string"
},
"value": {
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "number"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"passenger": {
"description": "Information about the passenger",
"properties": {
"dateOfBirth": {
"description": "The date of birth of the passenger, in YYYY-MM-DD format",
"format": "date",
"type": "string"
},
"firstName": {
"description": "Passenger's first name",
"type": "string"
},
"frequentFlyerInformation": {
"description": "Passenger's frequent flyer information",
"properties": {
"airlineCode": {
"description": "The 2-letter code of the airline",
"pattern": "[A-Z]{2}",
"type": "string"
},
"frequentFlyerNumber": {
"description": "The identifier assigned to the passenger by the airline",
"type": "string"
}
},
"type": "object"
},
"lastName": {
"description": "Passenger's last name",
"type": "string"
}
},
"type": "object"
},
"passengerNameRecordCode": {
"description": "A unique passenger record, represented by a 6-digit alphanumeric value",
"pattern": "[A-Z0-9]{6}",
"type": "string"
},
"payments": {
"items": {
"properties": {
"paymentType": {
"description": "The type of payment",
"enum": [
"CA",
"CC",
"EX",
"RF",
"TC"
],
"type": "string"
},
"paymentValue": {
"description": "The monetary value of the payment",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "integer"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"prices": {
"properties": {
"baseFareAmount": {
"description": "The amount (excluding tax, fees, and commissions)",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "integer"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
},
"equivalentFarePaid": {
"description": "The amount (excluding tax, fees, and commissions) converted into the currency of the country of payment when the published fare is in a currency other than of the country of payment",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "integer"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"remarks": {
"description": "Free text to provide further information related to the ticket",
"type": "string"
},
"taxes": {
"items": {
"properties": {
"code": {
"description": "The various tax or charge codes reflected on traffic documents as published in the IATA Ticket Tax/Fee/Charge Box Service (\u201cTTBS\u201d)",
"type": "string"
},
"subCode": {
"description": "A secondary code that further qualifies the tax code",
"type": "string"
},
"value": {
"description": "Taxes for the ticket",
"properties": {
"amount": {
"type": "number"
},
"currency": {
"description": "The code that is equivalent to the currency associated with the amount",
"type": "string"
},
"precision": {
"description": "Number of digits",
"type": "number"
}
},
"required": [
"amount",
"currency",
"precision"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"ticketDocumentInfo": {
"properties": {
"attributeGroup": {
"description": "A value which specifies the high-level group applicable to the service at the coupon level.",
"type": "string"
},
"attributeSubGroup": {
"description": "A value which specifies the sub group (within the specified group) applicable to the service at the coupon level.",
"type": "string"
},
"documentType": {
"description": "The type of document being processed.",
"enum": [
"ADMS",
"ACMS",
"EMDA",
"EMDS",
"MD50",
"NONT",
"RCSM",
"TAAD",
"TASF",
"TKTT"
],
"type": "string"
},
"endorsementRestriction": {
"description": "Remarks provided to ensure common understanding between passenger and carrier when a fare is restricted as to time of travel, period of validity, voluntary rerouting, or where any other restricting condition(s) are applicable that are not otherwise clearly evident from other entries.",
"type": "string"
},
"fareBasis": {
"description": "A series of characters defining the entitlement of the passenger, based on the fare charged",
"minLength": 1,
"type": "string"
},
"fareCalculationArea": {
"description": "A repeatable field containing a string of data reflecting the fare construction applicable to the transaction and, when applicable, the breakdown for Passenger Facility Charges and U.S. Flight Segment Taxes.",
"items": {
"type": "string"
},
"type": "array"
},
"fareCalculationModeIndicator": {
"description": "A code identifying how the ticket was priced.",
"type": "string"
},
"fareCalculationPricingIndicator": {
"description": "The identifier reflecting the method of pricing for this transaction sent with the fare calculation of the document.",
"type": "string"
},
"internationalSaleIndicator": {
"description": "Used for domestic or international sales differentiation.",
"type": "boolean"
},
"primaryDocumentNumber": {
"description": "A unique document number, represented as 4-digit form number followed by a 6-digit serial number",
"pattern": "[0-9]{10}",
"type": "string"
}
},
"required": [
"primaryDocumentNumber",
"documentType",
"fareBasis",
"fareCalculationArea"
],
"type": "object"
},
"ticketNumber": {
"description": "A unique ticket number, represented as a 3-digit airline code followed by a 4-digit form number followed by a 6-digit serial number",
"pattern": "[0-9]{13}",
"type": "string"
}
},
"required": [
"passengerNameRecordCode",
"airlineCode",
"ticketNumber",
"dateOfIssue",
"passenger",
"ticketDocumentInfo",
"coupons",
"payments",
"prices",
"taxes",
"fees"
],
"type": "object"
},
"type": "array"
}
},
"title": "Alliance Partner Ticket Share",
"type": "object",
"x-vendia-acls": {
"TicketAcl": {
"type": "Ticket"
}
}
} | Apache-2.0 | en |
vendia/examples | b09dd4c91f21b278f98fdd500d0402c5f3703e12 | 2022-02-25T23:44:06 | demos/finserv-and-insurance/simple-loan-marketplace/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/demos/loans.schema.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Single Source of Loan Truth",
"properties": {
"Loan": {
"description": "Information about a Loan that was recently extended",
"items": {
"properties": {
"borrowerCreditScore": {
"description": "Credit score of borrower",
"type": "integer"
},
"loanIdentifier": {
"description": "Unique loan identifier",
"type": "string"
},
"numberOfUnits": {
"description": "Number of units in the property",
"type": "integer"
},
"originalInterestRate": {
"description": "Original loan interest rate",
"type": "number"
},
"originalLoanToValue": {
"description": "Original Loan to Value (LTV)",
"type": "number"
},
"originalUnpaidPrincipalBalance": {
"description": "Original loan balance",
"type": "number"
},
"originationDate": {
"description": "Date loan originated",
"format": "date",
"type": "string"
}
},
"required": [
"loanIdentifier",
"originationDate",
"originalInterestRate"
],
"type": "object"
},
"type": "array"
},
"LoanPerformance": {
"description": "Information about the performance of a Loan",
"items": {
"properties": {
"currentInterestRate": {
"description": "Current loan interest rate",
"type": "number"
},
"currentUnpaidPrincipalBalance": {
"description": "Current loan balance",
"type": "number"
},
"lastPaidInstallmentDate": {
"description": "Date of last loan payment",
"format": "date",
"type": "string"
},
"loanDelinquencyStatus": {
"description": "Current delinquency status of the loan",
"enum": [
"current",
"late",
"delinquent"
],
"type": "string"
},
"loanIdentifier": {
"description": "Unique loan identifier",
"type": "string"
},
"monthlyReportingPeriod": {
"description": "Reporting period for which this performance information applies",
"format": "date",
"type": "string"
},
"servicerId": {
"description": "Unique identifier for the loan Servicer",
"type": "string"
}
},
"required": [
"loanIdentifier",
"monthlyReportingPeriod",
"servicerId",
"lastPaidInstallmentDate"
],
"type": "object"
},
"type": "array"
}
},
"title": "Loan Marketplace",
"type": "object"
} | Apache-2.0 | en |
vendia/examples | 717a06fed77df758d47e0beaaaf6b778b68bfd9b | 2022-06-23T22:02:38 | demos/crm-sharing/postgres-to-salesforce/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"properties": {
"AccountContact": {
"items": {
"properties": {
"accountNumber": {
"description": "Account number",
"type": "string"
},
"contactId": {
"description": "Contact ID",
"type": "string"
},
"email": {
"description": "Email address",
"format": "email",
"type": "string"
},
"firstName": {
"description": "First name",
"type": "string"
},
"lastName": {
"description": "Last number",
"type": "string"
},
"phone": {
"description": "Phone number",
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Sharing Postgres data with Salesforce CRM",
"type": "object",
"x-vendia-acls": {
"AccountContactAcl": {
"type": "AccountContact"
}
},
"x-vendia-indexes": {
"AccountContactAccountNumberIndex": [
{
"property": "accountNumber",
"type": "AccountContact"
}
],
"AccountContactIdIndex": [
{
"property": "contactId",
"type": "AccountContact"
}
]
}
} | Apache-2.0 | en |
vendia/examples | 74e15656fab4013ea440e3f5919719e23b8a5918 | 2022-01-27T16:52:01 | workshops/food-and-beverage/optimized-distribution/uni_configuration/schema.json | 17 | 2024-05-28T01:08:23.552292Z | {
"$id": "https://vendia.net/schemas/solutions/vendia-share-workshop.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"description": "Universal Application that can be used by Suppliers and Distributors to transact with each other in real-time",
"properties": {
"Delivery": {
"description": "A delivery that fulfills one or more purchase orders",
"items": {
"properties": {
"actualDateTime": {
"format": "date-time",
"type": "string"
},
"expectedDateTime": {
"format": "date-time",
"type": "string"
},
"purchaseOrders": {
"items": {
"properties": {
"purchaseOrderId": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"enum": [
"scheduled",
"enroute",
"delivered"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"Product": {
"description": "A food product, made by a supplier",
"items": {
"properties": {
"category": {
"enum": [
"specialty",
"natural",
"conventional"
],
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"price": {
"type": "number"
},
"promotionalContent": {
"type": "string"
},
"sku": {
"type": "string"
},
"supplier": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"PurchaseOrder": {
"description": "A purchase order for a product, made by a distributor",
"items": {
"properties": {
"dateIssued": {
"format": "date",
"type": "string"
},
"quantity": {
"type": "string"
},
"sku": {
"type": "string"
},
"totalPrice": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Food Supply and Distribution Uni",
"type": "object"
} | Apache-2.0 | en |
criteria-labs/criteria-api-tools | 6c9d450add99016af62953f9b0f013dc7e6b2d36 | 2023-01-27T03:01:22 | packages/criteria-openapi/test/v3.1/mixed-dialects-external/schemas/person.json | 5 | 2024-05-27T07:31:21.067837Z | {
"$defs": {
"04-person": {
"$ref": "04-person.json"
},
"similar-person": {
"$ref": "similar-person.json"
}
},
"$id": "https://example.com/person.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"newRelative": {
"$ref": "#/$defs/similar-person"
},
"oldRelative": {
"$ref": "#/$defs/04-person"
},
"pet": {
"$ref": "pet.json"
}
},
"title": "person",
"type": "object"
} | MIT | en |
criteria-labs/criteria-api-tools | 77f5e7cd9aba044b4e5141f8782305a7fa6986af | 2023-01-23T07:24:30 | packages/criteria-json-schema/test/mixed-dialects/internal/schema.json | 5 | 2024-05-27T07:31:21.067837Z | {
"$defs": {
"04-person": {
"$id": "https://example.com/04-person.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"requiredString": {
"id": "#requiredString",
"minLength": 1,
"title": "requiredString",
"type": "string"
}
},
"properties": {
"first": {
"$ref": "#/definitions/requiredString"
},
"last": {
"$ref": "#requiredString"
}
},
"title": "person",
"type": "object"
},
"similar-person": {
"$defs": {
"requiredString": {
"$anchor": "requiredString",
"minLength": 1,
"title": "requiredString",
"type": "string"
}
},
"$id": "https://example.com/similar-person.json",
"properties": {
"first": {
"$ref": "#/$defs/requiredString"
},
"last": {
"$ref": "#requiredString"
}
},
"title": "person",
"type": "object"
}
},
"$id": "https://example.com/person.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"newRelative": {
"$ref": "#/$defs/similar-person"
},
"oldRelative": {
"$ref": "#/$defs/04-person"
}
},
"title": "person",
"type": "object"
} | MIT | en |
criteria-labs/criteria-api-tools | 77f5e7cd9aba044b4e5141f8782305a7fa6986af | 2023-01-23T07:24:30 | packages/criteria-json-schema/test/mixed-dialects/external/definitions/2020-12-person.json | 5 | 2024-05-27T07:31:21.067837Z | {
"$defs": {
"requiredString": {
"$anchor": "requiredString",
"minLength": 1,
"title": "requiredString",
"type": "string"
}
},
"$id": "https://example.com/2020-12-person.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"first": {
"$ref": "#/$defs/requiredString"
},
"last": {
"$ref": "#requiredString"
}
},
"title": "person",
"type": "object"
} | MIT | en |
criteria-labs/criteria-api-tools | 77f5e7cd9aba044b4e5141f8782305a7fa6986af | 2023-01-23T07:24:30 | packages/criteria-json-schema/test/mixed-dialects/external/schema.json | 5 | 2024-05-27T07:31:21.067837Z | {
"$id": "https://example.com/person.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"newRelative": {
"$ref": "2020-12-person.json"
},
"oldRelative": {
"$ref": "04-person.json"
}
},
"title": "person",
"type": "object"
} | MIT | en |
criteria-labs/criteria-api-tools | 9582b6473c26589ca4b6cb25d5c7eaed93d2bcb8 | 2023-11-21T12:37:55 | packages/criteria-json-schema/test/mixed-dialects/internal/schema.json | 5 | 2024-05-27T07:31:21.067837Z | {
"$defs": {
"04-person": {
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"requiredString": {
"id": "#requiredString",
"minLength": 1,
"title": "requiredString",
"type": "string"
}
},
"id": "https://example.com/04-person.json",
"properties": {
"first": {
"$ref": "#/definitions/requiredString"
},
"last": {
"$ref": "#requiredString"
}
},
"title": "person",
"type": "object"
},
"similar-person": {
"$defs": {
"requiredString": {
"$anchor": "requiredString",
"minLength": 1,
"title": "requiredString",
"type": "string"
}
},
"$id": "https://example.com/similar-person.json",
"properties": {
"first": {
"$ref": "#/$defs/requiredString"
},
"last": {
"$ref": "#requiredString"
}
},
"title": "person",
"type": "object"
}
},
"$id": "https://example.com/person.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"newRelative": {
"$ref": "#/$defs/similar-person"
},
"oldRelative": {
"$ref": "#/$defs/04-person"
}
},
"title": "person",
"type": "object"
} | MIT | en |