Skip to content

feature/SOF 7596 #328

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

Open
wants to merge 37 commits into
base: dev
Choose a base branch
from
Open

feature/SOF 7596 #328

wants to merge 37 commits into from

Conversation

VsevolodX
Copy link
Member

  • update: add materials_category schemas
  • update: add reusable material schemas
  • chore: generate dist
  • chore: generate src py

"items": {
"type": "integer"
},
"minItems": 3,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reused, here and below

],
"elements": [
{
"id": 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be starting from 0

@@ -0,0 +1,20 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we place this under schema/material/reusable?

{
"$id": "materials-category/defects/enums",
"$schema": "http://json-schema.org/draft-07/schema#",
"atomPlacementMethod": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need a title to be able to use these in the Python runtime?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need to have separate enums for each

"shape"
],
"properties": {
"shape": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in a separate file - spatial_condition or something like that

"slab_configuration"
],
"properties": {
"phase_1_configuration": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be properly formatted

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make sure to have a JSON linter to assert all this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants