Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Feb 13, 2024
1 parent 1fc1020 commit 8348983
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 210 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

## Version History

### v5.2.0

- :rocket: Add basic support for Mart/Dest tags in schema

### v5.1.1

- :bug: Make Chat vars optional
Expand Down
55 changes: 55 additions & 0 deletions lib/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@
}
]
},
"marti": {
"$ref": "#/definitions/Marti"
},
"precisionlocation": {
"$ref": "#/definitions/PrecisionLocation"
},
Expand Down Expand Up @@ -237,6 +240,58 @@
},
"type": "object"
},
"Marti": {
"properties": {
"_attributes": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"dest": {
"anyOf": [
{
"$ref": "#/definitions/MartiDest"
},
{
"items": {
"$ref": "#/definitions/MartiDest"
},
"type": "array"
}
]
}
},
"required": [
"dest"
],
"type": "object"
},
"MartiDest": {
"properties": {
"_attributes": {
"properties": {
"callsign": {
"type": "string"
},
"mission": {
"type": "string"
},
"uid": {
"type": "string"
}
},
"required": [
"uid"
],
"type": "object"
}
},
"required": [
"_attributes"
],
"type": "object"
},
"Point": {
"properties": {
"_attributes": {
Expand Down
17 changes: 17 additions & 0 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,22 @@ export interface Contact {
}
}

export interface Marti {
_attributes?: {
[k: string]: string | undefined;
}

dest: MartiDest | MartiDest[]
}

export interface MartiDest {
_attributes: {
uid: string;
mission?: string;
callsign?: string;
}
}

export interface Remarks {
_attributes?: {
source?: string;
Expand Down Expand Up @@ -132,6 +148,7 @@ export interface Detail {
usericon?: UserIcon;
track?: Track;
takv?: TakVersion;
marti?: Marti;
TakControl?: {
TakServerVersionInfo?: GenericAttributes
};
Expand Down
Loading

0 comments on commit 8348983

Please sign in to comment.