Skip to content

Commit

Permalink
Update StructuredToken id documentation, and update json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Jul 24, 2024
1 parent f4f25a1 commit f5d1de7
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "APITreeNode.json",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "APITreeNodeId.json",
"type": "string"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "APITreeNodeProperties.json",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "APITreeNodeTags.json",
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "CodeDiagnostic.json",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "CodeDiagnosticLevel.json",
"type": "number",
"enum": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "CodeFile.json",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredToken.json",
"type": "object",
"properties": {
"Id": {
"$ref": "StructuredTokenId.json",
"description": "Token Id. Previously known as DefinitionId."
"description": "Token Id. Previously known as DefinitionId. Also the id used to place APIView comments. Needs to be deterministic"
},
"Kind": {
"$ref": "StructuredTokenKind.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredTokenId.json",
"type": "string"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredTokenKind.json",
"type": "number",
"enum": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredTokenProperties.json",
"type": "object",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredTokenRenderClasses.json",
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "StructuredTokenTags.json",
"anyOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ model APITreeNode {
}

model StructuredToken {
/** Token Id. Previously known as DefinitionId. */
/** Token Id. Previously known as DefinitionId. Also the id used to place APIView comments. Needs to be deterministic */
Id: StructuredTokenId;

/** Represents the type of a structured token*/
Expand Down

0 comments on commit f5d1de7

Please sign in to comment.