Skip to content

Commit

Permalink
Commit of initial schema and sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmapleburl-au committed Apr 11, 2024
1 parent be1c12b commit 93889ec
Show file tree
Hide file tree
Showing 17 changed files with 1,525 additions and 0 deletions.
200 changes: 200 additions & 0 deletions akm/data/feature_of_interest/feature_of_interest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
[
{
"id": "Vehicle",
"name": "Vehicle",
"definition": "A self-powered means of conveyance or transport that rides on wheels",
"entityTypeID": "FeatureOfInterest",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VehicleComponent"
}
},
{
"id": "Cabin",
"name": "Cabin",
"definition": "The area of a vehicle designated for occupants",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "Vehicle"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VehicleComponent"
}
},
{
"id": "HVAC",
"name": "Heating, Ventilation, and Air Condition (HVAC)",
"definition": "The system that moves, heats, cools, filters, or otherwise regulates air throughout the vehicle cabin",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "Vehicle"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "ComfortComponent"
}
},
{
"id": "HVACStation.Row1.Driver",
"name": "HVAC Station serving row 1 driver side",
"definition": "A vehicle part that regulates the HVAC for the first row driver side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row1.Passenger",
"name": "HVAC Station serving row 1 passenger side",
"definition": "A vehicle part that regulates the HVAC for the first row passenger side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row2.Driver",
"name": "HVAC Station serving row 2 driver side",
"definition": "A vehicle part that regulates the HVAC for the second row driver side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row2.Passenger",
"name": "HVAC Station serving row 2 passenger side",
"definition": "A vehicle part that regulates the HVAC for the second row passenger side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row3.Driver",
"name": "HVAC Station serving row 3 driver side",
"definition": "A vehicle part that regulates the HVAC for the third row driver side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row3.Passenger",
"name": "HVAC Station serving row 3 passenger side",
"definition": "A vehicle part that regulates the HVAC for the third row passenger side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row4.Driver",
"name": "HVAC Station serving row 4 driver side",
"definition": "A vehicle part that regulates the HVAC for the fourth row driver side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "HVACStation.Row4.Passenger",
"name": "HVAC Station serving row 4 passenger side",
"definition": "A vehicle part that regulates the HVAC for the fourth row passenger side",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "HVACStation"
}
},
{
"id": "AirConditioning",
"name": "Air Conditioning",
"definition": "Air Conditioning",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "ComfortComponent"
}
},
{
"id": "AirRecirculation",
"name": "Air Recirculation",
"definition": "Air Recirculation",
"entityTypeID": "FeatureOfInterest",
"partOf": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVAC"
},
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "ComfortComponent"
}
},
{
"id": "Defroster.Front",
"name": "Front defroster",
"definition": "Front windshield defroster",
"entityTypeID": "FeatureOfInterest",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VisionComponent"
}
},
{
"id": "Defroster.Rear",
"name": "Rear defroster",
"definition": "Rear windshield defroster",
"entityTypeID": "FeatureOfInterest",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VisionComponent"
}
}
]
38 changes: 38 additions & 0 deletions akm/data/feature_of_interest/feature_of_interest_class.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"id": "VehicleComponent",
"name": "Vehicle Component",
"definition": "A vehicle or an object that makes up a part of a vehicle",
"entityTypeID": "FeatureOfInterestClass"
},
{
"id": "ComfortComponent",
"name": "Comfort Component",
"definition": "A vehicle component that promotes a state of physical ease or mitigates physical pain and irritation",
"entityTypeID": "FeatureOfInterestClass",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VehicleComponent"
}
},
{
"id": "VisionComponent",
"name": "Vision Component",
"definition": "A vehicle component that affects what an occupant can see",
"entityTypeID": "FeatureOfInterestClass",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "VehicleComponent"
}
},
{
"id": "HVACStation",
"name": "HVAC Station",
"definition": "A Vehicle Component that provides HVAC funtions to a region of a Vehicle",
"entityTypeID": "FeatureOfInterestClass",
"isA": {
"referentEntityTypeID": "FeatureOfInterestClass",
"referentID": "ComfortComponent"
}
}
]
67 changes: 67 additions & 0 deletions akm/data/metric/metrics.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
[
{
"id": "AirConditioning.IsActive",
"name": "Air Conditioning Is Active",
"definition": "A boolean variable indicating that the Air Conditioning Is Active",
"entityTypeID": "Metric",
"property": {
"referentEntityTypeID": "Property",
"referentID": "IsActive"
},
"featureOfInterest": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "AirConditioning"
}
},
{
"id": "AirRecirculation.IsActive",
"name": "Air Recirculation Is Active",
"definition": "A boolean variable indicating that the Air Recirculation Is Active",
"entityTypeID": "Metric",
"property": {
"referentEntityTypeID": "Property",
"referentID": "IsActive"
},
"featureOfInterest": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "AirRecirculation"
}
},
{
"id": "Defroster.Front.IsActive",
"name": "Front Defroster Is Active",
"definition": "A boolean variable indicating that the Front Defroster Is Active",
"entityTypeID": "Metric",
"property": {
"referentEntityTypeID": "Property",
"referentID": "IsActive"
},
"featureOfInterest": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "Defroster.Front"
}
},
{
"id": "HVACStation.Row1.Driver.AirTemperature",
"name": " Air Temperature for the HVAC Station serving row 1 driver",
"definition": " Air Temperature for the HVAC Station serving row 1 driver",
"entityTypeID": "Metric",
"property": {
"referentEntityTypeID": "Property",
"referentID": "AmbientAirTemperature"
},
"featureOfInterest": {
"referentEntityTypeID": "FeatureOfInterest",
"referentID": "HVACStation.Row1.Driver"
},
"representations": [
{
"entityTypeID": "Representation",
"schema": "VehicleSignalSpecification",
"id": "Vehicle.Cabin.HVACStation.Row1.Driver.Temperature",
"dataType": "float",
"unit": "degree_celsius"
}
]
}
]
54 changes: 54 additions & 0 deletions akm/data/property/properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[
{
"id": "AmbientAirTemperature",
"name": "Ambient Air Temperature",
"definition": "The temperature of the air in a site or spatial region",
"entityTypeID": "DataProperty",
"dataType": {
"referentEntityTypeID": "DataType",
"referentID": "string"
},
"defaultUnit": {
"referentEntityTypeID": "Unit",
"referentID": "degree_celsius"
}
},
{
"id": "VerticalDirection",
"name": "Vertical Direction",
"definition": "The course which something moves from up to down",
"entityTypeID": "ObjectProperty",
"values": [
"CENTER",
"DOWN",
"NEUTRAL",
"UP"
]
},
{
"id": "FanSpeedPercent",
"name": "Fan Speed Percent",
"definition": "The rotational frequency of a fan blade expressed as percent of maximum",
"entityTypeID": "DataProperty",
"dataType": {
"referentEntityTypeID": "uint8",
"referentID": "percent"
},
"defaultUnit": {
"referentEntityTypeID": "Unit",
"referentID": "percent"
},
"min": 0,
"max": 100
},
{
"id": "IsActive",
"name": "Is Active",
"definition": "A boolean variable indicating that the subject is currently performing its fundamental action or activity",
"entityTypeID": "DataProperty",
"dataType": {
"referentEntityTypeID": "DataType",
"referentID": "boolean"
}
}
]
Loading

0 comments on commit 93889ec

Please sign in to comment.