This library provides the definitions and reference implementation for valoscript, the valospace ECMAScript dialect.

This document is part of the library workspace @valos/script (of domain @valos/kernel) which has the description: `ValOS Script API, schema`

Valoscript extends ECMAScript 5 object model transparently for manipulating valospace resources. The valoscript interpreter creates events The class of all chronicle event log entries from all valospace resource modification side-effects and groups all such side effects into transactions. Valoscript retains ECMAScript 5 syntax and semantics.

§ The VScript valospace namespace of the library ontology of @valos/script

The 'VScript' namespace describes the @valos/sourcerer API.

§ @valos/script IRI prefixes

Prefix IRI
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs http://www.w3.org/2000/01/rdf-schema#
xsd http://www.w3.org/2001/XMLSchema#
owl http://www.w3.org/2002/07/owl#
dc http://purl.org/dc/elements/1.1/
VScript https://valospace.org/script/0#
VKernel https://valospace.org/kernel/0#
VState https://valospace.org/state/0#
VLog https://valospace.org/log/0#
VValk https://valospace.org/valk/0#

§ VScript fabric classes The class of classes which are defined by the ValOS kernel domain ontologies.

rdfs:subClassOf description

§ VScript fabric properties The class of properties which are defined by the ValOS kernel domain ontologies.

rdfs:domain rdfs:range

§ VScript valospace resource types The class of all valospace types. The instances of valospace types are called valospace resources and are the main valos ecosystem building block.Only valospace resources can appear as a subject in valospace resource and event triple graphs.

VRevdoc:brief rdfs:subClassOf

§ VScript valospace fields The class of all valospace resource field identifiers.Only the instances of this class can appear as the predicate in valospace triple graphs. All valospace fields have VState:Type or one of its sub-classes as their rdf:domain.

rdfs:domain rdfs:range rdf:type rdfs:subPropertyOf VState:coupledToField

§ VScript field resolvers The class of all resolver names. Resolvers are verbs which are used for resolving generated properties.

Comment rdf:type

§ VScript remaining vocabulary

rdf:type rdfs:subClassOf

§ VScript JSON-LD context term definitions

Term Definition @id @type @container
restriction
@base https://valospace.org/script/0#