Skip to main content

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

TypeSchema.org descriptionOrcfax description
CreativeWorkThe 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.
EventAn [entity] such as a school, NGO, corporation, club, etc.
MediaObjectAn object such as an image, video, audio, or text object embedded in a web page or a downloadable dataset.
ObservationUsed to specify observations about an entity at a particular timeInformation pertaining to a subject resulting from monitoring.
OrganizationAn [entity] such as a school, NGO, corporation, club, etc.
PostalAddressThe price asked for a given offer by the respective organization or person.
TextObjectA text file. The text can be unformatted or contain markup, html, etc.

Schema.org Properties

PropertyTypeSchema.org descriptionOrcfax definition
aboutEventThe subject matter of the content.
additionalTypeMediaObjectUsed to add more specific types from external vocabularies when a schema.org equivalent is not available.
addressOrganizationPhysical address of the item.The physical address of the entity which has executed the validation process.
addressLocalityPostalAddressThe locality in which the street address is, and which is in the region.
addressRegionPostalAddressThe region in which the locality is, and which is in the country.
commentTextObjectComments, typically from users.Used to give users additional context regarding the record.
contributorMediaObjectA secondary contributor to the CreativeWork or Event.The entity which has executed the validation process.
descriptionCreativeWork, EventA description of the item.
geoPostalAddressThe geo coordinates of the place.The geographical coordinates of the place where the validation process was executed.
hasPartCreativeWorkIndicates an item or CreativeWork that is part of this item, or CreativeWork.
identifierMediaObjectUsed to represent any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc.
isBasedOnMediaObjectA resource from which this work is derived or from which it is a modification or adaptation.
locationCreatedOrganizationThe location where the CreativeWork was created.
measurementMethodObservationA subproperty of measurementTechnique that can be used for specifying specific methods.
nameMediaObject, OrganizationThe name of the item.
recordedInEventThe CreativeWork that captured all or part of this Event.
sha256TextObjectThe SHA-2 SHA256 hash of the content of the item
startDateEventThe start date and time of the item.
textCreativeWorkThe textual content of this CreativeWork.
valueObservationThe value of a QuantitativeValue (including Observation) or property value.
valueReferenceObservationA 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]"
]
}
}
]
}
Download