Validation
A description of the types/properties relevant to a
validation.json
.
Orcfax utilizes the following Schema.org types and properties in its Validation records. The description provided by Schema.org follows each; if Orcfax maintains a more nuanced understanding, an additional definition will be provided. If the term appears in its own definition, it will be replaced when possible with a [synonym] in order to aid understanding.
Schema.org Types
Type | Schema.org description | Orcfax description |
---|---|---|
CreativeWork | The most generic kind of creative work, including books, movies, photographs, software programs, etc. | A generic term to encompass a broad spectrum of creative works, including text, images, software programs, their outputs, etc. |
Event | An [entity] such as a school, NGO, corporation, club, etc. | |
MediaObject | An object such as an image, video, audio, or text object embedded in a web page or a downloadable dataset. | |
Observation | Used to specify observations about an entity at a particular time | Information pertaining to a subject resulting from monitoring. |
Organization | An [entity] such as a school, NGO, corporation, club, etc. | |
PostalAddress | The price asked for a given offer by the respective organization or person. | |
TextObject | A text file. The text can be unformatted or contain markup, html, etc. |
Schema.org Properties
Property | Type | Schema.org description | Orcfax definition |
---|---|---|---|
about | Event | The subject matter of the content. | |
additionalType | MediaObject | Used to add more specific types from external vocabularies when a schema.org equivalent is not available. | |
address | Organization | Physical address of the item. | The physical address of the entity which has executed the validation process. |
addressLocality | PostalAddress | The locality in which the street address is, and which is in the region. | |
addressRegion | PostalAddress | The region in which the locality is, and which is in the country. | |
comment | TextObject | Comments, typically from users. | Used to give users additional context regarding the record. |
contributor | MediaObject | A secondary contributor to the CreativeWork or Event . | The entity which has executed the validation process. |
description | CreativeWork, Event | A description of the item. | |
geo | PostalAddress | The geo coordinates of the place. | The geographical coordinates of the place where the validation process was executed. |
hasPart | CreativeWork | Indicates an item or CreativeWork that is part of this item, or CreativeWork. | |
identifier | MediaObject | Used to represent any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. | |
isBasedOn | MediaObject | A resource from which this work is derived or from which it is a modification or adaptation. | |
locationCreated | Organization | The location where the CreativeWork was created. | |
measurementMethod | Observation | A subproperty of measurementTechnique that can be used for specifying specific methods. | |
name | MediaObject, Organization | The name of the item. | |
recordedIn | Event | The CreativeWork that captured all or part of this Event . | |
sha256 | TextObject | The SHA-2 SHA256 hash of the content of the item | |
startDate | Event | The start date and time of the item. | |
text | CreativeWork | The textual content of this CreativeWork . | |
value | Observation | The value of a QuantitativeValue (including Observation ) or property value. | |
valueReference | Observation | A secondary value that provides additional information on the original value . |
Validation example
{
"@context": "https://schema.org",
"type": "MediaObject",
"identifier": "urn:orcfax:24912186-c418-4041-9abf-1193db67b9a4",
"isBasedOn": {
"@type": "MediaObject",
"name": "the raw information sent to an Orcfax validator by an Orcfax node",
"identifier": "urn:orcfax:node:95f1c11b-165a-4c4a-a798-933f4010f34a"
},
"contributor": {
"@type": "Organization",
"name": "AS14061 DigitalOcean, LLC",
"locationCreated": {
"address": {
"@type": "PostalAddress",
"addressLocality": "Frankfurt am Main",
"addressRegion": "Hesse, DE,",
"geo": "50.1155,8.6842"
}
}
},
"additionalType": [
{
"@type": "Event",
"description": "successful content signature generation for Orcfax node data",
"startDate": "2024-08-28T16:20:14Z",
"recordedIn": {
"@type": "CreativeWork",
"description": {
"@type": "TextObject",
"comment": "an Orcfax content signature is a sha256 digest of a node's 'collected timestamp', 'data-points' in-order and the 'node identifier' (uuid)",
"sha256": "19216554ba0c96266a11f2f049a2e7c8b2cf5c1435c47bce312f388e9259ae1f"
},
"hasPart": [
{
"@type": "CreativeWork",
"description": "collecting timestamp",
"text": "2024-08-28T16:19:06Z"
},
{
"@type": "CreativeWork",
"description": "data points for FACT-ADA",
"text": [
"[52742.220237, 38948471.832748, 13053671.722435, 10117734.147397, 85270.852632, 34999.655139]",
"[1371.059303, 1017216.660158, 344514.409081, 266936.098543, 2153.032776, 937.961447]"
]
},
{
"@type": "CreativeWork",
"description": "node identifier (uuid)",
"text": "95f1c11b-165a-4c4a-a798-933f4010f34a"
}
]
}
},
{
"@type": "Event",
"description": "average price is determined by dividing total volume of ADA by total volume of FACT",
"startDate": "2024-08-28T16:20:14Z",
"about": {
"@type": "Observation",
"measurementMethod": [
"volume/liquidity average sum(valueReference[1]) (ADA) divided by sum(valueReference[0]) (FACT)"
],
"value": 0.026216944,
"valueReference": [
"[52742.220237, 38948471.832748, 13053671.722435, 10117734.147397, 85270.852632, 34999.655139]",
"[1371.059303, 1017216.660158, 344514.409081, 266936.098543, 2153.032776, 937.961447]"
]
}
}
]
}