AKSW / cube-validator

2 stars 0 forks source link

example output #2

Open k00ni opened 7 years ago

k00ni commented 7 years ago

Output put to a file which is located in the same folder as the cube to check:

{
  "valid": [
      {
        "payload" {

       }
      }
  ],
  "warnings": [
    {
       "message": "...",
       "payload": {...}
    } 
  ],
  "error": {
    {
      "name": "...",
      "message": "...",
      "errorcode": "...",
      "type": "..."
    }
  }
}
k00ni commented 7 years ago

Can you please paste an example output?

Can it be closed aftwards?

GeorgesAlkhouri commented 7 years ago

The validator returns a ConstraintResultsSummary object with the following properties:

ConstraintResultsSummary {
  valid: [ ConstraintResult { type: 0, message:  {...}  }, ConstraintResult { type: 2, message:  {...}  }],
  warning: [...],
  error: [ ConstraintResult { type: 2, message:  {...}  } ] 
}