diff --git a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/componentdefinition/ValidateSubcommand.java b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/componentdefinition/ValidateSubcommand.java index 31c4840..6dc51d6 100644 --- a/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/componentdefinition/ValidateSubcommand.java +++ b/src/main/java/gov/nist/secauto/oscal/tools/cli/core/commands/componentdefinition/ValidateSubcommand.java @@ -53,7 +53,7 @@ protected List getOscalXmlSchemas() throws IOException { List retval = new LinkedList<>(); retval.add( ObjectUtils.requireNonNull( - XmlUtil.getStreamSource(OscalBindingContext.class.getResource("/schema/xml/oscal-component_schema.xsd")))); + XmlUtil.getStreamSource(OscalBindingContext.class.getResource("/schema/xml/oscal-component-definition_schema.xsd")))); return CollectionUtil.unmodifiableList(retval); } @@ -61,6 +61,6 @@ protected List getOscalXmlSchemas() throws IOException { protected JSONObject getOscalJsonSchema() { return JsonSchemaContentValidator.toJsonObject( ObjectUtils.requireNonNull( - OscalBindingContext.class.getResourceAsStream("/schema/json/oscal-component_schema.json"))); + OscalBindingContext.class.getResourceAsStream("/schema/json/oscal-component-definition_schema.json"))); } }