download
raw
495 Bytes
'use strict'
class Location {
constructor (schema, schemaId, jsonPointer = '#') {
this.schema = schema
this.schemaId = schemaId
this.jsonPointer = jsonPointer
}
getPropertyLocation (propertyName) {
const propertyLocation = new Location(
this.schema[propertyName],
this.schemaId,
this.jsonPointer + '/' + propertyName
)
return propertyLocation
}
getSchemaRef () {
return this.schemaId + this.jsonPointer
}
}
module.exports = Location

Xet Storage Details

Size:
495 Bytes
·
Xet hash:
3a8a893ee43886df5aa27ecc445d42b65abc67fb1c5cdbdd4b2390bdcc845c2d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.