Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Schema of Tables, Trees, and Diagrams #83

Open
2 tasks done
pogi7 opened this issue Jun 6, 2024 · 0 comments
Open
2 tasks done

Change Schema of Tables, Trees, and Diagrams #83

pogi7 opened this issue Jun 6, 2024 · 0 comments
Labels
feature New feature or request

Comments

@pogi7
Copy link
Member

pogi7 commented Jun 6, 2024

Checklist before submitting a feature request

  • I have reviewed CONTRIBUTING.md document
  • I have done a quick search on the issue tracker to check if the feature request is not redundant

Is your feature request related to a problem? If yes, describe the problem

I am annoyed that the schema for the tables, trees, and diagrams can not be standardized and added to AJV

Describe the desired feature

I want to move the first key in the object to an id parameter

Before:

{
  "objectives": {
    "name": "Objectives",
    "diagrams": {
      "all-rows": "objectives-diagram"
    },
    "columnNames": {
      "o1_id": "Objective 1 ID",
      "o1_name": "Objective 1 Name",
      "o2_id": "Objective 2 ID",
      "o2_name": "Objective 2 Name"
    },
    "queries": {
      "obj-query": "objectives.sparql"
    },
    "rowMapping": {
      "id": "obj-query",
      "name": "Objectives",
      "labelFormat": "Objective"
    }
  }
}

After:

{
  "name": "Objectives",
  "id": "objectives",
  "diagrams": {
    "all-rows": "objectives-diagram"
  },
  "columnNames": {
    "o1_id": "Objective 1 ID",
    "o1_name": "Objective 1 Name",
    "o2_id": "Objective 2 ID",
    "o2_name": "Objective 2 Name"
  },
  "queries": {
    "obj-query": "objectives.sparql"
  },
  "rowMapping": {
    "id": "obj-query",
    "name": "Objectives",
    "labelFormat": "Objective"
  }
}

Additional context

[Any additional context]

@pogi7 pogi7 added the feature New feature or request label Jun 6, 2024
@pogi7 pogi7 mentioned this issue Jun 6, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant