This is the namespace that contains specific NVDB schemas and validations.
- Source:
- mapspace-nvdb/schemas/validation/bu.nvdb.schemas.validation.jsdoc
Methods
-
<static> validateChangeset(data, valCxt)
-
Validates a JSON object with an NVDB changeset against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateChangeset#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataMapspace.nvdb.ChangeSetObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/changeset.js
Returns:
- Type
- boolean
-
<static> validateDelvisegenskap(data, valCxt)
-
Validates a JSON object with an NVDB Delvisegenskap against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateDelvisegenskap#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/delvisegenskap.js
Returns:
- Type
- boolean
-
<static> validateDelviskorrvegobjekt(data, valCxt)
-
Validates a JSON object with an NVDB Delviskorrvegobjekt against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateDelviskorrvegobjekt#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/delviskorrvegobjekt.js
Returns:
- Type
- boolean
-
<static> validateDelvisoppvegnett(data, valCxt)
-
Validates a JSON object with an NVDB Delvisoppvegnett against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateDelvisoppvegnett#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/delvisoppvegnett.js
Returns:
- Type
- boolean
-
<static> validateDelvisoppvegobjekt(data, valCxt)
-
Validates a JSON object with an NVDB Delvisoppvegobjekt against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateDelvisoppvegobjekt#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/delvisoppvegobjekt.js
Returns:
- Type
- boolean
-
<static> validateDelvisstedfesting(data, valCxt)
-
Validates a JSON object with an NVDB Delvisstedfesting against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateDelvisstedfesting#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/delvisstedfesting.js
Returns:
- Type
- boolean
-
<static> validateEgenskap(data, valCxt)
-
Validates a JSON object with an NVDB Egenskap against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateEgenskap#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/egenskap.js.js
Returns:
- Type
- boolean
-
<static> validateKorrigervegobjekt(data, valCxt)
-
Validates a JSON object with an NVDB Korrigervegobjekt against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateKorrigervegobjekt#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/korrigervegobjekt.js
Returns:
- Type
- boolean
-
<static> validateNyttvegobjekt(data, valCxt)
-
Validates a JSON object with an NVDB Nyttvegobjekt against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateNyttvegobjekt#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/nyttvegobjekt.js
Returns:
- Type
- boolean
-
<static> validateOppdatervegnett(data, valCxt)
-
Validates a JSON object with an NVDB Oppdatervegnett against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateOppdatervegnett#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/oppdatervegnett.js
Returns:
- Type
- boolean
-
<static> validateOppdatervegobjekt(data, valCxt)
-
Validates a JSON object with an NVDB Oppdatervegobjekt against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateOppdatervegobjekt#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/oppdatervegobjekt.js
Returns:
- Type
- boolean
-
<static> validateStedfesting(data, valCxt)
-
Validates a JSON object with an NVDB Stedfesting against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateStedfesting#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/stedfesting.js
Returns:
- Type
- boolean
-
<static> validateVeglenke(data, valCxt)
-
Validates a JSON object with an NVDB Veglenke against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateVeglenke#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/veglenke.js
Returns:
- Type
- boolean
-
<static> validateVegnett(data, valCxt)
-
Validates a JSON object with an NVDB Vegnett against a validation schema. Returns true if the validation is passed. In this case, the variable
Mapspace.nvdb.schemas.validation.validateVegnett#errorscontains null. If returns false then the variable contains an array ofMapspace.SchemaValidationErrorthat describe the first errors found.Parameters:
Name Type Argument Description dataObject The JSON object to validate.
valCxtObject <nullable>
The context object, if any.
- Source:
- mapspace-nvdb/schemas/validation/vegnett.js
Returns:
- Type
- boolean