Skip to content

Term: api

API gravity is a measure of how heavy or light a petroleum liquid is compared to water (source: https://en.wikipedia.org/wiki/API_gravity) (e.g. 31.1 API)

URI: MIXS:0000157

Properties

  • Range: String

  • Required: True

  • Structured pattern: ^{scientific_float}( *- *{scientific_float})? *{text}$

  • Regex pattern: ^[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?( *- *[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)? *([^\s-]{1,2}|[^\s-]+.+[^\s-]+)$

Examples

Value
31.1 API

Identifier and Mapping Information

Annotations

property value
Preferred_unit degrees API

Schema Source

  • from schema: https://w3id.org/mixs-6-2-rc

LinkML Source

name: api
annotations:
  Preferred_unit:
    tag: Preferred_unit
    value: degrees API
description: 'API gravity is a measure of how heavy or light a petroleum liquid is
  compared to water (source: https://en.wikipedia.org/wiki/API_gravity) (e.g. 31.1   API)'
title: API gravity
examples:
- value: 31.1 API
from_schema: https://w3id.org/mixs-6-2-rc
slot_uri: MIXS:0000157
multivalued: false
alias: api
domain_of:
- HydrocarbonResourcesCores
- HydrocarbonResourcesFluidsSwabs
range: string
required: true
pattern: ^[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?( *- *[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)?
  *([^\s-]{1,2}|[^\s-]+.+[^\s-]+)$
structured_pattern:
  syntax: ^{scientific_float}( *- *{scientific_float})? *{text}$
  interpolated: true
  partial_match: true