NAME

ICANN::RST::Spec - an object representing the RST test specifications.

VERSION

version 0.01

METHODS

new($file)

Constructor. $file is the YAML file.

schemaVersion()

Returns a string containing the schema version of the spec file.

version()

Returns a string containing the version of the spec file.

lastUpdated()

Returns a string containing the date the spec was last updated.

preamble()

Returns a ICANN::RST::Text object containing the preamble.

changelog()

Returns an array of ICANN::RST::ChangeLog objects.

contactName()

Returns a string containing the contact name.

contactOrg()

Returns a string containing the contact organisation.

contactEmail()

Returns a string containing the contact email.

plans()

Returns an array of ICANN::RST::Plan objects.

plan($id)

Returns the ICANN::RST::Plan object with the given ID.

suites()

Returns an array of ICANN::RST::Suite objects.

suite($id)

Returns the ICANN::RST::Suite object with the given ID.

resources()

Returns an array of ICANN::RST::Resource objects.

resource($id)

Returns the ICANN::RST::Resource object with the given ID.

cases()

Returns an array of ICANN::RST::Case objects.

case($id)

Returns the ICANN::RST::Case object with the given ID.

inputs()

Returns an array of ICANN::RST::Input objects.

input($id)

Returns the ICANN::RST::Input object with the given ID.

errors()

Returns an array of ICANN::RST::Error objects.

error($id)

providers()

Returns an array of ICANN::RST::Error objects.

provider($id)

Returns the ICANN::RST::DataProvider object with the given ID.

spec()

Returns a hashref of the specification data structure.

AUTHOR

Gavin Brown <gavin.brown@icann.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2025 by Internet Corporation for Assigned Names and Number (ICANN).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.