-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from parkingdata/3.0
3.0
- Loading branch information
Showing
109 changed files
with
1,995 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
title: ReferencedCodeListEntry | ||
type: object | ||
description: Class providing structure to support reference to an entry in a previously defined user-defined code list. | ||
properties: | ||
codeListEntryId: | ||
$ref: ../common/Reference.yaml | ||
codeListId: | ||
$ref: ../common/VersionedReference.yaml | ||
entryDefinedValue: | ||
type: string | ||
description: free-text defined text (name) for the code list entry being referenced | ||
required: | ||
- entryDefinedValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
title: UserDefinedCodeList | ||
type: object | ||
description: Class providing structure to support a user-defined code list. | ||
properties: | ||
creator: | ||
$ref: ../common/VersionedReference.yaml | ||
includeNilReasonType: | ||
type: string | ||
description: 'Boolean: [TRUE] indicates the NilReasonType list shall be included in this user defined code list.' | ||
locator: | ||
$ref: ../common/Url.yaml | ||
userDefinedCodeListEntries: | ||
type: array | ||
minItems: 1 | ||
description: User defined code list entries | ||
items: | ||
$ref: ./UserDefinedCodeListEntry.yaml | ||
required: | ||
- creator | ||
- includeNilReasonType | ||
- locator | ||
- userDefinedCodeListEntries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
title: UserDefinedCodeListEntry | ||
type: object | ||
description: Class providing structure to support a specific entry within a user-defined code list. | ||
properties: | ||
definedValue: | ||
type: string | ||
description: free-text defined text (name) for the code list entry being referenced | ||
entryDescription: | ||
type: string | ||
description: free-text description (explanation) for the code list entry being referenced | ||
entryIndex: | ||
type: integer | ||
description: index number (integer) for the code list entry being referenced | ||
required: | ||
- definedValue | ||
- entryIndex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
title: AmountInCurrency | ||
type: object | ||
description: A class supporting the definition of a unit of currency in a defined currency. | ||
properties: | ||
currencyType: | ||
$ref: ./CurrencyCode.yaml | ||
currencyValue: | ||
type: number | ||
description: The amount of currency specified in the given currency code type. | ||
format: float | ||
required: | ||
- currencyType | ||
- currencyValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: Ampere | ||
type: number | ||
description: Current |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: SafetyStandardClassification | ||
type: object | ||
properties: | ||
securityFeature: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
securityLevel: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
description: Use this class to classification type/level for security schemes for a place |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
title: Units | ||
type: number | ||
description: 'Amount in units,which are specified by unitTypeEnum.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: Volt | ||
type: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: Watt | ||
type: number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: UserGroup | ||
type: object | ||
description: Class providing references to a specific user group with reference to enumerations available in the UserGroupEnum enumerated list. | ||
properties: | ||
userType: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
required: | ||
- userType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: UserQualification | ||
type: object | ||
description: Class supporting the definition of user group characteristics | ||
properties: | ||
userGroup: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
required: | ||
- userGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: VehicleLoad | ||
type: object | ||
description: Class defining load types carried by vehicles | ||
properties: | ||
loadType: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
required: | ||
- loadType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
title: VehicleType | ||
type: object | ||
description: Class supporting the definition of user group characteristics | ||
properties: | ||
vehicleType: | ||
$ref: ../code_lists/ReferencedCodeListEntry.yaml | ||
required: | ||
- vehicleType |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
title: Connector | ||
type: object | ||
description: Parameters and description of an interface that is available at the given electric charging point to connect vehicles | ||
properties: | ||
chargingMode: | ||
$ref: ../enums/ChargingModeEnum.yaml | ||
connectorFormat: | ||
$ref: ../enums/ConnectorFormatTypeEnum.yaml | ||
connectorType: | ||
$ref: ../enums/ConnectorTypeEnum.yaml | ||
countryOfDomesticSocket: | ||
type: array | ||
description: Countries for which the domestic socket is applicable. Only needed if explicit type of a domestic socket is not specified. | ||
items: | ||
$ref: ../common/CountryCode.yaml | ||
maximumCurrent: | ||
$ref: ../common/Ampere.yaml | ||
maxPowerAtSocket: | ||
$ref: ../common/Watt.yaml | ||
otherConnector: | ||
type: string | ||
description: Some other connector / charging interface | ||
voltage: | ||
$ref: ../common/Volt.yaml | ||
required: | ||
- connectorType | ||
- maxPowerAtSocket |
10 changes: 10 additions & 0 deletions
10
api/models/energy_infrastructure/ElectricChargingEquipment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
title: ElectricChargingEquipment | ||
description: A specialisation to the SupplementalFacility class adding an ElectricChargingPoint. | ||
allOf: | ||
- $ref: ../place/hierarchy/SupplementalFacility.yaml | ||
- type: object | ||
properties: | ||
electricChargingPoint: | ||
$ref: ./ElectricChargingPoint.yaml | ||
required: | ||
- electricChargingPoint |
37 changes: 37 additions & 0 deletions
37
api/models/energy_infrastructure/ElectricChargingPoint.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
title: ElectricChargingPoint | ||
description: A charging point for electric vehicles (EV). | ||
allOf: | ||
- type: object | ||
properties: | ||
availableChargingPower: | ||
type: array | ||
description: Possible degrees of charging power in Watts. | ||
items: | ||
$ref: ../common/Watt.yaml | ||
externalIdentifier: | ||
type: string | ||
description: A unique string to identify the charging point. | ||
usageType: | ||
type: array | ||
description: Usage type of the electric charging point. | ||
items: | ||
$ref: ../enums/ChargingPointUsageTypeEnum.yaml | ||
vehicleToGridCommunicationType: | ||
type: array | ||
description: Type of vehicle to grid communication used | ||
items: | ||
$ref: ../enums/VehicleToGridCommunicationTypeEnum.yaml | ||
availableVoltage: | ||
type: array | ||
description: Possible degrees of voltage | ||
items: | ||
$ref: ../common/Volt.yaml | ||
connectors: | ||
type: array | ||
minItems: 1 | ||
description: Specify the connector(s). | ||
items: | ||
$ref: ./Connector.yaml | ||
required: | ||
- connectors | ||
- $ref: ./RefillPoint.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
title: RefillPoint | ||
type: object | ||
description: Technical infrastructure at a specific location that facilitates an energy refilling process being connected to max. one vehicle at a time | ||
properties: | ||
authenticationAndIdentificationMethods: | ||
type: array | ||
description: Information on what methods of identification and/or authentication are accepted | ||
items: | ||
$ref: ../enums/AuthenticationAndIdentificationEnum.yaml | ||
currencyOverride: | ||
type: array | ||
description: Information on which currency/currencies can be used to pay | ||
items: | ||
$ref: ../common/CurrencyCode.yaml | ||
deliveryUnit: | ||
$ref: ../enums/DeliveryUnitEnum.yaml | ||
maximumDeliveryAmount: | ||
$ref: ../common/Units.yaml | ||
minimumDeliveryAmount: | ||
$ref: ../common/Units.yaml | ||
modelType: | ||
$ref: ../common/MultilingualString.yaml | ||
refillPointIndex: | ||
type: integer | ||
description: An index to link this element between the static and dynamic publications. | ||
reservability: | ||
$ref: ../enums/ReservationTypeEnum.yaml | ||
serviceType: | ||
type: array | ||
description: Information on different service types for the fuelling/charging and payment process. | ||
items: | ||
$ref: ../enums/ServiceTypeEnum.yaml | ||
userInterfaceLanguage: | ||
type: array | ||
description: 'Languages, in which a user interface is available, if any' | ||
items: | ||
$ref: ../common/LanguageCode.yaml | ||
required: | ||
- refillPointIndex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
type: string | ||
title: AddressLineTypeEnum | ||
enum: | ||
- apartment | ||
- building | ||
- districtTerritory | ||
- floor | ||
- poBox | ||
- region | ||
- street | ||
- town | ||
- unit | ||
description: |- | ||
A table of types of address lines | ||
* `apartment`: Element indicating a discrete element of a building forming the address | ||
* `building`: Element identifying the number or name and type of the edifice or construction relevant for the address [derived from ISO19160-4] | ||
* `districtTerritory`: Element specifying the geographic or administrative area of the country for the address [Source: 19160-4] | ||
* `floor`: Element indicating the floor or level on which a delivery point is located in a multi-storey building [Source:ISO19160-4] | ||
* `poBox`: A postal delivery location identifier, not necessarily a physical location. | ||
* `region`: Element indicating the name of the area within or adjacent to the town in which delivery address is. | ||
* `street`: Element indicating road or street identifier or name | ||
* `town`: Element indicating the name of the populated place in which a delivery point is located, or near to or via which the delivery point is accessed. [Source: ISO19160-4] | ||
* `unit`: An element representing a section of a building or organisation.Free-text description of the condition that leads to a surcharge beingapplied |
Oops, something went wrong.