(schema, rootSchemaId)
| 88 | } |
| 89 | |
| 90 | function getSchemaId (schema, rootSchemaId) { |
| 91 | if (schema.$id && schema.$id.charAt(0) !== '#') { |
| 92 | return schema.$id |
| 93 | } |
| 94 | return rootSchemaId |
| 95 | } |
| 96 | |
| 97 | function getSafeSchemaRef (context, location) { |
| 98 | let schemaRef = location.getSchemaRef() || '' |
no outgoing calls
no test coverage detected
searching dependent graphs…